[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Centos Dom0 kernel panic on boot



hello,

I am attempting to compile a Dom0 CentOS 5.2 guest from source, using XenLinux 2.6.18.8 with a Xen 3.2.1 hypervisor. I am able to compile the Dom0 kernel, but when I attempt to boot into it, I receive the following messages:

mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

As the serial console log attached shows, there is some problem with the SATA drivers that seems to be preventing the hard disks from being mounted. I am running this on an HP wx9400 workstation (AMD 64 bit Opteron, with 2 SATA disks using an on-board RAID controller).

I have tried several kernel configurations, including the default XenLinux configuration, a modified version of my native kernel configuration (with Xen options turned on), and a configuration set with 'make allmodconfig'. I have tried ramdisks created using just mkinitrd with no options, and also using `--with=scsi_mod --with=sd_mod --with=sata_nv` as well as the same thing except using `--preload=..`

The one thing that seems suspicious in the XenLinux configuration is that the SCSI/SATA symbols have different names than the symbols in my native CentOS kernel that does boot (2.6.18-92). When I try to copy the native config, I get several warnings about unrecognized symbols, and have to go manually turn on the SATA drivers in `make menuconfig`.

If anyone has any insight or suggestions, I really appreciate it.

thanks,
Arvind

Press any key to continue.
 __  __            _____  ____    _ 
 \ \/ /___ _ __   |___ / |___ \  / |
  \  // _ \ '_ \    |_ \   __) | | |
  /  \  __/ | | |  ___) | / __/ _| |
 /_/\_\___|_| |_| |____(_)_____(_)_|
                                    
(XEN) Xen version 3.2.1 (asujeeth@xxxxxxxxxxxxxxxx) (gcc version 4.1.2 20071124 
(Red Hat 4.1.2-42)) Wed Jul 16 17:38:53 CDT 2008
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: noreboot com1=9600,8n1 console=tty0 console=com1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 1 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009b000 (usable)
(XEN)  000000000009b000 - 00000000000a0000 (reserved)
(XEN)  00000000000e8e00 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000dffc7000 (usable)
(XEN)  00000000dffc7000 - 00000000e0000000 (reserved)
(XEN)  00000000f0000000 - 00000000f8000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000220000000 (usable)
(XEN) System RAM: 8191MB (8387976kB)
(XEN) Xen heap: 9MB (9872kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) PAE enabled, limit: 16 GB
(XEN) Processor #0 15:1 APIC version 16
(XEN) Processor #2 15:1 APIC version 16
(XEN) Processor #1 15:1 APIC version 16
(XEN) Processor #3 15:1 APIC version 16
(XEN) IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 9, version 17, address 0xfb400000, GSI 24-47
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 3200.008 MHz processor.
(XEN) AMD SVM: ASIDs disabled. 
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD Dual-Core AMD Opteron(tm) Processor 2224 SE stepping 03
(XEN) Booting processor 1/2 eip 8c000
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD: Disabling C1 Clock Ramping Node #1
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU1: AMD Dual-Core AMD Opteron(tm) Processor 2224 SE stepping 03
(XEN) Booting processor 2/1 eip 8c000
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU2: AMD Dual-Core AMD Opteron(tm) Processor 2224 SE stepping 03
(XEN) Booting processor 3/3 eip 8c000
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU3: AMD Dual-Core AMD Opteron(tm) Processor 2224 SE stepping 03
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 234 jiffies.
(XEN) Platform timer is 3.579MHz ACPI PM Timer
(XEN) Brought up 4 CPUs
(XEN) AMD IOMMU: Disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 32-bit, PAE, lsb
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc045dafc
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000003c000000->000000003e000000 (2037447 pages to be 
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c045dafc
(XEN)  Init. ramdisk: c045e000->c09daa00
(XEN)  Phys-Mach map: c09db000->c11a8b1c
(XEN)  Start info:    c11a9000->c11a9474
(XEN)  Page tables:   c11aa000->c11b9000
(XEN)  Boot stack:    c11b9000->c11ba000
(XEN)  TOTAL:         c0000000->c1400000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Initrd len 0x57ca00, start at 0xc045e000
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) Freed 96kB init memory.
Linux version 2.6.18.8-xen (root@vhbs-amd) (gcc version 4.1.2 20071124 (Red Hat 
4.1.2-42)) #1 SMP Fri Jul 18 14:58:32 CDT 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 00000001f3ec7000 (usable)
7270MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
found SMP MP-table at 000fe700
DMI 2.5 present.
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x04] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x05] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x06] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x07] disabled)
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x09] address[0xfb400000] gsi_base[24])
IOAPIC[1]: apic_id 9, version 17, address 0xfb400000, GSI 24-47
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Enabling APIC mode:  Flat.  Using 2 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at e1000000 (gap: e0000000:10000000)
Detected 3200.019 MHz processor.
Built 1 zonelists.  Total pages: 2047687
Kernel command line: ro root=LABEL=/ rhgb console=tty0 console=ttyS0,9600n8
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 3200.008 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
 Kernel range: c5886000 - c9886000
 Address size: 27 bits
vmalloc area: ee000000-f51fe000, maxmem 2d7fe000
Memory: 8031940k/8190748k available (2084k kernel code, 149552k reserved, 733k 
data, 200k init, 7445284k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6400.82 BogoMIPS (lpj=32004126)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20060707
ENABLING IO-APIC IRQs
SMP alternatives: switching to SMP code
Initializing CPU#1
Initializing CPU#2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
Brought up 4 CPUs
Initializing CPU#3
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
migration_cost=429
checking if image is initramfs... it is
Freeing initrd memory: 5618k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG
PCI: No mmconfig possible on 0:18
PCI: No mmconfig possible on 0:19
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:06.0
ACPI: PCI Root Bridge [PCI1] (0001:40)
PCI: Multiple domains not supported
ACPI: Bus 0001:40 not present in PCI namespace
ACPI Exception (pci_bind-0153): AE_NOT_FOUND, Invalid ACPI-PCI context for 
parent device PCI1 [20060707]
ACPI Exception (pci_bind-0153): AE_NOT_FOUND, Invalid ACPI-PCI context for 
parent device PCI1 [20060707]
ACPI Exception (pci_bind-0153): AE_NOT_FOUND, Invalid ACPI-PCI context for 
parent device PCI1 [20060707]
ACPI Exception (pci_bind-0153): AE_NOT_FOUND, Invalid ACPI-PCI context for 
parent device PCI1 [20060707]
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 *10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs *5 7 10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LXPA] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LXPB] (IRQs *5 7 10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LXPC] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LXPD] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LXA2] (IRQs *40), disabled.
ACPI: PCI Interrupt Link [LXB2] (IRQs *41), disabled.
ACPI: PCI Interrupt Link [LXC2] (IRQs *42), disabled.
ACPI: PCI Interrupt Link [LXD2] (IRQs *43), disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LSB0] (IRQs *5 7 10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LSB2] (IRQs 5 7 *10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LMC0] (IRQs *5 7 10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LMC1] (IRQs 5 7 *10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LAZA] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *0, 
disabled.
ACPI: PCI Interrupt Link [LSA0] (IRQs 5 7 10 16 17 18 19 20 21 22 23) *11
ACPI: PCI Interrupt Link [LSA1] (IRQs *5 7 10 16 17 18 19 20 21 22 23)
ACPI: PCI Interrupt Link [LSA2] (IRQs 5 7 *10 16 17 18 19 20 21 22 23)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
(XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=4
(XEN) ioapic_guest_write: old_entry=000009f1, new_entry=000109f1
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
pnp: PnP ACPI: found 17 devices
xen_mem: Initialising balloon driver.
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0c: ioport range 0x400-0x47f could not be reserved
pnp: 00:0c: ioport range 0x480-0x48f has been reserved
pnp: 00:0c: ioport range 0x4c0-0x4cb has been reserved
pnp: 00:0c: ioport range 0xe000-0xe07f has been reserved
pnp: 00:0c: ioport range 0xe080-0xe0ff has been reserved
pnp: 00:0c: ioport range 0xf200-0xf27f has been reserved
pnp: 00:0c: ioport range 0xf280-0xf2ff has been reserved
PCI: Bridge: 0000:00:06.0
  IO window: disabled.
  MEM window: fb100000-fb1fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:2b:00.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:2b:00.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:0d.0
  IO window: disabled.
  MEM window: fb000000-fb0fffff
  PREFETCH window: disabled.
PCI: Failed to allocate mem resource #6:20000@f0000000 for 0000:18:00.0
PCI: Bridge: 0000:00:0f.0
  IO window: 3000-3fff
  MEM window: f8000000-faffffff
  PREFETCH window: e0000000-efffffff
ACPI: PCI Interrupt Link [LXPD] enabled at IRQ 23
ACPI: PCI Interrupt 0000:2b:00.1[A] -> Link [LXPD] -> GSI 23 (level, high) -> 
IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
IA-32 Microcode Update Driver: v1.14a-xen <tigran@xxxxxxxxxxx>
audit: initializing netlink socket (disabled)
audit(1216393817.960:1): initialized
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
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
ACPI Exception (acpi_processor-0722): AE_NOT_FOUND, Processor Device is not 
present [20060707]
ACPI Exception (acpi_processor-0722): AE_NOT_FOUND, Processor Device is not 
present [20060707]
ACPI Exception (acpi_processor-0722): AE_NOT_FOUND, Processor Device is not 
present [20060707]
ACPI Exception (acpi_processor-0722): AE_NOT_FOUND, Processor Device is not 
present [20060707]
Floppy drive(s): fd0 is 1.44M
floppy0: Unable to grab DMA2 for the floppy driver
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Successfully initialized TPM backend driver.
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
input: AT Translated Set 2 keyboard as /class/input/input0
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S3 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Freeing unused kernel memory: 200k freed
input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LSB2] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LSB2] -> GSI 22 (level, high) -> 
IRQ 17
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
ehci_hcd 0000:00:02.1: irq 17, io mem 0xfb24a000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
ACPI: PCI Interrupt Link [LSB0] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LSB0] -> GSI 21 (level, high) -> 
IRQ 18
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 18, io mem 0xfb244000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
Fusion MPT base driver 3.04.01
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SAS Host driver 3.04.01
ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LSA0] -> GSI 20 (level, high) -> 
IRQ 19
ata1: SATA max UDMA/133 cmd 0x40C0 ctl 0x4102 bmdma 0x4090 irq 19
ata2: SATA max UDMA/133 cmd 0x40C8 ctl 0x4106 bmdma 0x4098 irq 19
scsi0 : sata_nv
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATAPI, max UDMA/100
ata1.00: configured for UDMA/100
scsi1 : sata_nv
ata2: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x40CF
  Vendor: HL-DT-ST  Model: DVD-RAM GH15L     Rev: RA02
  Type:   CD-ROM                             ANSI SCSI revision: 05
ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 19
ACPI: PCI Interrupt 0000:00:05.1[B] -> Link [LSA1] -> GSI 19 (level, high) -> 
IRQ 20
ata3: SATA max UDMA/133 cmd 0x40D0 ctl 0x410A bmdma 0x40A0 irq 20
ata4: SATA max UDMA/133 cmd 0x40D8 ctl 0x410E bmdma 0x40A8 irq 20
scsi2 : sata_nv
ata3: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x40D7
scsi3 : sata_nv
ata4: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x40DF
ACPI: PCI Interrupt Link [LSA2] enabled at IRQ 18
ACPI: PCI Interrupt 0000:00:05.2[C] -> Link [LSA2] -> GSI 18 (level, high) -> 
IRQ 21
ata5: SATA max UDMA/133 cmd 0x40E0 ctl 0x4112 bmdma 0x40B0 irq 21
ata6: SATA max UDMA/133 cmd 0x40E8 ctl 0x4116 bmdma 0x40B8 irq 21
scsi4 : sata_nv
ata5: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x40E7
scsi5 : sata_nv
ata6: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x40EF
Kernel panic - not syncing: Attempted to kill init!
 (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.