Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp561243ybv; Sat, 22 Feb 2020 09:20:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzqLqJAz+VHuH8aBXTpxL4n7s6v3r/83HqWsdvaE5cCrzwCJi2j+tLF6gLFZj5bvymowA5p X-Received: by 2002:a05:6808:643:: with SMTP id z3mr6741076oih.19.1582392019847; Sat, 22 Feb 2020 09:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582392019; cv=none; d=google.com; s=arc-20160816; b=EjPgUsr+FJY06a6YekJhLvV20jvjTzr2njHnlcqoyf3YGP0/bL5xBWdXKv4WzwVJ/V iGElH4aytIFtxGoiowJc+dcBRpDaHVtnTyCvAiO0wiuWsGqeYA2Begbzd2DwA3azxNQn dNcoIlDinJwro9RqrXjxqfwu2stct4cSps72DQIO8WIFkXNVAKK5CViN5J+dxlEgclxe eDpC5JjxrXRUEYAk/3imlVZvSy3m1w0x2swiBuKRYGpLE+NgZZ5a9kpyfBcAWLLXWR7H CSioOgBdRtjMC+qWKDPXHCBezQCVkugyKRi2Q/TXQROwkIiLpdjARcKjaG6bpIfiW1W3 pVzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=pBlnEnGsMstGVyIAKqUSLHLBYoQgpr7wBNrwAms26Yo=; b=x32k0008YPRyHTuWpTm2WH+Yt6iYUGhQaBoKXdClHF1+4RwQF1JMiLQHwfGrRB2BgT Yz/HroepFWF+5e20hHOrq3XVegS8LubeZ4aV0TsvahVzyNw16BVq+zU1aUBrdM4hv6ms OhgooYRU78SroG4UqJ1L2yXZNceHhCBful3l7daXp/0T7Fu+DBSL9jCLtMPcVD6m/LIX 0ynHAcm7iBq14zvGxjaisRugc9nenFNpYT/JWu+UMTcj7IlDk7+mqRdl81uQUEyBPwgY bZYpeR3iSGS40iGJva50G8EZrC1viCiCQxIuFyK185I1n153F5AbEAbEO8woc3uAT8d2 2nJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N1umw+df; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si3623364otp.17.2020.02.22.09.20.07; Sat, 22 Feb 2020 09:20:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N1umw+df; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726853AbgBVRUB (ORCPT + 99 others); Sat, 22 Feb 2020 12:20:01 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34447 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbgBVRUB (ORCPT ); Sat, 22 Feb 2020 12:20:01 -0500 Received: by mail-pf1-f196.google.com with SMTP id i6so3001221pfc.1; Sat, 22 Feb 2020 09:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pBlnEnGsMstGVyIAKqUSLHLBYoQgpr7wBNrwAms26Yo=; b=N1umw+dflj+4ygktxCh4x4Xar6LUvIUmf87d4s89h/nqrxANA7zQDFBY8qnXkOrEyx CQXxj4ALPcj9n2jU4lqCLhSdIaabPtBMeOrc4ROQKyQz45q+eoMd6ZGd86Jc1Y3bKEbM ofQ6l0SsWVo8pvRkgKXPKjEA2O5VFuCojotM/dlJkIoLJtkN2EEyR/qFVoizEXpolbpP crUwRoOWuqASC2bDRyLUELkObvduTrGL36P8kvwhyVR17d9N2fW+hTJRk/g4SX1xGN0/ oVz2HIGXviL3O0M1Bvn3V8j4wkaftP7mhIXa1xUKMKqlA9gJ2S9gpIbQBpNGAac/I6k7 3bMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pBlnEnGsMstGVyIAKqUSLHLBYoQgpr7wBNrwAms26Yo=; b=mdc2stm4Od63J3/euoZ3FX7bFuAb3lNAUnxgcp5R7nTczzIBO9vEyJ5dVA5Oh1nZgT bUqZese5simL+5qSz5vJA2I/mP8/d/dkAVi30yBQgzpIP76g2Bj3KqKE3NblVkyTbfPW BANiie+FKdFSX8xlnxV2JgGsTTJY/uHaKGjqLN0jIK22+lta3u1I/5cxZKBzB05c4lJy WuqpdPpvllsKwAOKBcFi8462GfChRz8DjcaQWuIoQZdRbq6X+FMWJojw6vHQ+hB+C+pW e8eh+/0QuKK5PkHtq/qgs87NoApxphAYEbIBqDjICvyTeE7d1BPY1x0ASBOaTpaqqm21 VAWQ== X-Gm-Message-State: APjAAAVU23T17HkWk5BbAEY5kUQMvYX/TqxguLkRMgt4HfA6LlBCN0A+ P3bAgxnme9KEYxEIZRMacR4= X-Received: by 2002:a63:da49:: with SMTP id l9mr44453319pgj.125.1582392000256; Sat, 22 Feb 2020 09:20:00 -0800 (PST) Received: from localhost.localdomain (180-177-0-29.dynamic.kbronet.com.tw. [180.177.0.29]) by smtp.googlemail.com with ESMTPSA id i27sm6501077pgn.76.2020.02.22.09.19.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 22 Feb 2020 09:19:59 -0800 (PST) From: Manbing To: Jeff Dike , Richard Weinberger , Anton Ivanov , Jonathan Corbet Cc: Manbing , linux-um@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Documentation: update UserModeLinux-HOWTO.txt Date: Sun, 23 Feb 2020 01:19:27 +0800 Message-Id: <1582391968-3960-1-git-send-email-manbing3@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Original content is obsolete. Which is based on kernel 2.4.0-prerelease. Updating content according to kernel 5.5.1. Signed-off-by: Manbing --- Documentation/virt/uml/UserModeLinux-HOWTO.txt | 42 +++++--------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/Documentation/virt/uml/UserModeLinux-HOWTO.txt b/Documentation/virt/uml/UserModeLinux-HOWTO.txt index 87b80f5..08ee28d 100644 --- a/Documentation/virt/uml/UserModeLinux-HOWTO.txt +++ b/Documentation/virt/uml/UserModeLinux-HOWTO.txt @@ -1,6 +1,6 @@ User Mode Linux HOWTO User Mode Linux Core Team - Mon Nov 18 14:16:16 EST 2002 + Mon Feb 10 08:27:24 EST 2020 This document describes the use and abuse of Jeff Dike's User Mode Linux: a port of the Linux kernel as a normal Intel Linux process. @@ -215,26 +215,17 @@ Compiling the user mode kernel is just like compiling any other - kernel. Let's go through the steps, using 2.4.0-prerelease (current + kernel. Let's go through the steps, using 5.5.1 (current as of this writing) as an example: - 1. Download the latest UML patch from - - the download page - . + wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.5.1.tar.xz - 3. Make a directory and unpack the kernel into it. + 2. Make a directory and unpack the kernel into it. @@ -255,31 +246,14 @@ host% - tar -xzvf linux-2.4.0-prerelease.tar.bz2 - - - - - - - 4. Apply the patch using - - - - host% - cd ~/uml/linux - - - - host% - bzcat uml-patch-2.4.0-prerelease.bz2 | patch -p1 + tar xvf linux-5.5.1.tar.xz - 5. Run your favorite config; `make xconfig ARCH=um' is the most + 3. Run your favorite config; `make xconfig ARCH=um' is the most convenient. `make config ARCH=um' and 'make menuconfig ARCH=um' will work as well. The defaults will give you a useful kernel. If you want to change something, go ahead, it probably won't hurt @@ -293,7 +267,7 @@ - 6. Finish with `make linux ARCH=um': the result is a file called + 4. Finish with `make linux ARCH=um': the result is a file called `linux' in the top directory of your source tree. Make sure that you don't build this kernel in /usr/src/linux. On some -- 2.7.4