Bug 457199

Summary: RHEL5.3 xen: include support for booting Fedora 10 DomU (i.e. bzImage support)
Product: Red Hat Enterprise Linux 5 Reporter: Mark McLoughlin <markmc>
Component: xenAssignee: Mark McLoughlin <markmc>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: berrange, clalance, dmair, gozen, herrold, m.a.young, me, mishu, riek, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:14:47 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:
Attachments:
Description Flags
xen-3.1.0-bzimage.patch none

Description Mark McLoughlin 2008-07-30 08:18:14 UTC
There are two kernel image formats - vmlinuz is just a gzip compressed ELF file,
whereas bzImage is a more complicated format where the gzip compressed ELF image
is part of the payload.

Xen has long used the vmlinuz format. Our other kernels use the bzImage format.

The kernel-xen package is being removed in Fedora 10 and
kernel-PAE.i686/kernel.x86_64 are now the kernels used for booting Xen DomU.

However, these packages ship a bzImage format kernel, and RHEL5 Xen's libxc does
not have support for booting such images.

Support was added to upstream xen in April:

  http://lists.xensource.com/archives/html/xen-devel/2008-04/msg00525.html

And we're including that patch now in F-8, F-9 and F-10.

The patch is fairly simple and self-contained. It hasn't caused any regressions
that we know of yet.

Comment 1 Mark McLoughlin 2008-07-30 08:18:14 UTC
Created attachment 312973 [details]
xen-3.1.0-bzimage.patch

Comment 3 Chris Lalancette 2008-08-14 07:04:41 UTC
I tested this patch out on an i386 box.  Basically, inside the guest I checked out the latest LKML sources and did "make ; make install" (which installs the bzImage).  I then attempted to boot the kernel.  Before this patch, I got "invalid format" when trying to boot.  After this patch, the newly built kernel started to boot (although it crashed and burned later on for other, unrelated reasons).

Chris Lalancette

Comment 4 Mark McLoughlin 2008-08-22 15:39:51 UTC
* Mon Aug 18 2008 Mark McLoughlin <markmc> - 3.0.3-70.el5
- Support booting bzImage xen pv_ops kernels (e.g. Fedora 10) (rhbz #457199)

Comment 15 errata-xmlrpc 2009-01-20 21:14:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0118.html