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

Re: [Xen-users] Kernel Panic in booting Xen 3.1 on Dell PowerEdge Server 1950


  • To: "Martin Goldstone" <m.j.goldstone@xxxxxxxxxxxxxxx>
  • From: "Adit Ranadive" <adit.262@xxxxxxxxx>
  • Date: Tue, 18 Sep 2007 14:35:15 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 18 Sep 2007 11:42:17 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z+PkMJEU8Wa3yak+aVxYPsE2W1rio94qPj7k88mcCGESy1BvYm0XQ5ao9+jQ0M/7UlYGzzeeA1AnaeG5T1K2bJ68/Djd7uZGT/x4k30/qynJXpcJKr4l+ST+l/KilrtnTe6qvkJVQwVNq0u4tsAwNMwK2HRSOeypzC8CVR162fw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Oops .. sorry about that .. Here is the xen 3.1 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-3.1.0.gz
        module /vmlinuz-2.6.18-xen ro root=/dev/sdb2 console=tty0
        module /initrd-xen.img

Nothing unusual about the lines above the kernel panic just the
regular init stuff.

I did depmod before mkinitrd but the initrd doesnt seem to be picking
up the ehci-hcd module for some reason.
Did you have to do any special config changes to make the initial ramdisk ?

Thanks,
Adit


On 9/18/07, Martin Goldstone <m.j.goldstone@xxxxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I've got Xen 3.1 running on a couple of 1950's here with SAS drives (I'm
> running CentOS 5 though, not RHEL4u5, but I can't see that causing the
> problem you're seeing).  I encountered a few problems to begin with, and
> one or two still trip me up when I set up a new server (I swear,
> sometimes it can't decide whether it wants root=LABEL=/ or
> root=/dev/sdXX, mostly its the latter IIRC).  You might want to try
> playing with that.
>
> I know it might seem stupid, but you did depmod it, didn't you?  That
> caught me out on a couple of occasions.  I'd also make sure you
> explicitly include sd_mod, scsi_mod and any megaraid modules you can
> find in your initrd. Also, your grub.conf doesn't show the same files
> that your mkinitrd command does, can you verify you are definately using
> a kernel that was compiled with xen 3.1?
>
> Also, is there any meaningful output above those lines that you've
> mentioned from the panic?
>
> Hope this helps,
>
> Mart
>
> Adit Ranadive wrote:
> > 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
> >
> >
>
> - --
> Martin Goldstone                Keele University, Keele,
> IT Systems Administrator        Staffordshire, United Kingdom, ST5 5BG
> Computing Services              Telephone: +44 1782 584457
>
> "I feel a great disturbance in the network, as if millions of
> processes cried out in terror and were suddenly silenced"
>                                                 Boyd Duffee
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG7/+vRnwIDhcMR9MRArV3AKC4F4bZKjwo6jUN9imfsIQAWSJ/GwCcCmxj
> nD71bgZkj1V0LXsklihbupg=
> =PHhP
> -----END PGP SIGNATURE-----
>
>


-- 
Adit Ranadive
MS CS Candidate
Georgia Institute of Technology,
Atlanta, GA

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