This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-users] Unable to boot patched kernel (bzImage not bein

To: Christian Gonzalez <zulsolar@xxxxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Unable to boot patched kernel (bzImage not being generated)
From: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Date: Tue, 16 Nov 2010 16:40:32 -0500
Delivery-date: Tue, 16 Nov 2010 13:47:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <AANLkTinoD5PZ0_fL2E_mMDT1cOS30_28H8F0iy=Z0v=M@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinoD5PZ0_fL2E_mMDT1cOS30_28H8F0iy=Z0v=M@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> 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 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- 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- find . -name arch/x86/boot/bzImage
> root@slacktest1:/usr/src/linux-
> 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 (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- 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 

> root (hd0,0)
> kernel /vmlinuz- 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

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
> is vanilla.
> Any light on this will be highly appreciated.

Wish I could have been of more help to you.

Xen-users mailing list