Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp602760ybv; Sat, 22 Feb 2020 10:18:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwqjQri7+DviuXc+pAt+TPmwdImPZAQG0ErxqZPCEarlFKN+NjluBNOywOTytJ3K6TkQ94D X-Received: by 2002:a9d:20a:: with SMTP id 10mr32636244otb.319.1582395521465; Sat, 22 Feb 2020 10:18:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582395521; cv=none; d=google.com; s=arc-20160816; b=RiVmIBQNaR4pf/1oghR6TePxyrzgqh7ekwdt2+hg7Q36JX6dvMlIZzELX/BEcmnsRC Riqu96uSgjreG23Mo9ukgS67C9MwXyveTc6YMtDD9fbnAZ4uLp1a3Qa50oVTton1wCNL 4V6wmaYqG6vnQ8g4GMxv+8mvDR8ya7GubwrtEnNx/z0LDJxmibGcjb6ICC+IAyoM+HJn G8V3Sb7/Zb0KvDvY+1ktl4VCReiYgJZOuzBVVbghTeta3S3HVfoVBKh2W9ph9kyK5aSC XXrn5yiSxVeSJdkY9Xh6UwWUxx1rxOjv6ybAcP5sb6PGDjaQ7WekCNMsJ6+WyxsV8JMW BHLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=TJMoTJNASIDczIIgEF2yTHQ1pW7HAoLj0r9gTfrvaiY=; b=pglogjU3vAlCSF8Ac4FScXXs7XWL2qzgPVFJ30BT7PcXZVPuegAsihoX44+7wCBUTD AvsWG70+E8L+pxUbS/WYeKL9w7g42Y+5IUZG2CYUvkvQBa0LDQmsOLx9qWu7Il2va+Lc At5hJ4IBcuxLwv3q2C8Zdvvx0BUvOH/y3WIaatJPuEkG/gq28BJKfh6QW5FEVvNr4vd4 bXF5M2Kyp8XI/3/wa5QJmH/2+Nyj6zgTOrYhSp4ZrjuD5DsihKrAO5sRodCtaUAEc3x0 tZm0MH5uzqhOWTcT6+ORVEJLMyhCGyqeG9UozlwU2E+tnQsmFr4i7SRqMUfAzTUfATFi eQOQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si3504473ota.19.2020.02.22.10.18.28; Sat, 22 Feb 2020 10:18:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726856AbgBVSSG (ORCPT + 99 others); Sat, 22 Feb 2020 13:18:06 -0500 Received: from ivanoab7.miniserver.com ([37.128.132.42]:44742 "EHLO www.kot-begemot.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgBVSSG (ORCPT ); Sat, 22 Feb 2020 13:18:06 -0500 Received: from tun252.jain.kot-begemot.co.uk ([192.168.18.6] helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j5ZLl-0006OE-Ua; Sat, 22 Feb 2020 18:18:02 +0000 Received: from [151.251.251.9] (helo=[192.168.14.3]) by jain.kot-begemot.co.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j5ZLj-0005tN-3P; Sat, 22 Feb 2020 18:18:01 +0000 Subject: Re: [PATCH] Documentation: update UserModeLinux-HOWTO.txt To: Manbing , Jeff Dike , Richard Weinberger , Jonathan Corbet Cc: linux-um@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1582391968-3960-1-git-send-email-manbing3@gmail.com> From: Anton Ivanov Organization: Cambridge Greys Limited Message-ID: <9e8a47ca-bc82-496c-dc32-a5cde0d26fe9@cambridgegreys.com> Date: Sat, 22 Feb 2020 18:17:56 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1582391968-3960-1-git-send-email-manbing3@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 X-Spam-Score: -0.7 X-Clacks-Overhead: GNU Terry Pratchett Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/02/2020 17:19, Manbing wrote: > 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 - > - In this example, the file is uml-patch-2.4.0-prerelease.bz2. > - > - > - 2. Download the matching kernel from your favourite kernel mirror, > + 1. Download the matching kernel from your favourite kernel mirror, > such as: > > - ftp://ftp.ca.kernel.org/pub/kernel/v2.4/linux-2.4.0-prerelease.tar.bz2 > - > - . > + 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 > I am rewriting the whole thing at the moment. I will publish the finished sections for review at some point during the coming week. It needs to be rewritten from scratch, fixing a few things like this is not enough. Brgds, -- Anton R. Ivanov Cambridge Greys Limited, England and Wales company No 10273661 http://www.cambridgegreys.com/