Bug 807354

Summary: xenpv guests fail to find root device
Product: Red Hat Enterprise Linux 6 Reporter: Andrew Jones <drjones>
Component: kernelAssignee: Andrew Jones <drjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.2CC: areis, imammedo, jburke, kzhang, leiwang, moli, pbunyan, qguan, qwan, xen-maint, yuzhou
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: xen
Fixed In Version: kernel-2.6.32-259.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 08:44:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 653816    
Attachments:
Description Flags
patch modifying the conditions none

Description Andrew Jones 2012-03-27 15:12:58 UTC
With kernel -256 and later builds xenpv guests will fail to boot due to not finding their root device. From a quick check of the git history, the mostly likely cause is commit 7b34e5d

7b34e5d [virt] xen: initialize platform_pci even if xen_emul_unplug=never

It looks like the problem is that we moved a condition that used to be in an HVM only path into a PV _and_ HVM path. Thus the condition needs to be if (HVM && <condition>).

Comment 1 RHEL Program Management 2012-03-27 15:19:53 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 2 Andrew Jones 2012-03-27 15:54:06 UTC
Created attachment 573110 [details]
patch modifying the conditions

Comment 3 Andrew Jones 2012-03-28 07:45:39 UTC
*** Bug 807454 has been marked as a duplicate of this bug. ***

Comment 4 Aristeu Rozanski 2012-03-30 14:26:10 UTC
Patch(es) available on kernel-2.6.32-259.el6

Comment 6 Andrew Jones 2012-04-02 09:04:32 UTC
*** Bug 808637 has been marked as a duplicate of this bug. ***

Comment 8 Qixiang Wan 2012-04-18 01:29:47 UTC
Verified with kernel-2.6.32-259.el6 and kernel-2.6.32-265.el6. Tested both i386 and x86_64 Xen PV guests, can boot up successfully after the fix. So change this bug to VERIFIED.

Comment 10 errata-xmlrpc 2012-06-20 08:44:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0862.html