Stephen Yum
2006-May-17 21:11 UTC
[Xen-users] Xen 3.0.2 on Dell 1850 - unable to recognize root fs on /dev/md2
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@lists.xensource.com http://lists.xensource.com/xen-users
David F Barrera
2006-May-17 21:41 UTC
Re: [Xen-users] Xen 3.0.2 on Dell 1850 - unable to recognize root fs on /dev/md2
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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Stephen Yum
2006-May-20 07:53 UTC
Re: [Xen-users] Xen 3.0.2 on Dell 1850 - unable to recognize root fs on /dev/md2
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@lists.xensource.com >> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users