Skip to contentSkip to conversation

Bug#399328: linux-patch-skas: user-mode-linux seems to not work on 2.6.18 patched with this package]

uml-devel Stefano Melchior 1 participant 1 message Dec 12, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Dear all,
there is a guy who submitted a bug related to the Debian linux-patch-skas
package: he affirmed to encouter problem in working with the host kernel once compiled and patched SKAS. The host kernel release is reported in the subject.
At the end of his analysis, he noticed this problem occurred only with AMD Athlon 2200+, then with -k7 CPU type [*]: in particular with 2.6.18-5 compiled for K7 and patched with debian's linux-patch-skas (the same of Blaisorblade's).

You can get details of the thread (a few mails) at the following link:
http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/2006-November/000438.html

Cheers

SteX

[*]
http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/2006-November/000481.html

----- Forwarded message from Stefano Melchior <[email protected]> -----

Date: Fri, 24 Nov 2006 14:54:20 +0100
From: Stefano Melchior <[email protected]>
To: "Peder Chr. N�rgaard" <[email protected]>
Cc: Debian UML pkg Team <[email protected]>
Subject: [Pkg-uml-pkgs] Re: Bug#399328: linux-patch-skas: user-mode-linux
seems to not work on 2.6.18 patched with this package
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on
demachaut.etinarcadiaego.dyndns.org
X-Spam-Level:
X-Spam-Status: No, score=-102.4 required=5.0 tests=AWL,BAYES_00,
FORGED_RCVD_HELO,USER_IN_WHITELIST autolearn=ham version=3.1.7
X-Virus-Scanned: amavisd-new at email.it
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
X-My-Blog: http://etinarcadiaego.dyndns.org
X-Reply-To: [email protected]
X-Registered-Linux-User: 324592 (http://counter.li.org)
X-OS: Linux demachaut.etinarcadiaego.dyndns.org 2.6.18-stex
X-Fingerprint: F478 0583 A292 F652 AF35 A9CE 8967 931A D52D F829
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.5
Reply-To: [email protected]
List-Id: Debian User-Mode-Linux Developers packages
<pkg-uml-pkgs.lists.alioth.debian.org>
List-Unsubscribe: <http://lists.alioth.debian.org/mailman/listinfo/pkg-uml-pkgs>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.alioth.debian.org/mailman/listinfo/pkg-uml-pkgs>,
<mailto:[email protected]?subject=subscribe>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Mail-From: pkg-uml-pkgs-bounces+stefano.melchior=openlabs.it@lists.alioth.debian.org
X-SA-Exim-Scanned: No (on alioth.debian.org); SAEximRunCond expanded to false
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500565, version=0.94.4

On Sun, Nov 19, 2006 at 11:34:43AM +0100, Peder Chr.N�rgaard wrote:
Dear Peder,

Quoted 44 lines

Package: linux-patch-skas
Version: 3-2
Severity: important

I apologize in advance if this should have been reported on user-mode-linux, or perhaps not at all, if it turns out to be my own fault. But I don't know how to proceed.

User-mode-linux seems to run quite well on latest debian sid kernel, 2.6.18-2-686. But I want to use the SKAS3 patch for speed and correctness, and have done so earlier with success (during 2005, with kernels 2.6.9/10/11/12).

This is how I build the modified kernel:

tar xfvj /usr/src/linux-source-2.6.18.tar.bz2

cd linux-source-2.6.18

cp /boot/config-2.6.18-2-686 .config

make-kpkg --append-to-version -pcn --subarch 686 --revision 1 --initrd --added-patches skas --config menuconfig --rootcmd fakeroot configure make-kpkg --append-to-version -pcn --subarch 686 --revision 1 --initrd --added-patches skas --config menuconfig --rootcmd fakeroot clean make-kpkg --append-to-version -pcn --subarch 686 --revision 1 --initrd --added-patches skas --config menuconfig --rootcmd fakeroot kernel-image

When this kernel is installed and user-mode-linux started (I start it from rootstrap) it correctly notes that SKAS3 is active:

	:

Checking for the skas3 patch in the host:
- /proc/mm...found
- PTRACE_FAULTINFO...found
- PTRACE_LDT...found
UML running in SKAS3 mode

	:

but then it hangs at end of startup:

	:

Initializing software serial port version 1
ubda: unknown partition table
ubdb: unknown partition table
VFS: Mounted root (hostfs filesystem) readonly.

Quoted 6 lines

where it hangs forever, spending all the CPU power available on the host system. At this point, when using the official debian kernel, with no SKAS3, it would continue with

builder running...

at first sigh it seems a problem related to rootstrap, not with linux-patch-skas. To affirm it I need to investigate a bit more. Did you test the just-compiled kernel (with SKAS patch)
with an pre-build uml instance to check if it works?
If I remember well you can find here, in http://uml.nagafix.co.uk/, some uml instances. Anyway what is your rootstrap.conf configuration?

Cheers

SteX

----- End forwarded message -----

Signature · 4 lines
Stefano Melchior, GPG key = D52DF829 - <[email protected]>
http://www.openlabs.it/~stex    --     <[email protected]>
http://etinarcadiaego.dyndns.org  --  <[email protected]>
Skype ID "stefanomelchior"

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel