Bug 457199 - RHEL5.3 xen: include support for booting Fedora 10 DomU (i.e. bzImage support)
Summary: RHEL5.3 xen: include support for booting Fedora 10 DomU (i.e. bzImage support)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Mark McLoughlin
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-30 08:18 UTC by Mark McLoughlin
Modified: 2009-12-14 21:11 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:14:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
xen-3.1.0-bzimage.patch (6.08 KB, patch)
2008-07-30 08:18 UTC, Mark McLoughlin
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0118 0 normal SHIPPED_LIVE xen bug fix and enhancement update 2009-01-20 16:04:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.