Skip to contentSkip to conversation

Kernel Panic in booting Xen 3.1 on Dell PowerEdge Server 1950

DISCUSSION Adit Ranadive 1 participant 1 message Sep 18, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Im having some issues with installing/running Xen 3.1 (source tree from the 3.1 tree). The host OS is Red Hat 4 Update 5. Everything is downloading and compiling fine.
The problem arises when I need to create an initrd.
The server comes with SCSI disks and Im not sure if this version of Linux (2.6.18) supports them. I make the initrd with the follwoing command:

mkinitrd -v -f initrd-xen.img 2.6.18-xen (i cannot use the --omit-scsi-modules since i need them).

It loops on this "Looking for deps of ehci_hcd" . Ive tried changing the config flags to build the required scsi modules into the kernel or just as modules but it still gives the same error.
Also if I build it with the --omit-scsi-modules flag and boot into Xen I get the Kernel panic error:

mount: error 6 mouting ext3
mount: error 2 mouting none
Switching to new root
switchroot:mount failed: 22
umount /initrd/dev failed:2

Kernel panic - not syncing : Attempted to kill init!

Any suggestions on how to fix the drivers to use the scsi hard disks?

Thanks,
Adit

My fstab file:

LABEL=/                 /                       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
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-sda3         swap                    swap    defaults        0 0
/dev/hda                /media/cdrom            auto

pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/scd0 /media/cdrom1 auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

My grub conf:

default=0
timeout=15 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-55.0.6.ELsmp)

        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.6.ELsmp ro root=LABEL=/ noapic rhgb quiet
        initrd /initrd-2.6.9-55.0.6.ELsmp.img
title Red Hat Enterprise Linux AS (2.6.9-55.0.6.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.6.EL ro root=LABEL=/ noapic rhgb quiet
        initrd /initrd-2.6.9-55.0.6.EL.img
title Red Hat Enterprise Linux AS (2.6.9-55.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.ELsmp ro root=LABEL=/ noapic rhgb quiet
        initrd /initrd-2.6.9-55.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-55.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.EL ro root=LABEL=/ noapic rhgb quiet
        initrd /initrd-2.6.9-55.EL.img
title  Xen-SmartIO-2.6 (Compiled)
        root (hd0,0)
        kernel /xen.gz
        module /vmlinuz-2.6.16-rc3-xen0 ro root=/dev/sdb2 console=tty0
        module /initrd-xen0-1.img