> On Tue, 16 Nov 2010 17:11:58 -0300 <zulsolar@xxxxxxxxx> wrote:
>
> Hi,
>
> I'm trying to run Xen 4.0.1 on top of Slackware 13.1 32bits. I managed
> to install grub on it, managed to install Xen but I'm not able to boot
> with a xenified 2.6.34.6 kernel for Dom0.
>
>
> With Xen enable (CONFIG_X86_XEN=y), bzImage is not created, vmlinuz
> created not able to boot. If I disable Xen, everything is fine.
>
> This is the vmlinuz generated with Xen enable:
>
> root@slacktest1:/usr/src/linux-2.6.34.6# file arch/x86/boot/vmlinuz
> arch/x86/boot/vmlinuz: gzip compressed data, from Unix, last modified:
> Tue Nov 16 12:48:20 2010, max compression
> root@slacktest1:/usr/src/linux-2.6.34.6# find . -name arch/x86/boot/bzImage
> root@slacktest1:/usr/src/linux-2.6.34.6#
>
> I'm not able to boot from this patched kernel, even with an initrd image.
>
>
> Just FYI, this is a bzImage that actually works:
>
>
> root@slacktest1:/usr/src/linux# file arch/x86/boot/bzImage
> arch/x86/boot/bzImage: Linux kernel x86 boot executable bzImage,
> version 2.6.33.4-smp (root@slacktest1) , RO-rootFS, swap_dev 0x2,
> Normal VGA
> root@slacktest1:/usr/src/linux# find . -name bzImage
> ./arch/i386/boot/bzImage
> ./arch/x86/boot/bzImage
> root@slacktest1:/usr/src/linux#
>
>
> This is menu.lst Xen related:
>
> # Linux bootable partition config begins
> title Linux-Xen on (/dev/sda1)
> root (hd0,0)
> kernel /xen.gz
> module /vmlinuz-2.6.34.6-xen-20101116a ro root=/dev/rootvg/root
> rd_LVM_LV=rootvg/root vga=788
> module /initrd8.img
> # Linux bootable partition config ends
>
>
> Even if I try to boot from xenified kernel without /xen.gz module, this
> is the grub error I got:
>
> Error 13: Invalid or unsupported executable format
This is normal, After the kernel has been xenified, it is been my experience
that the kernel can not be booted natively and MUST be boot on top of the Xen
hypervisor..
>
> root (hd0,0)
> kernel /vmlinuz-2.6.34.6-xen-20101116a ro root=/dev/rootvg/root
> rd_LVM_LV=rootvg/root vga=788
> initrd /initrd8.img
>
>
> I also noticed that if I enable Xen, Kernel compression mode (->
> General setup) I have only one choice, Gzip. With Xen disabled, these
> are my choices:
> Gzip
> Bzip2
> LZMA
> LZO
>
I am pretty sure that after applying the gentoo-xen-kernel patches, these
multiple of options are crippled. Did all the patches apply successfully as
well (no failed hunks)?
> Not sure if this is related or not.
>
> Patches are from Andrew's
> (http://code.google.com/p/gentoo-xen-kernel/downloads/list) Kernel
> 2.6.34.6 is vanilla.
>
> Any light on this will be highly appreciated.
Wish I could have been of more help to you.
-M
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|