Hi All,
After successfully installing xen 3.0 on a few machines, now  I  have  a 
problem booting xen kernel for a dom0 host domain on a Supermicro PIV 1g 
RAM machine with two ide disks with 40gb each.
Here''s the last lines of the booting before kernel panic
<<
...
Creating /dev
Starting  udev
Loading ide-disk.ko module
ide_disk: no version for "struct module" found: kernel tainted.
input: AT Translated Set 2 keyboard as /class/input/input0
Loading jbd.ko module
Loading ext3.ko module
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
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!
 >>
here''s the grub.conf
<<
# 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 Scientific Linux CERN SLC (2.6.9-42.0.10.EL.cern)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.0.10.EL.cern ro root=LABEL=/ rhgb 
quiet
        initrd /boot/initrd-2.6.9-42.0.10.EL.cern.img
title Scientific Linux CERN (2.6.9-42.0.2.EL.1.cern)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.0.2.EL.1.cern ro root=LABEL=/ rhgb 
quiet
        initrd /boot/initrd-2.6.9-42.0.2.EL.1.cern.img
title Xen stable
        root (hd0,0)
        kernel /boot/xen.gz dom0_mem=262144
        module /boot/vmlinuz-2.6-xen root=/dev/hda1
        module /boot/initrd-2.6-xen.img
 >>
and
here''s the df command output showing the partition
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1             10080488   5799344   3769076  61% /
/dev/hda2             27372156     77888  25903844   1% /VM1
/dev/hdb1             39516244     81984  37426940   1% /VM2
none                    513768         0    513768   0% /dev/shm
Any suggestion?
Thanks in advance
Danilo
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Prabhakar Chaganti
2007-Mar-22  01:17 UTC
Re: [Xen-users] unable to boot dom0: kernel panic
It seems to be failing even to mount your initrd image. Try compiling support for ext3 into your kernel instead of as a module. -prabhakar On 3/21/07, Danilo Dongiovanni <danilo.dongiovanni@cnaf.infn.it> wrote:> > Hi All, > After successfully installing xen 3.0 on a few machines, now I have a > problem booting xen kernel for a dom0 host domain on a Supermicro PIV 1g > RAM machine with two ide disks with 40gb each. > > Here''s the last lines of the booting before kernel panic > > << > ... > Creating /dev > Starting udev > Loading ide-disk.ko module > ide_disk: no version for "struct module" found: kernel tainted. > input: AT Translated Set 2 keyboard as /class/input/input0 > Loading jbd.ko module > Loading ext3.ko module > Creating root device > Mounting root filesystem > mount: error 6 mounting ext3 > 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! > >> > > > here''s the grub.conf > << > # 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 Scientific Linux CERN SLC (2.6.9-42.0.10.EL.cern) > root (hd0,0) > kernel /boot/vmlinuz-2.6.9-42.0.10.EL.cern ro root=LABEL=/ rhgb > quiet > initrd /boot/initrd-2.6.9-42.0.10.EL.cern.img > title Scientific Linux CERN (2.6.9-42.0.2.EL.1.cern) > root (hd0,0) > kernel /boot/vmlinuz-2.6.9-42.0.2.EL.1.cern ro root=LABEL=/ rhgb > quiet > initrd /boot/initrd-2.6.9-42.0.2.EL.1.cern.img > title Xen stable > root (hd0,0) > kernel /boot/xen.gz dom0_mem=262144 > module /boot/vmlinuz-2.6-xen root=/dev/hda1 > module /boot/initrd-2.6-xen.img > >> > > and > > here''s the df command output showing the partition > # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda1 10080488 5799344 3769076 61% / > /dev/hda2 27372156 77888 25903844 1% /VM1 > /dev/hdb1 39516244 81984 37426940 1% /VM2 > none 513768 0 513768 0% /dev/shm > > > > Any suggestion? > Thanks in advance > Danilo > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 3/21/07, Prabhakar Chaganti <pchaganti@gmail.com> wrote:> It seems to be failing even to mount your initrd image. Try compiling > support for ext3 into your kernel instead of as a module. > > -prabhakarudev is within the image, so it''s ok up to then.> On 3/21/07, Danilo Dongiovanni <danilo.dongiovanni@cnaf.infn.it> wrote: > > Hi All, > > After successfully installing xen 3.0 on a few machines, now I have a > > problem booting xen kernel for a dom0 host domain on a Supermicro PIV 1g > > RAM machine with two ide disks with 40gb each. > > > > Here''s the last lines of the booting before kernel panic > > > > << > > ... > > Creating /dev > > Starting udev > > Loading ide-disk.ko module > > ide_disk: no version for "struct module" found: kernel tainted. > > input: AT Translated Set 2 keyboard as /class/input/input0 > > Loading jbd.ko module > > Loading ext3.ko module > > Creating root device > > Mounting root filesystem > > mount: error 6 mounting ext3 > > 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!Another relevant file is /etc/modprobe.conf. Try "mkinitrd -v --with=scsi_mod ...." to create a new img file. jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users