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] Xen 3.0.2 on Dell 1850 - unable to recognize root fs on

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.0.2 on Dell 1850 - unable to recognize root fs on /dev/md2
From: Stephen Yum <steveyum@xxxxxxxxxxxxxx>
Date: Sat, 20 May 2006 00:53:07 -0700
Delivery-date: Sat, 20 May 2006 00:53:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <446B9875.3040404@xxxxxxxxxx>
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: <FC46838A-A626-414C-82E2-2F62773EE7B2@xxxxxxxxxxxxxx> <446B9875.3040404@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks David!

I implemented your suggestion and, while I was at it, added md, raid0 and raid1 statically. I decided to add LVM to the raid partitions and so built that in statically as well. So, here's what the kernel config looks like:

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_RAID6 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_CRYPT is not set
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set

It then recognized the LVs fine, but I ran into a another different problem. It could not open the initial console. After searching the net, someone mentioned that udev must be mounted before a console can be opened. So I did:

# mkinitrd --builtin=mptbase --builtin=mptscsih --builtin=raid0 -- builtin=raid1 /boot/initrd-2.6.16-xen0.img 2.6.16-xen0

and added the following to my menu.lst file:

    module /initrd-2.6.16-xen0.img

and everything booted up fine!

Thanks again.

S

On May 17, 2006, at 2:41 PM, David F Barrera wrote:

Make sure you have SCSI support built in:

# SCSI device support
#
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y


You may also need MPT support:

CONFIG_FUSION=y
CONFIG_FUSION_SPI=y



Stephen Yum wrote:
I'm trying to run Xen 3.0.2 on a Dell 1850 that has the following specs:

2 x dual core 2.8Ghz Xeons
LSI something or rather SCSI controller
2GB of RAM
2 x 73GB Ultra SCSI 320 Maxtor drives

I have the two hard drives in a RAID 1 configuration, where /dev/ md2 is the root partition.

my grub.conf/menu.lst file looks like this:

title Xen 3.0
kernel /xen.gz dom0_mem=65536
module /vmlinuz-2.6-xen root=/dev/md2 ro console=tty0

No matter what I try, it always does a kernel panic complaining about md2. So rather than using the binary files, I compiled a custom kernel with options for SCSI, RAID0, RAID1 and drivers for LSI SCSI stuff built in as static, rather than modules.

Same thing. The boot is always interrupted by the kernel panic complaining about md2. Has someone gotten Xen to run on such a setup? If so, can you offer any pointers?

S

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

--

Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                     Euripides


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


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

<Prev in Thread] Current Thread [Next in Thread>