Bug 824928

Summary: boot fails on EFI machine after installed when booting in EFI mode from optical media
Product: Red Hat Enterprise Linux 6 Reporter: Mike Burns <mburns>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: 6.2CC: acathrow, bsarathy, cshao, ddumas, gouyang, jboggs, jfeeney, leiwang, mburns, mishu, mjenner, moli, ovirt-maint, pjones, pstehlik, ricardo.arguello, sgordon, syeghiay, the.ridikulus.rat, tvvcox, ycui
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.3.0-9.el6 Doc Type: Bug Fix
Doc Text:
When the Hypervisor configures the boot menu for EFI it extracts the CDLABEL from the isolinux.cfg file. The entry in the file contains a period ('.'), which is not matched correctly by the regular expression used to extract the CDLABEL. As a result the kernel parameters generated contained an invalid CDLABEL, resulting in a kernel panic. The regular expression used to extract the CDLABEL has been updated to do so correctly.
Story Points: ---
Clone Of: 749621 Environment:
Last Closed: 2012-07-19 14:13:10 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:
Bug Depends On: 747102, 749621, 761540    
Bug Blocks: 729698, 773069, 773650, 773651, 773677, 773696    

Description Mike Burns 2012-05-24 16:04:18 UTC
+++ This bug was initially created as a clone of Bug #749621 +++

This only happens with official image builds.  On boot, a kernel panic happens almost immediately.

Root Cause:

When configuring the boot menu for EFI, we extract the CDLABEL from the regular isolinux.cfg.  The cdlabel for official builds contains a '.' which our automated builds do not.  Because of this '.', the extraction broke causing the commandline to include root=live:CDLABEL= which causes an immediate panic.

Comment 6 Guohua Ouyang 2012-06-01 11:58:32 UTC
verified on 6.3-20120531.0 build, 
1. can reproduce on 6.3-20120523.1, boot will run into kernel panic.

2. tested 6.3-20120531.0 with EFI mode, boot from the iso image successfully and after install finished, rhevh boot normal and can login also.

Comment 7 Stephen Gordon 2012-06-14 18:58:54 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When the Hypervisor configures the boot menu for EFI it extracts the CDLABEL from the isolinux.cfg file. The entry in the file contains a period ('.'), which is not matched correctly by the regular expression used to extract the CDLABEL. As a result the kernel parameters generated contained an invalid CDLABEL, resulting in a kernel panic. The regular expression used to extract the CDLABEL has been updated to do so correctly.

Comment 9 errata-xmlrpc 2012-07-19 14:13:10 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/RHBA-2012-0741.html