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@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Taneli Leppä
2005-Dec-09 08:48 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
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@crasman.fi> | <http://www.crasman.fi/> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > ---------------------------------------------------------------------- > tbrown@BareMetal.com | 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@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vincent Hanquez
2005-Dec-09 12:36 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
On Fri, Dec 09, 2005 at 10:48:38AM +0200, Taneli Leppä wrote:> Yes, the disks are detected fine on the same devices (/dev/sda and > /dev/sdb) on both kernels (regular and Xen dom0 flavor).please provide full dmesg (regular and dom0) and your hardware specs (motherboard/chipset and raid cards will do) -- Vincent Hanquez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Taneli Leppä
2005-Dec-09 14:26 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Hi, Vincent Hanquez wrote:> On Fri, Dec 09, 2005 at 10:48:38AM +0200, Taneli Leppä wrote: >> Yes, the disks are detected fine on the same devices (/dev/sda and >> /dev/sdb) on both kernels (regular and Xen dom0 flavor). > please provide full dmesg (regular and dom0) and your hardware specs > (motherboard/chipset and raid cards will do)Here''s the output from serial console (the error messages I posted earlier don''t seem to appear in the serial console output, however they are visible in the real console output): __ __ _____ ___ ___ \ \/ /___ _ __ |___ / / _ \ / _ \ \ // _ \ ''_ \ |_ \| | | | | | | / \ __/ | | | ___) | |_| | |_| | /_/\_\___|_| |_| |____(_)___(_)___/ http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.0 (rread@eng.hq.xensource.com) (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 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000dfe50000 (usable) (XEN) 00000000dfe50000 - 00000000dfee9000 (ACPI NVS) (XEN) 00000000dfee9000 - 00000000dfeed000 (usable) (XEN) 00000000dfeed000 - 00000000dfeff000 (ACPI data) (XEN) 00000000dfeff000 - 00000000dff00000 (usable) (XEN) System RAM: 3581MB (3667920kB) (XEN) Xen heap: 10MB (10580kB) (XEN) PAE disabled. (XEN) found SMP MP-table at 000fe680 (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 INTEL ) @ 0x000fe020 (XEN) ACPI: RSDT (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfefde48 (XEN) ACPI: FADT (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfefcf10 (XEN) ACPI: MADT (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfefce10 (XEN) ACPI: WDDT (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfef7f90 (XEN) ACPI: MCFG (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfef7f10 (XEN) ACPI: ASF! (v032 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0xdfefcd10 (XEN) ACPI: SSDT (v001 INTEL CpuPm 0x00000032 MSFT 0x01000013) @ 0xdfefdc10 (XEN) ACPI: SSDT (v001 INTEL Cpu0Ist 0x00000032 MSFT 0x01000013) @ 0xdfefda10 (XEN) ACPI: SSDT (v001 INTEL Cpu1Ist 0x00000032 MSFT 0x01000013) @ 0xdfefd810 (XEN) ACPI: SSDT (v001 INTEL Cpu2Ist 0x00000032 MSFT 0x01000013) @ 0xdfefd610 (XEN) ACPI: SSDT (v001 INTEL Cpu3Ist 0x00000032 MSFT 0x01000013) @ 0xdfefd410 (XEN) ACPI: DSDT (v001 INTEL D945PSN 0x00000032 MSFT 0x01000013) @ 0x00000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 15:4 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 15:4 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1]) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Initializing CPU#0 (XEN) Detected 3400.170 MHz processor. (XEN) Using scheduler: Simple EDF Scheduler (sedf) (XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K (XEN) CPU: L2 cache: 2048K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU0: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 03 (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: 2048K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU1: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 03 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1 (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) *** LOADING DOMAIN 0 *** (XEN) Xen-ELF header found: ''GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=generic'' (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 03000000->04000000 (870742 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: c0100000->c04752c0 (XEN) Init. ramdisk: c0476000->c06c7600 (XEN) Phys-Mach map: c06c8000->c0a1e558 (XEN) Start info: c0a1f000->c0a20000 (XEN) Page tables: c0a20000->c0a24000 (XEN) Boot stack: c0a24000->c0a25000 (XEN) TOTAL: c0000000->c0c00000 (XEN) ENTRY ADDRESS: c0100000 (XEN) Initrd len 0x251600, 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 (root@xendev2) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Thu Dec 8 16:55:39 EET 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 00000000d5956000 (usable) 2593MB HIGHMEM available. 832MB LOWMEM available. found SMP MP-table at 000fe680 DMI 2.3 present. ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1]) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information IRQ lockup detection disabled Allocating PCI resources starting at dff00000 (gap: dff00000:20100000) Built 1 zonelists Kernel command line: root=/dev/Storage/RootFS ro maxcpus=1 com1=9600,8n1 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Xen reported: 3400.170 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: 0x00000000c2be6000 - 0x00000000c6be6000 vmalloc area: f4800000-fb7fe000, maxmem 34000000 Memory: 3393280k/3507544k available (2184k kernel code, 104760k reserved, 883k data, 184k init, 2655576k 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: 2048K 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: 2373k freed NET: Registered protocol family 16 PCI: Using MMCONFIG ACPI: Subsystem revision 20050309 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *9 10 11 12) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 *10 11 12) 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: Using ACPI for IRQ routing PCI: If a device doesn''t work, try "pci=routeirq". If it helps, post a report Grant table initialized Number of CPUs sharing cache didn''t match any known set of CPUs Number of CPUs sharing cache didn''t match any known set of CPUs IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> 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 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18 ICH7: chipset revision 1 ICH7: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x30b0-0x30b7, BIOS settings: hda:pio, hdb:DMA hdb: HL-DT-STDVD-ROM GDR8164B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdb: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 ide-floppy driver 0.99.newide ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: Intel Corporation I/O Controller Hub EHCI USB ehci_hcd 0000:00:1d.7: debug port 1 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe8304000 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 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 scsi_mod: no version for "struct_module" found: kernel tainted. SCSI subsystem initialized ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 ata1: SATA max UDMA/133 cmd 0x30C8 ctl 0x30E6 bmdma 0x30A0 irq 19 ata2: SATA max UDMA/133 cmd 0x30C0 ctl 0x30E2 bmdma 0x30A8 irq 19 input: AT Translated Set 2 keyboard on isa0060/serio0 ata1: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 ata1: dev 0 configured for UDMA/133 scsi0 : ata_piix ata2: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 ata2: dev 0 configured for UDMA/133 scsi1 : ata_piix Vendor: ATA Model: ST3250823AS Rev: 3.03 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 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Vendor: ATA Model: ST3250823AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb3 Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: raid1 personality registered as nr 3 Kernel panic - not syncing: Attempted to kill init! (XEN) Domain 0 shutdown: rebooting machine. Hardware configuration: - Intel Pentium 4 3.4 GHz - Intel D945P motherboard - 4GB DDR2 memory - 2 250GB Seagate SATA drives - Radeon X300SE Software setup: - CentOS 4.2 w/ all updates - Software RAID1 - LVM2 on /dev/md* devices - Boots directly from "Linux raid autodetect" partition - Separate small partition for /boot Partition table from /dev/sda: Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 33 265041 fd Linux raid autodetect /dev/sda2 34 555 4192965 82 Linux swap /dev/sda3 556 30401 239737995 fd Linux raid autodetect I guess the error code is ENODEV. I guess it looks a bit like it''s not seeing the disks properly even thought the boot messages claims so. Is there a easy way to boot to the initrd shell and look things from there? I tried root=/dev/ram0 init=/bin/nash but with no luck. -- Taneli Leppä | Crasman Co Ltd <taneli@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Linux version 2.6.12.6-xen3_2.1_rhel4.1 (root@xendev2) (gcc version > 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Thu Dec 8 16:55:39 EET 2005This looks like a DIY build. Did you change the config at all? Have you tried booting the demo CD and having a poke around? Ian> BIOS-provided physical RAM map: > Xen: 0000000000000000 - 00000000d5956000 (usable) > 2593MB HIGHMEM available. > 832MB LOWMEM available. > found SMP MP-table at 000fe680 > DMI 2.3 present. > ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) > ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) > ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) > ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) > ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1]) > ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1]) > ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) > IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 > ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) > ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) > Enabling APIC mode: Flat. Using 1 I/O APICs > Using ACPI (MADT) for SMP configuration information > IRQ lockup detection disabled > Allocating PCI resources starting at dff00000 (gap: dff00000:20100000) > Built 1 zonelists > Kernel command line: root=/dev/Storage/RootFS ro maxcpus=1 > com1=9600,8n1 > Initializing CPU#0 > PID hash table entries: 4096 (order: 12, 65536 bytes) > Xen reported: 3400.170 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: 0x00000000c2be6000 - 0x00000000c6be6000 > vmalloc area: f4800000-fb7fe000, maxmem 34000000 > Memory: 3393280k/3507544k available (2184k kernel code, 104760k > reserved, 883k data, 184k init, 2655576k 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: 2048K > 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: 2373k freed > NET: Registered protocol family 16 > PCI: Using MMCONFIG > ACPI: Subsystem revision 20050309 > ACPI: Interpreter enabled > ACPI: Using IOAPIC for interrupt routing > ACPI: PCI Root Bridge [PCI0] (0000:00) > PCI: Probing PCI hardware (bus 00) > PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 > PCI: Transparent bridge - 0000:00:1e.0 > ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12) > ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12) > ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12) > ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12) > ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12) *0, > disabled. > ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12) *0, > disabled. > ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *9 10 11 12) > ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 *10 11 12) > 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: Using ACPI for IRQ routing > PCI: If a device doesn''t work, try "pci=routeirq". If it > helps, post a > report > Grant table initialized > Number of CPUs sharing cache didn''t match any known set of CPUs > Number of CPUs sharing cache didn''t match any known set of CPUs > IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> > 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 > ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18 > ICH7: chipset revision 1 > ICH7: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0x30b0-0x30b7, BIOS settings: hda:pio, hdb:DMA > hdb: HL-DT-STDVD-ROM GDR8164B, ATAPI CD/DVD-ROM drive > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > hdb: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33) > Uniform CD-ROM driver Revision: 3.20 > ide-floppy driver 0.99.newide > ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23 > ehci_hcd 0000:00:1d.7: Intel Corporation I/O Controller Hub EHCI USB > ehci_hcd 0000:00:1d.7: debug port 1 > ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 > ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe8304000 > 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 > 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 > scsi_mod: no version for "struct_module" found: kernel tainted. > SCSI subsystem initialized > ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 > ata1: SATA max UDMA/133 cmd 0x30C8 ctl 0x30E6 bmdma 0x30A0 irq 19 > ata2: SATA max UDMA/133 cmd 0x30C0 ctl 0x30E2 bmdma 0x30A8 irq 19 > input: AT Translated Set 2 keyboard on isa0060/serio0 > ata1: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 > ata1: dev 0 configured for UDMA/133 > scsi0 : ata_piix > ata2: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 > ata2: dev 0 configured for UDMA/133 > scsi1 : ata_piix > Vendor: ATA Model: ST3250823AS Rev: 3.03 > 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 > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 > Vendor: ATA Model: ST3250823AS Rev: 3.03 > Type: Direct-Access ANSI SCSI revision: 05 > SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) > SCSI device sdb: drive cache: write back > SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) > SCSI device sdb: drive cache: write back > sdb: sdb1 sdb2 sdb3 > Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 > device-mapper: 4.4.0-ioctl (2005-01-12) initialised: > dm-devel@redhat.com > md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: raid1 personality registered as nr 3 > Kernel panic - not syncing: Attempted to kill init! > (XEN) Domain 0 shutdown: rebooting machine. > > Hardware configuration: > > - Intel Pentium 4 3.4 GHz > - Intel D945P motherboard > - 4GB DDR2 memory > - 2 250GB Seagate SATA drives > - Radeon X300SE > > Software setup: > > - CentOS 4.2 w/ all updates > - Software RAID1 > - LVM2 on /dev/md* devices > - Boots directly from "Linux raid autodetect" partition > - Separate small partition for /boot > > Partition table from /dev/sda: > > Disk /dev/sda: 250.0 GB, 250059350016 bytes > 255 heads, 63 sectors/track, 30401 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 33 265041 fd Linux raid > autodetect > /dev/sda2 34 555 4192965 82 Linux swap > /dev/sda3 556 30401 239737995 fd Linux raid > autodetect > > I guess the error code is ENODEV. I guess it looks a bit like > it''s not seeing the disks properly even thought the boot messages > claims so. > > Is there a easy way to boot to the initrd shell and look things > from there? I tried root=/dev/ram0 init=/bin/nash but with no luck. > > -- > Taneli Leppä | Crasman Co Ltd > <taneli@crasman.fi> | <http://www.crasman.fi/> > > _______________________________________________ > 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
Taneli Leppä
2005-Dec-09 15:03 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Hi, Yes, this is built from a source RPM (config was modified to put all CONFIG_MD_* stuff as compiled in, not module). Both pre-built (official Xensource packages and unofficial CentOS) packages produce the same symptoms. I''ll try the demo CD. Ian Pratt wrote:>> Linux version 2.6.12.6-xen3_2.1_rhel4.1 (root@xendev2) (gcc version >> 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Thu Dec 8 16:55:39 EET 2005 > This looks like a DIY build. Did you change the config at all? > Have you tried booting the demo CD and having a poke around? > > Ian > > >> BIOS-provided physical RAM map: >> Xen: 0000000000000000 - 00000000d5956000 (usable) >> 2593MB HIGHMEM available. >> 832MB LOWMEM available. >> found SMP MP-table at 000fe680 >> DMI 2.3 present. >> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) >> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) >> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) >> ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) >> ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1]) >> ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1]) >> ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) >> IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 >> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) >> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) >> Enabling APIC mode: Flat. Using 1 I/O APICs >> Using ACPI (MADT) for SMP configuration information >> IRQ lockup detection disabled >> Allocating PCI resources starting at dff00000 (gap: dff00000:20100000) >> Built 1 zonelists >> Kernel command line: root=/dev/Storage/RootFS ro maxcpus=1 >> com1=9600,8n1 >> Initializing CPU#0 >> PID hash table entries: 4096 (order: 12, 65536 bytes) >> Xen reported: 3400.170 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: 0x00000000c2be6000 - 0x00000000c6be6000 >> vmalloc area: f4800000-fb7fe000, maxmem 34000000 >> Memory: 3393280k/3507544k available (2184k kernel code, 104760k >> reserved, 883k data, 184k init, 2655576k 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: 2048K >> 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: 2373k freed >> NET: Registered protocol family 16 >> PCI: Using MMCONFIG >> ACPI: Subsystem revision 20050309 >> ACPI: Interpreter enabled >> ACPI: Using IOAPIC for interrupt routing >> ACPI: PCI Root Bridge [PCI0] (0000:00) >> PCI: Probing PCI hardware (bus 00) >> PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 >> PCI: Transparent bridge - 0000:00:1e.0 >> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12) >> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12) >> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12) >> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12) >> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12) *0, >> disabled. >> ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12) *0, >> disabled. >> ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *9 10 11 12) >> ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 *10 11 12) >> 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: Using ACPI for IRQ routing >> PCI: If a device doesn''t work, try "pci=routeirq". If it >> helps, post a >> report >> Grant table initialized >> Number of CPUs sharing cache didn''t match any known set of CPUs >> Number of CPUs sharing cache didn''t match any known set of CPUs >> IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> >> 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 >> ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18 >> ICH7: chipset revision 1 >> ICH7: not 100% native mode: will probe irqs later >> ide0: BM-DMA at 0x30b0-0x30b7, BIOS settings: hda:pio, hdb:DMA >> hdb: HL-DT-STDVD-ROM GDR8164B, ATAPI CD/DVD-ROM drive >> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 >> hdb: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33) >> Uniform CD-ROM driver Revision: 3.20 >> ide-floppy driver 0.99.newide >> ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23 >> ehci_hcd 0000:00:1d.7: Intel Corporation I/O Controller Hub EHCI USB >> ehci_hcd 0000:00:1d.7: debug port 1 >> ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 >> ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe8304000 >> 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 >> 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 >> scsi_mod: no version for "struct_module" found: kernel tainted. >> SCSI subsystem initialized >> ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 >> ata1: SATA max UDMA/133 cmd 0x30C8 ctl 0x30E6 bmdma 0x30A0 irq 19 >> ata2: SATA max UDMA/133 cmd 0x30C0 ctl 0x30E2 bmdma 0x30A8 irq 19 >> input: AT Translated Set 2 keyboard on isa0060/serio0 >> ata1: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 >> ata1: dev 0 configured for UDMA/133 >> scsi0 : ata_piix >> ata2: dev 0 ATA, max UDMA/133, 488397168 sectors: lba48 >> ata2: dev 0 configured for UDMA/133 >> scsi1 : ata_piix >> Vendor: ATA Model: ST3250823AS Rev: 3.03 >> 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 >> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 >> Vendor: ATA Model: ST3250823AS Rev: 3.03 >> Type: Direct-Access ANSI SCSI revision: 05 >> SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) >> SCSI device sdb: drive cache: write back >> SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) >> SCSI device sdb: drive cache: write back >> sdb: sdb1 sdb2 sdb3 >> Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 >> device-mapper: 4.4.0-ioctl (2005-01-12) initialised: >> dm-devel@redhat.com >> md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 >> md: raid1 personality registered as nr 3 >> Kernel panic - not syncing: Attempted to kill init! >> (XEN) Domain 0 shutdown: rebooting machine. >> >> Hardware configuration: >> >> - Intel Pentium 4 3.4 GHz >> - Intel D945P motherboard >> - 4GB DDR2 memory >> - 2 250GB Seagate SATA drives >> - Radeon X300SE >> >> Software setup: >> >> - CentOS 4.2 w/ all updates >> - Software RAID1 >> - LVM2 on /dev/md* devices >> - Boots directly from "Linux raid autodetect" partition >> - Separate small partition for /boot >> >> Partition table from /dev/sda: >> >> Disk /dev/sda: 250.0 GB, 250059350016 bytes >> 255 heads, 63 sectors/track, 30401 cylinders >> Units = cylinders of 16065 * 512 = 8225280 bytes >> >> Device Boot Start End Blocks Id System >> /dev/sda1 * 1 33 265041 fd Linux raid >> autodetect >> /dev/sda2 34 555 4192965 82 Linux swap >> /dev/sda3 556 30401 239737995 fd Linux raid >> autodetect >> >> I guess the error code is ENODEV. I guess it looks a bit like >> it''s not seeing the disks properly even thought the boot messages >> claims so. >> >> Is there a easy way to boot to the initrd shell and look things >> from there? I tried root=/dev/ram0 init=/bin/nash but with no luck. >> >> -- >> Taneli Leppä | Crasman Co Ltd >> <taneli@crasman.fi> | <http://www.crasman.fi/> >> >> _______________________________________________ >> 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-- Taneli Leppä | Crasman Co Ltd <taneli@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-09 20:29 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
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 maxcpus1 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@eng.hq.xensource.com) (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@rhel41build.eng.hq.xensource.com) (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 PCI->APIC IRQ transform: 0000:00:1c.0[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1d.0[A] -> IRQ 23 PCI->APIC IRQ transform: 0000:00:1d.1[B] -> IRQ 19 PCI->APIC IRQ transform: 0000:00:1d.2[C] -> IRQ 18 PCI->APIC IRQ transform: 0000:00:1d.3[D] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1d.7[A] -> IRQ 23 PCI->APIC IRQ transform: 0000:00:1f.1[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:00:1f.2[B] -> IRQ 19 PCI->APIC IRQ transform: 0000:00:1f.3[B] -> IRQ 19 PCI->APIC IRQ transform: 0000:01:00.0[A] -> IRQ 16 PCI->APIC IRQ transform: 0000:02:01.0[A] -> IRQ 21 Grant table initialized IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> 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@redhat.com 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@lists.xensource.com http://lists.xensource.com/xen-users
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@eng.hq.xensource.com) (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@rhel41build.eng.hq.xensource.com) > (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@veritas.com> > 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@redhat.com 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sean D''Epagnier
2005-Dec-09 22:44 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Please correct me if I''m wrong, but I recall, raid should work as a module if you have it in an initrd. Raid must be loaded in the kernel before the raid devices can be mounted. With raid1 (and only raid1) it may be possible to mount one of the drives as if it is not raid for readonly, and load the module that way, then unmount it and mount the raid filesystems. On 12/9/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:> > > 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@eng.hq.xensource.com) (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@rhel41build.eng.hq.xensource.com) > > (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@veritas.com> > > 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@redhat.com 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > 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
Bill Church
2005-Dec-09 22:48 UTC
RE: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Well, from CentOS it looks like it''s a module / initrd so that''s out. Downloading both demo and test cds now to see what they say. -Bill On Fri, 2005-12-09 at 22:11 +0000, Ian Pratt wrote:> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-09 22:57 UTC
RE: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Okay, booting up to the Demo CD. Boots fine, however during init I get the same error: raidautorun: RAID_AUTORUN failed: 19 I even tried setting the raid config in the kernel parameters in grub at boot: md=0,/dev/sda2,/dev/sdb2 cat /proc/mdstat shows nothing, any clues? -Bill On Fri, 2005-12-09 at 22:11 +0000, Ian Pratt wrote:> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-09 23:06 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
It''s a good possibility, maybe for disaster recovery or something of that nature it would be good, but for production that wouldn''t be suitable, especially since it works properly with the original distributions kernel. Something is amiss here with the kernel I think. -Bill On Fri, 2005-12-09 at 17:44 -0500, Sean D''Epagnier wrote:> Please correct me if I''m wrong, but I recall, raid should work as a > module if you have it in an initrd. Raid must be loaded in the kernel > before the raid devices can be mounted. > > With raid1 (and only raid1) it may be possible to mount one of the > drives as if it is not raid for readonly, and load the module that > way, then unmount it and mount the raid filesystems. > > On 12/9/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote: > > 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Okay, booting up to the Demo CD. Boots fine, however during > init I get the same error: > > raidautorun: RAID_AUTORUN failed: 19Do all the modules appear to be loaded OK (cat /proc/modules)? Can you mount the raidset manually? I''d be rather surprised if raid itself wasn''t working, but then its hard to understand why the autodetect stuff wouldn''t work. Ian> I even tried setting the raid config in the kernel parameters > in grub at > boot: > > md=0,/dev/sda2,/dev/sdb2 > > cat /proc/mdstat shows nothing, any clues? > > -Bill > > On Fri, 2005-12-09 at 22:11 +0000, Ian Pratt wrote: > > 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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-09 23:30 UTC
RE: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Yes, the md driver is there, and I can modprobe raid1. however I can''t see /dev/md0 with anything. I installed the mdadm tools and they are of no help as well. fdisk sees the raid partitions though. -Bill On Fri, 2005-12-09 at 23:17 +0000, Ian Pratt wrote:> > Okay, booting up to the Demo CD. Boots fine, however during > > init I get the same error: > > > > raidautorun: RAID_AUTORUN failed: 19 > > Do all the modules appear to be loaded OK (cat /proc/modules)? > > Can you mount the raidset manually? > > I''d be rather surprised if raid itself wasn''t working, but then its hard > to understand why the autodetect stuff wouldn''t work. > > Ian > > > I even tried setting the raid config in the kernel parameters > > in grub at > > boot: > > > > md=0,/dev/sda2,/dev/sdb2 > > > > cat /proc/mdstat shows nothing, any clues? > > > > -Bill > > > > On Fri, 2005-12-09 at 22:11 +0000, Ian Pratt wrote: > > > 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 > > > > > > > > _______________________________________________ > 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
Vincent Hanquez
2005-Dec-10 05:32 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
On Fri, Dec 09, 2005 at 05:03:52PM +0200, Taneli Leppä wrote:> >> Device Boot Start End Blocks Id System > >>/dev/sda1 * 1 33 265041 fd Linux raid > >>autodetect > >>/dev/sda2 34 555 4192965 82 Linux swap > >>/dev/sda3 556 30401 239737995 fd Linux raid > >>autodetectOn Fri, Dec 09, 2005 at 06:30:18PM -0500, Bill Church wrote:> Yes, the md driver is there, and I can modprobe raid1. however I can''t > see /dev/md0 with anything. I installed the mdadm tools and they are of > no help as well. > > fdisk sees the raid partitions though.guys, are you able to mount single partition from the raid array on the demo cd ? like mounting just sda1 *or* sdb1 ? and if yes, are you able to read what''s on the partition correctly ? Cheers, -- Vincent Hanquez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Taneli Leppä
2005-Dec-12 09:12 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem
Hi, Vincent Hanquez wrote:> are you able to mount single partition from the raid array on the demo cd ? > like mounting just sda1 *or* sdb1 ? > and if yes, are you able to read what''s on the partition correctly ?I tried the demo CD. It doesn''t autodetect/autorun anything, but I was able to get both RAID1 and LVM running by installing the necessary packages with apt-get. So they do work. Maybe this has specifically something to do with the raid autorun functionality, since it breaks when upgrading to the Xen dom0 kernel? -- Taneli Leppä | Crasman Co Ltd <taneli@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Taneli Leppä
2005-Dec-12 14:45 UTC
Re: [Xen-users] Xen 3.0.0 + RAID + LVM + CentOS = problem / SOLVED
Hello, Got Xen 3 to work. I was booting the wrong kernel which didn''t have the raid modules compiled in, so when I switched to the compiled-in version, Xen booted up just fine. So there''s something wrong with either the modules themselves or the initrd. Taneli Leppä wrote:> Vincent Hanquez wrote: >> are you able to mount single partition from the raid array on the demo >> cd ? >> like mounting just sda1 *or* sdb1 ? >> and if yes, are you able to read what''s on the partition correctly ? > > I tried the demo CD. It doesn''t autodetect/autorun anything, but I was > able to get both RAID1 and LVM running by installing the necessary > packages with apt-get. So they do work. > > Maybe this has specifically something to do with the raid autorun > functionality, since it breaks when upgrading to the Xen dom0 kernel? >-- Taneli Leppä | Crasman Co Ltd <taneli@crasman.fi> | <http://www.crasman.fi/> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users