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

[Xen-users] Unable to boot patched 2.6.34.6 kernel (bzImage not being generated)


  • To: Xen List <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Christian Gonzalez <zulsolar@xxxxxxxxx>
  • Date: Tue, 16 Nov 2010 17:11:58 -0300
  • Cc:
  • Delivery-date: Tue, 16 Nov 2010 12:13:12 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QtZpC4uT6wToJuaDN1ptRwhtIIfbMIHSDZp1TG31Qg6SbCUzz5galr4IlfScVOgA75 W6n99DlttZ2V4XHEfmQmDKXSFYdYSZHY/deHYbeBIIAnDl5eEs9iMFD/tMRMRdnruZVQ a5A1PGWNHmUikvJdznCWdtVvSAN0jism7bDHc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 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

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.


Thanks and regards.

Chris
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.