Red Hat Bugzilla – Bug 456559
anaconda: i386 xen installer images creation
Last modified: 2008-09-10 06:49:25 EDT
Now that xen guest support has been moved to kernel-PAE.i686 and kernel.x86_64,
we need to drop any remnants of code to handle kernel-xen.
Should be trivial, just filing this to remind myself
Hrmm -- the fact that it's in the PAE kernel for x86 adds a couple of wrinkles
1) We don't install the PAE kernel unless you have memory above 4 gigs.
2) We don't ever use the PAE kernel as the installer kernel, instead using the
i586 kernel in Fedora, i686 kernel in RHEL
Fortunately the '.treeinfo' file could help us here. Currently it says:
kernel = images/pxeboot/vmlinuz
initrd = images/pxeboot/initrd.img
boot.iso = images/boot.iso
kernel = images/xen/vmlinuz
initrd = images/xen/initrd.img
We could have the 'images/xen' directory contain the PAE variant of 'kernel', or
have a new images/pxeboot/vmlinux-PAE and 'images/pxeboot/initrd-PAE.img' and
make the 'images-xen' section refer to those.
Since F8 virt-install and virt-manager will both look at the $URL/.treeinfo file
when picking the kernel for guest installs.
Yeah, but we still then have to have double sets of images lying around which is
unfortunate. And we have to switch the logic which does kernel-xen to instead
do kernel-PAE. Which means that we don't really gain much in the way of
simplifying logic or life.
Marking as blocking the beta - whatever we decide to do should be sorted out
then for testing.
Created attachment 313624 [details]
Here's a mk-images patch which I'm still testing
I've also got a bunch of small patches to kill off obsolete xen hacks in anaconda proper; I'll send those out tomorrow
*** Bug 458164 has been marked as a duplicate of this bug. ***
Seems to be working fine on x86_64 now, but i386 doesn't have .treeinfo/[images-xen] or images/pxeboot/vmlinuz-PAE
Looking at e.g.:
Wrote /tmp/treebuild.20080812/output/development/i386/os/images/pxeboot/efiboot.img (39159844k free)
I'd expect to it to say "Building initrd-PAE.img" before going onto building stage2.img
I can't see anything obviously wrong with the code and because of bug #458541, I can't easily debug it either
Don't know what's changed but:
initrd = images/pxeboot/initrd-PAE.img
kernel = images/pxeboot/vmlinuz-PAE