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
<http://www.qemu.org/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 ...