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: "Bill Church" <bill.church@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 9 Dec 2005 22:11:10 -0000
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Fri, 09 Dec 2005 22:12:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX8/1MrurTCrl6SR/i8o3Rul0rR6QACy1yg
Thread-topic: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Have you tried booting off the demo CD and then having a poke around? 

I seem to recall that at least at one point, native linux required the
MD and raid stuff to be built into the kernel (rather than a module) for
RAID autodetect to work. Does anyone know if this is still the case?

Ian


> I too am having a similar issue. It actually occurred with 
> and with out LVM, the common denominator was Software RAID 1. 
> I used both the RPM install and the scripted RPM install. I 
> also rebuild the initrd just to make sure it wasn't missing 
> something, but as you can see in the dmesg it looks like it's 
> picking up the modules/drivers for everything. Running CentOS 
> 4.2 and everything boots find with the standard kernel. 
> Hardware is a Pentium 4 D 3.0MHz, Intel 945G chipset, dual 
> SATA Hatachi Drives, and 4GB ram,  if any of that matters.
> 
> Any help would be greatly appreciated, I'd consider going 
> over to Fedora if I thought it would matter but I'm thinking 
> it probably wont.
> 
> Here's the output of my DMESG:
> 
> root (hd0,0)
>  Filesystem type is ext2fs, partition type 0x83 kernel 
> /xen-3.gz com1=115200,8n1
>    [Multiboot-elf, <0x100000:0x631ec:0x2be14>, 
> shtab=0x18f078, entry=0x100000] module 
> /vmlinuz-2.6.12.6-xen3_2.1_rhel4.1 root=/dev/xenvg/dom0_root 
> ro maxcpus=
> 1 console=tty1 console=ttyS0,115200n8
>    [Multiboot-module @ 0x190000, 0x338f50 bytes] module 
> /initrd-2.6.12.6-xen3_2.1_rhel4.1.img
>    [Multiboot-module @ 0x4c9000, 0x218200 bytes]
> 
>  __  __            _____  ___   ___  
>  \ \/ /___ _ __   |___ / / _ \ / _ \ 
>   \  // _ \ '_ \    |_ \| | | | | | |
>   /  \  __/ | | |  ___) | |_| | |_| |
>  /_/\_\___|_| |_| |____(_)___(_)___/ 
>                                      
>  http://www.cl.cam.ac.uk/netos/xen
>  University of Cambridge Computer Laboratory
> 
>  Xen version 3.0.0 (rread@xxxxxxxxxxxxxxxxxxxx) (gcc version 
> 3.4.3 20050227 (Red  Hat 3.4.3-22.1)) Sun Dec  4 10:31:20 PST 
> 2005  Latest ChangeSet: unavailable 
> 
> (XEN) Physical RAM map:
> (XEN)  0000000000000000 - 000000000009f000 (usable)
> (XEN)  000000000009f000 - 00000000000a0000 (reserved)
> (XEN)  00000000000f0000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 00000000cfdf0000 (usable)
> (XEN)  00000000cfdf0000 - 00000000cfe00000 (reserved)
> (XEN)  00000000e0000000 - 00000000f0000000 (reserved)
> (XEN)  00000000fec00000 - 0000000100000000 (reserved)
> (XEN) System RAM: 3325MB (3405372kB)
> (XEN) Xen heap: 10MB (10588kB)
> (XEN) PAE disabled.
> (XEN) found SMP MP-table at 000f35d0
> (XEN) DMI 2.3 present.
> (XEN) Using APIC driver default
> (XEN) ACPI: Unable to locate RSDP
> (XEN) Intel MultiProcessor Specification v1.4
> (XEN)     Virtual Wire compatibility mode.
> (XEN) OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
> (XEN) Processor #0 15:4 APIC version 17
> (XEN) Processor #1 6:1 APIC version 17
> (XEN) I/O APIC #4 Version 17 at 0xFEC00000.
> (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
> (XEN) Processors: 2
> (XEN) Initializing CPU#0
> (XEN) Detected 2992.659 MHz processor.
> (XEN) Using scheduler: Simple EDF Scheduler (sedf)
> (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
> (XEN) CPU: L2 cache: 1024K
> (XEN) CPU: Physical Processor ID: 0
> (XEN) CPU: Processor Core ID: 0
> (XEN) CPU0: Intel(R) Pentium(R) D CPU 3.00GHz stepping 04
> (XEN) Booting processor 1/1 eip 90000
> (XEN) Initializing CPU#1
> (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
> (XEN) CPU: L2 cache: 1024K
> (XEN) CPU: Physical Processor ID: 0
> (XEN) CPU: Processor Core ID: 1
> (XEN) CPU1: Intel(R) Pentium(R) D CPU 3.00GHz stepping 04
> (XEN) Total of 2 processors activated.
> (XEN) ENABLING IO-APIC IRQs
> (XEN) ..TIMER: vector=0x31 pin1=2 pin2=0
> (XEN) checking TSC synchronization across 2 CPUs: passed.
> (XEN) Platform timer is 1.193MHz PIT
> (XEN) Brought up 2 CPUs
> (XEN) mtrr: v2.0 (20020519)
> (XEN) mtrr: your CPUs had inconsistent variable MTRR settings
> (XEN) mtrr: probably your BIOS does not setup all CPUs.
> (XEN) mtrr: corrected configuration.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Xen-ELF header found:
> 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_B
> ASE=0xC0000000,PAE=no,LOADER=generic'
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   03000000->04000000 (805491 pages to be 
> allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: c0100000->c04752c0
> (XEN)  Init. ramdisk: c0476000->c068e200
> (XEN)  Phys-Mach map: c068f000->c09a59cc
> (XEN)  Start info:    c09a6000->c09a7000
> (XEN)  Page tables:   c09a7000->c09ab000
> (XEN)  Boot stack:    c09ab000->c09ac000
> (XEN)  TOTAL:         c0000000->c0c00000
> (XEN)  ENTRY ADDRESS: c0100000
> (XEN) Initrd len 0x218200, start at 0xc0476000
> (XEN) Scrubbing Free RAM: ..................................done.
> (XEN) Xen trace buffers: disabled
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to 
> switch input to Xen ).
> Linux version 2.6.12.6-xen3_2.1_rhel4.1
> (rread@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
>  (gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)) #1 SMP Sun 
> Dec 4 10:45:29 PST
>  2005
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 00000000c5a73000 (usable) 2338MB 
> HIGHMEM available.
> 832MB LOWMEM available.
> found SMP MP-table at 000f35d0
> DMI 2.3 present.
> ACPI: Unable to locate RSDP
> Intel MultiProcessor Specification v1.4
>     Virtual Wire compatibility mode.
> OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 
> I/O APIC #4 Version 17 at 0xFEC00000.
> Enabling APIC mode:  Flat.  Using 1 I/O APICs
> Processors: 2
> IRQ lockup detection disabled
> Allocating PCI resources starting at cfe00000 (gap: 
> cfe00000:10200000) Built 1 zonelists Kernel command line: 
> root=/dev/xenvg/dom0_root ro maxcpus=1 console=tty1 console
> =ttyS0,115200n8
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 65536 bytes) Xen 
> reported: 2992.658 MHz processor.
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 131072 (order: 7, 524288 
> bytes) Inode-cache hash table entries: 65536 (order: 6, 
> 262144 bytes) Software IO TLB enabled: 
>  Aperture:     64 megabytes
>  Bus range:    0x0000000040000000 - 0x0000000044000000
>  Kernel range: 0x00000000c29e8000 - 0x00000000c69e8000 
> vmalloc area: f4800000-fb7fe000, maxmem 34000000
> Memory: 3134948k/3246540k available (2184k kernel code, 
> 102236k reserved, 883k d ata, 184k init, 2394572k highmem) 
> Checking if this processor honours the WP bit even in 
> supervisor mode... Ok.
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512
> CPU: Trace cache: 12K uops, L1 D cache: 16K
> CPU: L2 cache: 1024K
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... disabled
> ENABLING IO-APIC IRQs
> Brought up 1 CPUs
> checking if image is initramfs... it is
> Freeing initrd memory: 2144k freed
> NET: Registered protocol family 16
> PCI: Using configuration type 1
> ACPI: Subsystem revision 20050309
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> xen_mem: Initialising balloon driver.
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
> PCI: Transparent bridge - 0000:00:1e.0
> PCI->APIC IRQ transform: 0000:00:02.0[A] -> IRQ 16 APIC IRQ 
> transform: 
> PCI->0000:00:1c.0[A] -> IRQ 16 APIC IRQ transform: 0000:00:1d.0[A] -> 
> PCI->IRQ 23 APIC IRQ transform: 0000:00:1d.1[B] -> IRQ 19 APIC IRQ 
> PCI->transform: 0000:00:1d.2[C] -> IRQ 18 APIC IRQ transform: 
> PCI->0000:00:1d.3[D] -> IRQ 16 APIC IRQ transform: 0000:00:1d.7[A] -> 
> PCI->IRQ 23 APIC IRQ transform: 0000:00:1f.1[A] -> IRQ 16 APIC IRQ 
> PCI->transform: 0000:00:1f.2[B] -> IRQ 19 APIC IRQ transform: 
> PCI->0000:00:1f.3[B] -> IRQ 19 APIC IRQ transform: 0000:01:00.0[A] -> 
> PCI->IRQ 16 APIC IRQ transform: 0000:02:01.0[A] -> IRQ 21
> Grant table initialized
> IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx> 
> highmem bounce pool size: 64 pages
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) 
> Initializing Cryptographic API
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> PNP: No PS/2 controller found. Probing ports directly.
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1 io scheduler noop 
> registered io scheduler anticipatory registered io scheduler 
> deadline registered io scheduler cfq registered RAMDISK 
> driver initialized: 16 RAM disks of 8192K size 1024 blocksize 
> Xen virtual console successfully installed as ttyS0 
> Event-channel device installed.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override 
> with idebus=xx
> ICH7: IDE controller at PCI slot 0000:00:1f.1
> ICH7: chipset revision 1
> ICH7: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xf800-0xf807, BIOS settings: hda:pio, hdb:DMA
> hdb: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive ide0 at 
> 0x1f0-0x1f7,0x3f6 on irq 14
> hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, 
> UDMA(33) Uniform CD-ROM driver Revision: 3.20 ide-floppy 
> driver 0.99.newide ehci_hcd 0000:00:1d.7: Intel Corporation 
> I/O Controller Hub EHCI USB ehci_hcd 0000:00:1d.7: new USB 
> bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: 
> irq 23, io mem 0xfdfff000 ehci_hcd 0000:00:1d.7: USB 2.0 
> initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB 
> hub found hub 1-0:1.0: 8 ports detected
> mice: PS/2 mouse device common for all mice
> NET: Registered protocol family 2
> input: AT Translated Set 2 keyboard on isa0060/serio0
> IP: routing cache hash table of 32768 buckets, 256Kbytes TCP 
> established hash table entries: 524288 (order: 10, 4194304 
> bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
> TCP: Hash tables configured (established 524288 bind 65536)
> NET: Registered protocol family 8
> NET: Registered protocol family 20
> Freeing unused kernel memory: 184k freed Red Hat nash version 
> 4.2.1.6 starting Mounted /proc filesystem Mounting sysfs 
> Creating /dev Starting udev Loading scsi_mod.ko module
> scsi_mod: no version for "struct_module" found: kernel tainted.
> SCSI subsystem initialized
> Loading sd_mod.ko module
> Loading libata.ko module
> Loading ata_piix.ko module
> ata1: SATA max UDMA/133 cmd 0xF700 ctl 0xF602 bmdma 0xF300 irq 19
> ata2: SATA max UDMA/133 cmd 0xF500 ctl 0xF402 bmdma 0xF308 irq 19
> input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
> ata1: dev 0 ATA, max UDMA/100, 321672960 sectors: lba48
> ata1: dev 0 configured for UDMA/100
> scsi0 : ata_piix
> ata2: dev 0 ATA, max UDMA/100, 321672960 sectors: lba48
> ata2: dev 0 configured for UDMA/100
> scsi1 : ata_piix
>   Vendor: ATA       Model: HDS722516VLSA80   Rev: V34O
>   Type:   Direct-Access                      ANSI SCSI revision: 05
> SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB) 
> SCSI device sda: drive cache: write back SCSI device sda: 
> 321672960 512-byte hdwr sectors (164697 MB) SCSI device sda: 
> drive cache: write back
>  sda: sda1 sda2
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
>   Vendor: ATA       Model: HDS722516VLSA80   Rev: V34O
>   Type:   Direct-Access                      ANSI SCSI revision: 05
> SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB) 
> SCSI device sdb: drive cache: write back SCSI device sdb: 
> 321672960 512-byte hdwr sectors (164697 MB) SCSI device sdb: 
> drive cache: write back
>  sdb: sdb1 sdb2
> Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 
> Loading dm-mod.ko module
> device-mapper: 4.4.0-ioctl (2005-01-12) initialised: 
> dm-devel@xxxxxxxxxx Loading md.ko module
> md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 Loading 
> raid1.ko module
> md: raid1 personality registered as nr 3 Loading dm-mirror.ko 
> module Loading dm-zero.ko module Loading dm-snapshot.ko module
> raidautorun: RAID_AUTORUN failed: 19
> Making device-mapper control node
> Scanning logical volumes
>   Reading all physical volumes.  This may take a while...
> cdrom: open failed.
>   No volume groups found
> Activating logical volumes
> cdrom: open failed.
>   Unable to find volume group "xenvg"
> ERROR: /bin/lvm exited abnormally! (pid 794) Creating root 
> device Mounting root filesystem
> mount: error 6 mounting ext2
> 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!
>  (XEN) Domain 0 shutdown: rebooting machine.
> 
> 
> _______________________________________________
> 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