Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261840AbUKCToc (ORCPT ); Wed, 3 Nov 2004 14:44:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261854AbUKCTng (ORCPT ); Wed, 3 Nov 2004 14:43:36 -0500 Received: from web26110.mail.ukl.yahoo.com ([217.12.10.234]:43106 "HELO web26110.mail.ukl.yahoo.com") by vger.kernel.org with SMTP id S261857AbUKCTln (ORCPT ); Wed, 3 Nov 2004 14:41:43 -0500 Message-ID: <20041103194142.36592.qmail@web26110.mail.ukl.yahoo.com> Date: Wed, 3 Nov 2004 20:41:42 +0100 (CET) From: Roland Kaeser Subject: Re: [uml-user] Harddisk Shutdown while UML Guest Shutdown To: Blaisorblade , user-mode-linux-user@lists.sourceforge.net Cc: Roland Kaeser , LKML In-Reply-To: <200411032000.34677.blaisorblade_spam@yahoo.it> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2974 Lines: 73 Hello I've forgotten one point. The guest kernel creates a (how is the correct english word for this?) a memory error (German Speicherfehler) so it seems that the kernel crashes. I have to say that I run the guest system with root privileges (on the root account). Roland --- Blaisorblade schrieb: > On Wednesday 03 November 2004 08:53, Roland Kaeser wrote: > > Hello > > > > I starting the UML Kernel with the following command: > > > > /install/uml/kernel/vmlinux mem=128M devfs=nomount con=xterm > > eth0=tuntap,,,1.1.1.1 eth1=tuntap,,,2.2.2.2 root=/dev/root > > rootflags=/install/uml/instances/hostfc2install rootfstype=hostfs > > > > The system starts up successfully, and opens all the xterm for the > > consoles. I can login and work with the guest system. > > Then I shut down the guest system from inside the guest system using the > > command init 0 or shutdown. > > > The guest shuts down normally. > > But in the moment when the uml kernel exits in the xterm where I started > > it, I CAN HEAR the harddisk of the host goes down. > > Ok, with this explaination, I can believe that this happens. Sorry for my > first answer, I first took the most likely idea, i.e. the hard disk spins > down because it's no more used, but the host kernel is still alive and > kicking, and the hard drive will spin up when needed. Anyway, this > description, w > > You are using a vanilla host kernel (2.6.9), so you have no SKAS patch > running, i.e. this is a host kernel bug, actually, and it is pretty severe. > Attach your .config in next email. > > Can you please report that (including the kernel panic message) to LKML, > CC:ing the -devel list? Also, could you try that with different host kernels? > Different setups? Are you running your UML as root or not? If you are running > it as root, then try running it with an unprivileged userid. > > > After this, nothing happens more on the host, even the mouse freezes. I > > cannot start an other program or even access the harddisk or login on a > > other tty. > > > It freezes the whole guest system. > You mean obiously the "host" system (i.e. the hardware one; "guest" refers to > the UML instance). > > About a minute later I get a > > Kernel Panic from the host kernel > Try to copy and send the text of the panic, (most of the numbers can be > omitted, even because they are often hard to decode; the list of function > calls is more important than anything else). > -- > Paolo Giarrusso, aka Blaisorblade > Linux registered user n. 292729 > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/