[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Jan ONDREJ (SAL) wrote:
>>> On Tue, Feb 3, 2009 at 6:24 PM, Pasi Kärkkäinen <pasik 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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]