[Fedora-xen] BZIP2 and LZMA support patch for Xen PV domU bootloader

Pasi Kärkkäinen pasik at iki.fi
Sun Aug 23 16:45:23 UTC 2009


On Thu, Aug 20, 2009 at 10:04:09PM +0300, Pasi Kärkkäinen wrote:
> On Thu, Aug 20, 2009 at 07:02:12PM +0100, Mark McLoughlin wrote:
> > On Thu, 2009-08-20 at 19:44 +0300, Pasi Kärkkäinen wrote:
> > > On Thu, Aug 20, 2009 at 05:05:17PM +0100, Mark McLoughlin wrote:
> > > > On Thu, 2009-08-20 at 18:41 +0300, Pasi Kärkkäinen wrote:
> > > > 
> > > > > # CONFIG_KERNEL_GZIP is not set
> > > > > # CONFIG_KERNEL_BZIP2 is not set
> > > > > CONFIG_KERNEL_LZMA=y
> > > > > 
> > > > > OK, so the problem is the rawhide kernel is LZMA compressed. Wasn't this
> > > > > changed back to GZIP earlier? 
> > > > 
> > > > Thanks for pointing that out, see:
> > > > 
> > > >   https://bugzilla.redhat.com/show_bug.cgi?id=515831
> > > > 
> > > > It got disabled on a branch for the F12 Alpha release, but never got
> > > > disabled on the devel/ branch. Should be fixed now.
> > > > 
> > > 
> > > Thanks. Now I'll just wait for the next kernel build.. :)
> > > 
> > > (or try applying the patch Chris sent to support BZIP2 and LZMA for Xen PV bootloader).
> > 
> > Testing Chris's patch would certainly be a good idea. LZMA will come
> > back again in Fedora 13, so we should make sure to have the patch in
> > good shape by then
> > 
> 
> I actually already 'ported' the patch to Xen 3.4.1 and made sure it
> compiles OK. I've included it (and extra gcc 4.4.0 compilefix) to this
> email, and also sent them to xen-devel.
> 
> atm I'm trying to make the patch work/apply with Fedora xen-3.4.1-1 src.rpm ..
> and sorting out some fedora/rpm specific compilation failure..
> 

Here's updated patch that actually works. I added it to xen-3.4.1-1.src.rpm
and verified the resulting rpms are able to boot lzma compressed kernels.

It's still not final patch, since the stubdom/pvgrub bzip2/lzma support is
not yet included in this patch (until the proper method for Makefile hacks
is determined upstream).

-- Pasi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-341-add-bzip2-lzma-pv-bootloader-support-no-stubdom-pvgrub.patch
Type: text/x-diff
Size: 14702 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20090823/11418840/attachment.bin>


More information about the Fedora-xen mailing list