Bug 192044

Summary: Under xen, shutdown -h in dom0 does not shut down machine.
Product: [Fedora] Fedora Reporter: Dan Reish <dreish>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 5CC: bstein
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 23:07:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Reish 2006-05-17 00:19:34 UTC
Description of problem:
Install Fedora Core 5, yum update, and follow the instructions in
http://fedoraproject.org/wiki/FedoraXenQuickstartFC5.  As has been beaten to
death already, xend is broken and none of the Xen stuff works, but in addition,
the system will not shut down with shutdown -h.

This is a severe bug because power loss on a critical server, which should have
been handled gracefully with a UPS connected to the server by USB, can instead
cause hardware damage and data loss.  Not too long ago I had a disk go from
working perfectly and quietly, to crashing and becoming unrecoverable due to one
unhandled powerout.

Version-Release number of selected component (if applicable):
I believe this problem first appeared in 2.6.16-1.2111_FC5xen0.x86_64.  I am not
certain, but I believe I did a successful shutdown with
kernel-xen0-2.6.15-1.2054_FC5.x86_64 just before updating to 2111.

How reproducible:
100%

Steps to Reproduce:
1. Install Fedora Core 5
2. yum update (optional step?)
3. Boot Xen/Linux
4. shutdown -h now

Actual results:
System goes through all the motions and then just sits there at "Power down",
without physically powering down.

Expected results:
Everything as observed except the computer should shut off at the end.

Additional info:
My switch shows the ethernet link still active, fwliw.

Comment 1 Brian Stein 2006-05-17 12:26:02 UTC
Can you confirm if this fails with 2.6.16-1.2118 kernel-xen0 and correctly works
with 2054 kernel-xen0?  Or if this behavior also happens on the standard non-xen
2111 kernel?

Comment 2 Dan Reish 2006-05-20 03:05:02 UTC
Shutting down works under kernel-2.6.15-1.2054_FC5.  Unfortunately, I can't boot
Xen anymore because I have moved my drives under an Areca RAID controller, and
the arcmsr.ko I have does not work with any kernel-xen0, so I can't try 2054
kernel-xen0, but I confirmed a few times (involuntarily) that it failed with
2.6.16-1.2118 kernel-xen0.

The motherboard on this machine is an Intel D955-XBK, which apparently has some
bugs.  The Areca card does not function with that motherboard when exactly 2 gb
of RAM is installed.  More or less RAM is fine.  Areca tech support claims this
problem only exists with this and another Intel MB.  Still, if regular Linux can
shut down successfully, I would think it ought to be possible for Xen.


Comment 3 Brian Stein 2006-05-22 12:28:01 UTC
Does this fail with the 2.6.16-1.2118 (non-xen) kernel?

Comment 5 Red Hat Bugzilla 2007-07-25 01:31:28 UTC
change QA contact

Comment 6 Chris Lalancette 2008-02-26 23:07:40 UTC
This report targets FC5, which is now end-of-life.

Please re-test against Fedora 7 or later, and if the issue persists, open a new bug.

Thanks