WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen List <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Unable to boot patched 2.6.34.6 kernel (bzImage not being generated)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=V+MbHfX9AriKw6syLM68nj6270AL21/MY2/Wy+ufAEc=; b=hoO8TlDugoOCm+NA19STBv26mZZ3eojnKlZjtRJ2CjcIZamgCCvkkthcjbEJt50alY rXvTGPBTyAM33jbW+WI4sVqA2smKFG+wsi9O4xB7zpD0WbJfk8yk4d+Gxh1f+hwYZkQ9 R7DQYZGrPUt4MwLVq6R0/N0J59x3Q9VUyx598=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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