WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Adit Ranadive <adit.262@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Kernel Panic in booting Xen 3.1 on Dell PowerEdge Server 1950
From: Martin Goldstone <m.j.goldstone@xxxxxxxxxxxxxxx>
Date: Tue, 18 Sep 2007 17:41:20 +0100
Delivery-date: Tue, 18 Sep 2007 09:42:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <d2ad857f0709180924n623f97e3u7df2fc6d3eb6fb8@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d2ad857f0709171707g33fcf5fbn934dc8807719e206@xxxxxxxxxxxxxx> <d2ad857f0709180924n623f97e3u7df2fc6d3eb6fb8@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
-----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-----

Attachment: m.j.goldstone.vcf
Description: Vcard

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