* [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host
@ 2006-09-01 18:34 Neo
2006-09-01 20:45 ` Stefan Weil
0 siblings, 1 reply; 4+ messages in thread
From: Neo @ 2006-09-01 18:34 UTC (permalink / raw)
To: qemu-devel
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
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host
2006-09-01 18:34 [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host Neo
@ 2006-09-01 20:45 ` Stefan Weil
2006-09-01 22:01 ` Neo
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Weil @ 2006-09-01 20:45 UTC (permalink / raw)
To: qemu-devel
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 ...
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host
2006-09-01 20:45 ` Stefan Weil
@ 2006-09-01 22:01 ` Neo
2006-09-01 22:16 ` Jernej Simonèiè
0 siblings, 1 reply; 4+ messages in thread
From: Neo @ 2006-09-01 22:01 UTC (permalink / raw)
To: qemu-devel
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
>> <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 ...
>
>
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host
2006-09-01 22:01 ` Neo
@ 2006-09-01 22:16 ` Jernej Simonèiè
0 siblings, 0 replies; 4+ messages in thread
From: Jernej Simonèiè @ 2006-09-01 22:16 UTC (permalink / raw)
To: Neo on [qemu-devel]
On Saturday, September 2, 2006, 0:01:21, Neo wrote:
> Thank you for your explanation. But why there is no kernel panic when
> the target host is PC?
Specify init=/bin/sh on the kernel command line, and type exit when you get
the shell - you'll also get a kernel panic.
--
< Jernej Simonèiè ><><><><>< http://deepthought.ena.si/ >
When you need towns, they are very far apart.
-- Steinbeck's Law
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-09-01 22:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01 18:34 [Qemu-devel] Kernel panic while executing "exit" in MIPS Linux target on I32 Linux host Neo
2006-09-01 20:45 ` Stefan Weil
2006-09-01 22:01 ` Neo
2006-09-01 22:16 ` Jernej Simonèiè
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.