From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJFt2-0000b9-0w for qemu-devel@nongnu.org; Fri, 01 Sep 2006 16:45:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJFsz-0000ax-LZ for qemu-devel@nongnu.org; Fri, 01 Sep 2006 16:45:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJFsz-0000au-GX for qemu-devel@nongnu.org; Fri, 01 Sep 2006 16:45:09 -0400 Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJG2u-0004vv-D8 for qemu-devel@nongnu.org; Fri, 01 Sep 2006 16:55:24 -0400 Received: from localhost ([127.0.0.1]) by localhost.localdomain with esmtp (Exim 4.62) (envelope-from ) id 1GJFsv-0001Db-Tw for qemu-devel@nongnu.org; Fri, 01 Sep 2006 22:45:06 +0200 Message-ID: <44F89BD1.9000004@mail.berlios.de> Date: Fri, 01 Sep 2006 22:45:05 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host References: <44F87D3D.9000003@cse.unl.edu> In-Reply-To: <44F87D3D.9000003@cse.unl.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Neo schrieb: > hi, > > I am running qemu (latest version from CVS) on my I32 Linux desktop to > emulate the MIPS arch. While running the mips-test-0.1.tar.gz > , everything works fine > except executing the "exit" command. I got the following information. > > BusyBox v1.01 (Debian 1:1.01-4) Built-in shell (ash) > Enter 'help' for a list of built-in commands. > > ~ # help > > Built-in commands: > ------------------- > . : break cd chdir command continue eval exec exit export false > hash help let local pwd read readonly return set shift times > trap true type ulimit umask unset wait > > ~ # exit > Kernel panic - not syncing: Attempted to kill init! > > Is it a bug or not? > > Thanks, > Neo > No bug. With exit, you terminate the shell (/bin/sh). In this test, /bin/sh is the init process which normally never terminates while your OS is running. If it does, you get a kernel panic ... Stefan