[fedora-virt] bzImage dom0 kernel support in latest rawhide Xen packages

Gerd Hoffmann kraxel at redhat.com
Wed Feb 4 12:29:39 UTC 2009


Jan ONDREJ (SAL) wrote:
>>> On Tue, Feb 3, 2009 at 6:24 PM, Pasi Kärkkäinen <pasik at iki.fi> wrote:
>>>> Hello!
>>>>
>>>> For those interested in testing pv_ops dom0 kernels it seems latest Xen
>>>> packages in rawhide contain bzImage dom0 kernel support in Xen hypervisor.
> 
> I am trying to compile current 2.6.29 kernel (as described here:
> http://wiki.xensource.com/xenwiki/XenParavirtOps), but without success yet.
> 
> When trying to boot ./vmlinux ro ./arch/x86/boot/bzImage (also with
> xen-hypervisor-3.3.1-3.fc11) I still get something like this:
> 
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) elf_xen_note_check: ERROR: Will only load images built for the generic
> loader or Linux images
> 
> My grub.conf entry:
> title Xen TEST
>         root (hd0,0)
>         kernel /boot/xen-3.3.gz noreboot
>         module /boot/xen/vmlinux root=/dev/sda1 ro earlyprintk=xen pci=nomsi
>         module /boot/xen/initrd.img

> [root at note ~]# file /boot/xen-3.3.gz /boot/xen/vmlinux /boot/xen/initrd.img /boot/xen/bzImage
> /boot/xen-3.3.gz:     gzip compressed data, from Unix, last modified: Tue Feb  3 12:36:39 2009, max compression
> /boot/xen/vmlinux:    ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

"stripped".  This probably is the problem.

> /boot/xen/initrd.img: gzip compressed data, from Unix, last modified: Wed Feb  4 12:00:01 2009, max compression
> /boot/xen/bzImage:    Linux kernel x86 boot executable RO-rootFS, swap_dev 0x2, Normal VGA

Try this one instead of vmlinux (unstripped vmlinux should work too).

HTH
  Gerd





More information about the Fedora-virt mailing list