Skip to contentSkip to conversation

guest OS crash during shutdown/reboot

Qemu-devel Purna Chandar 1 participant 3 messages Oct 26, 2009 – Dec 7, 2009

lore
Share & tools
lore
#0 lore raw

Hi,
I have compiled qemu 0.11.0 for x86 64 bit. I run Fedora Core 10 64 bit as my guest OS.
Sometimes, when I shutdown the guest OS gracefully (using halt command), I see a kernel crash with a stack trace on guest OS window at * native_machine_shutdown()*. The RIP points to *native_smp_send_stop()*. This doesn't happen on every shutdown/reboot though.

I did see this issue in older versions of qemu too(0.10.0 and 0.10.6). This could be a minor issue for most of you but I need to fix this because I run some automated scripts on the guest OS which reboots it.

Does anybody has a fix or any other idea to get around this issue?

Any bit of help on this would be really helpful.

Thanks,
PurnaChandar M

#1 lore raw

Can somebody out there please help me with this issue.

Thanks,
PurnaChandar M

2009/10/26 Purna Chandar <[email protected]>

Quoted 19 lines

Hi,
I have compiled qemu 0.11.0 for x86 64 bit. I run Fedora Core 10 64 bit as my guest OS.
Sometimes, when I shutdown the guest OS gracefully (using halt command), I see a kernel crash with a stack trace on guest OS window at * native_machine_shutdown()*. The RIP points to *native_smp_send_stop()*. This doesn't happen on every shutdown/reboot though.

I did see this issue in older versions of qemu too(0.10.0 and 0.10.6). This could be a minor issue for most of you but I need to fix this because I run some automated scripts on the guest OS which reboots it.

Does anybody has a fix or any other idea to get around this issue?

Any bit of help on this would be really helpful.

Thanks,
PurnaChandar M

#2 lore raw

The culprit seems to be a soft lockup during shutdown because of the smp code. Adding nosmp command line option to the guest kernel does not cause this problem.

2009/10/30 Purna Chandar <[email protected]>

Quoted 28 lines

Can somebody out there please help me with this issue.

Thanks,
PurnaChandar M

2009/10/26 Purna Chandar <[email protected]>

Hi,

Quoted 18 lines

I have compiled qemu 0.11.0 for x86 64 bit. I run Fedora Core 10 64 bit as my guest OS.
Sometimes, when I shutdown the guest OS gracefully (using halt command), I see a kernel crash with a stack trace on guest OS window at * native_machine_shutdown()*. The RIP points to *native_smp_send_stop()*. This doesn't happen on every shutdown/reboot though.

I did see this issue in older versions of qemu too(0.10.0 and 0.10.6). This could be a minor issue for most of you but I need to fix this because I run some automated scripts on the guest OS which reboots it.

Does anybody has a fix or any other idea to get around this issue?

Any bit of help on this would be really helpful.

Thanks,
PurnaChandar M