Bugzilla – Bug 141172
halt/reboot does not work
Last modified: 2006-05-09 09:03:48 UTC
Test was done on a Compaq nx8220 notebook with factory from 30th of December. When I use the Xen kernel, halt/reboot does not work. They stop at random locations of the shutdown procedure, sometimes the last line is about shutting down SSH, sometimes it goes a few lines further. I don't think, as it does not get to the end of shutdown scripts, but probably related to bug #141171
kurt, any ideas? if not please reassign to us ...
Hmm, it's a known limitation that poweroff does not work. (You would need some more ACPI support in the hypervisor for this or a hook to call into the dom0 kernel for this.) But the shutdown procedure should really complete until the kernel displays halting system. Reboot should work as well.
Tested with latest factory (13th of January), it's still there. It also slows down loading of GRUB, probably because the reiserfs filesystem is left in a very dirty state (100+ filesystem fixes on startup).
Does this happen always? Regardless of whether you start additional domains with Xen or not? If it only happens with additional domains: Do you use file: (loopback) exports? The xenblkd seems to leave the loop device busy and thus causes the umount of the root filesystem to fail.
(In reply to comment #4) > Does this happen always? Regardless of whether you start additional domains > with Xen or not? Yes, always, independent, if other domains are started or not.
Does this still happen for you with Beta 8? We are unable to reproduce this in our lab with the latest Beta.
It still did not work with beta6, I have yet to install beta8 on this machine. On beta6 it went almost to the end, the only step missing was the actual reboot. I change to needinfo to myself, to remind me.
It's still there in factory as of 22 03 2006. I guess, that the problem is related to that this machine needed reboot=bios for a long time. The machine halts with the last line being: "Please stand by while rebooting machine" (or something similar, but that's how I remember it).
Jan, this seems similar to another bug you have looked at. Do you have anything you can add here?
No, the other one is about not being able to reboot - it gets all the way through to shutdown. This here is different, it needs to first be clarified if it crashes in some way. Please provide a complete Xen log (from boot to shutdown) obtained through serial (add com1=<baudrate>,<databits><parity><stopbits> to Xen command line and attach second machine serially to capture output). If that is impossible, boot with kernel parameter no-scroll and report any console (log screen) output.
It's an all USB machine, so no serial console :-( I still suspect, that it's related to #141172 . When I reboot domain0, it gets to the very last message, which is printed before reboot, but the actual reboot does not happen.
This *is* 141172 - what other bug are you referring to? If indeed you get to the last line, without any hangs or crashes, then this is presumably fixed with the next beta. Please confirm.
Ooops. I was thinking about: #141171
Works fine with RC2, so it seems to be fixed.
Thanks.