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 /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 [root@note ~]# rpm -q xen-hypervisor xen-hypervisor-3.3.1-3.fc11.i386 [root@note ~]#
My bzImage boots well with modified grub to boot it as "kernel" and not using xen-3.3 loader.
What I am doing wrong? Can sombody send me kernel.config file for 2.6.29, something similar to old kernel-xen rpm package's config?
SAL