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

Re: [Xen-users] Fedora Core 5 boot problems



If you install from tarball you need to create this yourself, e.g.:

  /sbin/mkinitrd /boot/initrd-2.6.16-xen.img 2.6.16-xen

(and update grub)

The install.sh script does not do this automagically because initrd generation is distribution-specific.

James

Srinivasan S wrote:
Thanks for a prompt response ..

I could not find any initrd for the Xen 3.o in my /boot ..
Do I need to do a mkinitrd ?  Any hints will help

Regards
Srini


----- Original Message -----
From: "James Bulpin" <james@xxxxxxxxxxxxx>
To: "Srinivasan S" <ssrini@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Fedora Core 5 boot problems
Date: Fri, 14 Apr 2006 14:37:05 +0100


You're using the kernel from the binary tarball and the initrd from the FC5 non-Xen kernel. To a first approximation kernel version and modules (in the initrd) must match.

James

Srinivasan S wrote:

Hi

I had Xen 2.x running peacefully on FC4 .. sigh.

Yesterday I upgraded to FC5 and also downloaded and installed the new Xen version 3.x from xensource.com .. I installed via the precompiled tarball.

My grub entries loook like this:

title Xen 3.0 (Fedora/XenLinux 2.6)
        root (hd0,4)
        kernel /xen.gz dom0_mem=260000
        module /vmlinuz-2.6-xen root=/dev/sda6 ro console=tty0
        module /initrd-2.6.15-1.2054_FC5.img
        boot

My /etc/fstab looks like this:

/dev/sda6                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/sda7               swap                    swap    defaults        0 0

...

Fedora is installed on a SATA hard disk, partition /dev/sda6

Xen boots and then soon after reports a kernel panic and after a few seconds reboots .. I was unable to get the messages before the last screen but managed to capture the last messages on screen .. reported below.

...
Loading jbd.ko module
jbd: disagrees about version of symbol struct_module
insmod: error inserting /lib/jbd.ko: -1 invalid module format
Loading ext3.ko module
ext3: disagrees about version of symbol struct_module
insmod: error inserting /lib/ext3.ko: -1 invalid module format
Creating root device
Mounting root filesystem
mount: could not find filesystem '/dev/root'
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
Switching to new root and running init
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: no such file or directory
Kernel panic - not syncing: Attempted to kill Init:

And then the system quickly reboots.

Any help to fix this is appreciated.

Regards
Srini








_______________________________________________
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®.