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.0 + RAID + LVM + CentOS = problem

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
From: Taneli Leppä <taneli@xxxxxxxxxx>
Date: Fri, 09 Dec 2005 10:48:38 +0200
Delivery-date: Fri, 09 Dec 2005 08:47:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0512090037100.8302-100000@xxxxxxxxxxxxxxxxxx>
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>
Organization: Crasman Co Ltd
References: <Pine.LNX.4.44.0512090037100.8302-100000@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.6a1 (Windows/20051206)
Hello,

Yes, the disks are detected fine on the same devices (/dev/sda and
/dev/sdb) on both kernels (regular and Xen dom0 flavor).

Tom Brown wrote:
did it actually find your hard drives? e.g.

   ide: Assuming 33MHz system bus speed for PIO modes; override with
   idebus=xx
   AMD7411: 00:07.1 (rev 01) UDMA100 controller
       ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
       ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
   hda: ST340016A, ATA DISK drive
   hdb: ST380021A, ATA DISK drive

or in scsi flavour (appropriate to many SATA systems) ...


   scsi2 : sata_sil
   ata4: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003
   88:207f
   ata4: dev 0 ATA, max UDMA/133, 320173056 sectors: lba48
   ata4: dev 0 configured for UDMA/100
   scsi3 : sata_sil
     Vendor: ATA       Model: Maxtor 6Y160M0    Rev: YAR5
     Type:   Direct-Access                      ANSI SCSI revision: 05
     Vendor: ATA       Model: Maxtor 6Y160M0    Rev: YAR5
     Type:   Direct-Access                      ANSI SCSI revision: 05
   SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
   SCSI device sda: drive cache: write back
   SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
   SCSI device sda: drive cache: write back
    sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
   Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
   SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB)

If not, then the xen kernel is either missing the drivers you
need or the initrd isn't right or...?


On Fri, 9 Dec 2005, [ISO-8859-1] Taneli Lepp� wrote:

Hello,

I installed CentOS 4.2 (RHEL4 based) on a server (P4 3.4, 4GB mem,
2 x 250GB SATA-drives). I've tried both official Xensource RPMs and
the CentOS RPMs posted by Aaron Weller, but I can't get neither to
work. I'm running LVM on top of software RAID1 (autostarted) and
it works fine on regular CentOS kernel, but the Xen dom0 kernel
doesn't boot. I get:

Loading dm-mod.ko module
device-mapper: 4.4.0-ioctl (2005-01-12) initialized
Loading md.ko module
md: md driver 0.98.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Loading raid1.ko module
md: raid1 personality registered as nr 3
Loading jbd.ko module
Loading ext3.ko module
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
raidautorun: RAID_AUTORUN failed: 19
raidautorun: RAID_AUTORUN failed: 19
Making device-mapper control mode
Scanning logical volumes
   Reading all physical volumes.  This may take a while...
   No volume groups found
Activating logical volumes
   Unable to find volume group "Storage"
ERROR: /bin/lvm exited abnormally! (pid 892)
Creating root device
Creating 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!

And here it ends. The disks are detected fine under Xen as well,
so the problem seems to be RAID autorun. I found a post on some
mailinglist that advised to compile the RAID modules into the
kernel. I tried that but with the same results. I haven't tried
Xen 2.0 yet on this box, but I have another box with similar setup
(LVM on RAID1) with Xen 2.0 which works fine.

Any clues?

--
   Taneli Lepp�         | Crasman Co Ltd
   <taneli@xxxxxxxxxx>  | <http://www.crasman.fi/>

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


----------------------------------------------------------------------
tbrown@xxxxxxxxxxxxx   | Courage is doing what you're afraid to do.
http://BareMetal.com/  | There can be no courage unless you're scared.
                       | - Eddie Rickenbacker



--
  Taneli Leppä         | Crasman Co Ltd
  <taneli@xxxxxxxxxx>  | <http://www.crasman.fi/>


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