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

Re: [Xen-users] Xen 3.0.4 on RH EL 4.4 - can't make it boot kernel


  • To: "Foreman, Tim" <tforeman@xxxxxxxxx>
  • From: "Omer Khalid" <Omer.Khalid@xxxxxxx>
  • Date: Thu, 1 Mar 2007 16:23:44 +0100
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 01 Mar 2007 07:23:00 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=FKAJFnRmQwwJSb28R4L5/3VI9NxniUu+nF7CysA7aSy0nzdV1DR6vez8oO7L6TEZkJ+H3nSKqT3c+3piTH4AUb+uKTHZTabPTAUeDAhLTW+rRCPBLGv1roH/YpJUbXHfQtKSo/1+oKjRy0ZGwK8I4CyWeSpb6QrV3XKqCLnQE60=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Tim,

The first thing I noticed in your grub.conf is that your xen configuration have index value 0f 2, while the default=0. It should be default=2. I hope this should sort the obvious problem.

Secondly, why are you not using root=LABEL=/ rather root=/dev/hda1!

Cheers
Omer

On 3/1/07, Foreman, Tim <tforeman@xxxxxxxxx> wrote:
I'm trying to build a Xen server on Enterprise 4.4 and I can't
get the Xen kernel to boot.

I installed the kernel rpm and the Xen rpm and my grub.conf looks
like this:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/hda1
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux ES ( 2.6.9-42.ELsmp)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/
        initrd /boot/initrd-2.6.9-42.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.6.9-42.EL)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/
        initrd /boot/initrd-2.6.9-42.EL.img
title Red Hat Enterprise Linux ES Xen (2.6.16.33-xen_3.0.4.1)
        root (hd0,0)
        kernel /boot/xen- 3.0.4.1.gz
        module /boot/vmlinuz-2.6.16.33-xen_3.0.4.1 ro root=/dev/hda1
        module /boot/initrd-2.6.16.33-xen_3.0.4.1.img

When I try and boot the Xen kernel it stops with the following errors:

Loading ide-disk.ko module
ide_disk: no version for "struct_module" found: kernel tainted.
Creating root device
Mounting root filesystem
mount: error 6 mounting ext2
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

I did some googling and found some indications that it might have been
related to using the ext3 filesystem, so I rebuild the server with ext2
and got the same results.

Any suggestions?
--
Timothy W. Foreman ~ Security Administrator ~ tforeman@xxxxxxxxx
(651) 365-4181     ~ Internet Broadcasting  ~ www.ibsys.com
--
The Onion: Have you decided what you want to be when you grow up?
Berkeley Breathed: Dad. The rest is frosting.

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



--
---------------------------------------------------------------
                                                                            
CERN – European Organization for Nuclear
IT Department,  CH-1211 Geneva 23, Switzerland

Phone: +41 (0) 22 767 7996
Fax:     +41 (0) 22 767 4900
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid
_______________________________________________
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®.