From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJH4x-0005uo-3e for qemu-devel@nongnu.org; Fri, 01 Sep 2006 18:01:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJH4v-0005rl-LM for qemu-devel@nongnu.org; Fri, 01 Sep 2006 18:01:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJH4v-0005rR-9a for qemu-devel@nongnu.org; Fri, 01 Sep 2006 18:01:33 -0400 Received: from [129.93.165.11] (helo=cse-mail.unl.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GJHEq-0005qM-UY for qemu-devel@nongnu.org; Fri, 01 Sep 2006 18:11:49 -0400 Received: from [129.93.164.247] (cse-witty-01.unl.edu [129.93.164.247]) (authenticated bits=0) by cse-mail.unl.edu (8.13.6/8.13.5) with ESMTP id k81M1Qsk022102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 1 Sep 2006 17:01:31 -0500 (CDT) Message-ID: <44F8ADB1.3000202@cse.unl.edu> Date: Fri, 01 Sep 2006 17:01:21 -0500 From: Neo 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> <44F89BD1.9000004@mail.berlios.de> In-Reply-To: <44F89BD1.9000004@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Stefan Weil wrote: > 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 ... > > Thank you for your explanation. But why there is no kernel panic when the target host is PC? Neo > Stefan > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using!