Port-xen archive

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

Dom0 with enabled ACPI doesn't recognize my IDE drives.



Hi.

I was struggeling tonight to boot Dom0 kernel on my server.
But it just did not want to find my IDE drives.
I have a PCI S-ATA card with 2 HDs connected to it and they were recognized just fine. But my NetBSD lives on 2 identical IDE drives with RaidFrame Raid 1 and I was stuck with a system that wouldn't mount my root file system. I tried different versions of NetBSD, 5.0-STABLE, 5.0.2, 5.0.2_PATCH but none was working.

The strange thing is the GENERIC kernel was booting just fine with ACPI enabled in the BIOS. But every time I booted the Dom0 kernel and ACPI support in the BIOS it wouldn't work properly.
Even Dom0 kernels compiled without ACPI and APIC support wouldn't work.
I tried diffrent versions of XEN as well with no luck.

I'm now stuck with just one CPU on a dual CPU server with no ACPI support.
Please tell me how to fix this issue.

Attached you can find the dmesg of the Dom0 kernel.


Marcin
 \ \/ /___ _ __   |___ / / || || |  
  \  // _ \ '_ \    |_ \ | || || |_ 
  /  \  __/ | | |  ___) || ||__   _|
 /_/\_\___|_| |_| |____(_)_(_) |_|  
                                    
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.1.4 (root@) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 
20081120)) Thu Mar0
 Latest ChangeSet: unavailable

(XEN) Command line: dom0_mem=1024M console=com1 com1=115200,8n1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 2 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 5 MBR signatures
(XEN)  Found 5 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 0000000000098c00 (usable)
(XEN)  0000000000098c00 - 00000000000a0000 (reserved)
(XEN)  00000000000d0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000fbf60000 (usable)
(XEN)  00000000fbf60000 - 00000000fbf72000 (ACPI data)
(XEN)  00000000fbf72000 - 00000000fbf80000 (ACPI NVS)
(XEN)  00000000fbf80000 - 00000000fc000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec00400 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000fff80000 - 0000000100000000 (reserved)
(XEN) System RAM: 4030MB (4127712kB)
(XEN) Xen heap: 14MB (15092kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 15:5 APIC version 16
(XEN) Processor #1 15:5 APIC version 16
(XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 3, version 17, address 0xfc000000, GSI 24-27
(XEN) IOAPIC[2]: apic_id 4, version 17, address 0xfc001000, GSI 28-31
(XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2004.593 MHz processor.
(XEN) CPU0: AMD Opteron(tm) Processor 246 stepping 08
(XEN) Booting processor 1/1 eip 90000
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD: Disabling C1 Clock Ramping Node #1
(XEN) CPU1: AMD Opteron(tm) Processor 246 stepping 08
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80100000 -> 0xffffffff80c4db80
(XEN)  Dom0 symbol map 0xffffffff80c4db80 -> 0xffffffff80d444a0
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   00000000f6000000->00000000f7000000 (258048 pages to be 
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80100000->ffffffff80d444a0
(XEN)  Init. ramdisk: ffffffff80d45000->ffffffff80d45000
(XEN)  Phys-Mach map: ffffffff80d45000->ffffffff80f45000
(XEN)  Start info:    ffffffff80f45000->ffffffff80f4549c
(XEN)  Page tables:   ffffffff80f46000->ffffffff80f51000
(XEN)  Boot stack:    ffffffff80f51000->ffffffff80f52000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81000000
(XEN)  ENTRY ADDRESS: ffffffff80100000
(XEN) Dom0 has maximum 2 VCPUs
(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 100kB init memory.
Loaded initial symtab at 0xffffffff80c4db84, strtab at 0xffffffff80ce2ec8, # 
entries 25363
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0.2_PATCH (XEN3_DOM0) #0: Fri Mar 26 02:00:14 CET 2010
        
root%zeus.yazzy.org@localhost:/usr/amd64/obj-amd64/sys/arch/amd64/compile/XEN3_DOM0
total memory = 1024 MB
avail memory = 974 MB
SMBIOS rev. 2.34 @ 0xfbf7c000 (33 entries)
mainbus0 (root)
pmap_kenter_pa: pa 0x0 for va 0xffffa00045ee5000 outside range
pmap_kenter_pa: pa 0x98000 for va 0xffffa00045ee5000 outside range
pmap_kenter_pa: pa 0x98000 for va 0xffffa00045ee5000 outside range
pmap_kenter_pa: pa 0xf0000 for va 0xffffa00045ee5000 outside range
pmap_kenter_pa: pa 0xf1000 for va 0xffffa00045ee6000 outside range
pmap_kenter_pa: pa 0xf2000 for va 0xffffa00045ee7000 outside range
pmap_kenter_pa: pa 0xf3000 for va 0xffffa00045ee8000 outside range
pmap_kenter_pa: pa 0xf4000 for va 0xffffa00045ee9000 outside range
pmap_kenter_pa: pa 0xf5000 for va 0xffffa00045eea000 outside range
pmap_kenter_pa: pa 0xf6000 for va 0xffffa00045eeb000 outside range
pmap_kenter_pa: pa 0xf7000 for va 0xffffa00045eec000 outside range
pmap_kenter_pa: pa 0xf8000 for va 0xffffa00045eed000 outside range
pmap_kenter_pa: pa 0xf9000 for va 0xffffa00045eee000 outside range
pmap_kenter_pa: pa 0xfa000 for va 0xffffa00045eef000 outside range
pmap_kenter_pa: pa 0xfb000 for va 0xffffa00045ef0000 outside range
pmap_kenter_pa: pa 0xfc000 for va 0xffffa00045ef1000 outside range
pmap_kenter_pa: pa 0xfd000 for va 0xffffa00045ef2000 outside range
pmap_kenter_pa: pa 0xfe000 for va 0xffffa00045ef3000 outside range
pmap_kenter_pa: pa 0xff000 for va 0xffffa00045ef4000 outside range
pmap_kenter_pa: pa 0xf7000 for va 0xffffa00045ee5000 outside range
pmap_kenter_pa: pa 0x9b000 for va 0xffffa00045ee6000 outside range
pmap_kenter_pa: pa 0x9b000 for va 0xffffa00045ee6000 outside range
cpu0 at mainbus0 apid 0: (boot processor)
cpu1 at mainbus0 apid 1: (application processor)
ioapic0 at mainbus0 apid 2, virtual wire mode
(XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
(XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900
(XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=-1
(XEN) ioapic_guest_write: old_entry=000009f1, new_entry=00010900
(XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
ioapic1 at mainbus0 apid 3, virtual wire mode
ioapic2 at mainbus0 apid 4, virtual wire mode
hypervisor0 at mainbus0: Xen version 3.1
vcpu0 at hypervisor0: AMD 686-class, 2004MHz, id 0xf58
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
acpi0 at hypervisor0: Intel ACPICA 20080321
mpacpi: found subordinate bus 1 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: found subordinate bus 3 at level 2
mpacpi: 3 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (1/1)
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 2 int routing
mpacpi: configuring PCI bus 3 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0<type=0> flags 5<pol=1=Act 
Hi,trig=1=Edge>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
ioapic0: pin 16 attached to pci1 device 0 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 17 attached to pci1 device 0 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 18 attached to pci1 device 0 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 19 attached to pci1 device 0 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 17 attached to pci1 device 5 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 18 attached to pci1 device 5 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 19 attached to pci1 device 5 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 16 attached to pci1 device 5 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 16 attached to pci1 device 4 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 17 attached to pci1 device 4 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 18 attached to pci1 device 4 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 19 attached to pci1 device 4 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic0: pin 18 attached to pci1 device 6 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Leve)
ioapic1: pin 1 attached to pci2 device 1 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 2 attached to pci2 device 1 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 3 attached to pci2 device 1 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 0 attached to pci2 device 1 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 2 attached to pci2 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 3 attached to pci2 device 2 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 0 attached to pci2 device 2 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 1 attached to pci2 device 2 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 3 attached to pci2 device 3 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 3 attached to pci2 device 4 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic1: pin 1 attached to pci2 device 5 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 1 attached to pci3 device 1 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 2 attached to pci3 device 1 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 3 attached to pci3 device 1 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 0 attached to pci3 device 1 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 2 attached to pci3 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 3 attached to pci3 device 2 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 0 attached to pci3 device 2 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 1 attached to pci3 device 2 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 3 attached to pci3 device 3 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 0 attached to pci3 device 3 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 1 attached to pci3 device 3 INT_C (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic2: pin 2 attached to pci3 device 3 INT_D (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level)
ioapic0: int9 1a998<vector=98,delmode=1,logical,actlo,level,masked,dest=0> 
3000000<target=3>
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
TMR (PNP0100) [AT Timer] at acpi0 not configured
pcppi0 at acpi0 (SPKR, PNP0800)
pcppi0: io 0x61
pckbc1 at acpi0 (KBC, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
UAR2 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
ECP1 (PNP0401) [ECP printer port] at acpi0 not configured
pckbd0 at pckbc1 (kbd slot)
ioapic0: int1 9a0<vector=a0,delmode=1,logical,dest=0> 3000000<target=3>
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pmsprobe: reset error 5
pci0 at hypervisor0 bus 1
hypervisor0: added to list as bus 1
ohci0 at pci0 dev 0 function 0: vendor 0x1022 product 0x7464 (rev. 0x0b)
ioapic0: int19 1a9a8<vector=a8,delmode=1,logical,actlo,level,masked,dest=0> 
3000000<target=3>
ohci0: interrupting at ioapic0 pin 19, event channel 5
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 0 function 1: vendor 0x1022 product 0x7464 (rev. 0x0b)
ohci1: interrupting at ioapic0 pin 19, event channel 5
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
vga0 at pci0 dev 6 function 0: vendor 0x1002 product 0x4752 (rev. 0x27)
wsdisplay0 at vga0 kbdmux 1
drm at vga0 not configured
pci1 at hypervisor0 bus 2
hypervisor0: added to list as bus 2
bge0 at pci1 dev 3 function 0: Broadcom BCM5702X Gigabit Ethernet
ioapic1: int3 1a9b0<vector=b0,delmode=1,logical,actlo,level,masked,dest=0> 
3000000<target=3>
bge0: interrupting at ioapic1 pin 3, event channel 6
bge0: ASIC BCM5703 A2 (0x1002), Ethernet address 00:50:45:00:b1:d7
brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge1 at pci1 dev 4 function 0: Broadcom BCM5702X Gigabit Ethernet
bge1: interrupting at ioapic1 pin 3, event channel 6
bge1: ASIC BCM5703 A2 (0x1002), Ethernet address 00:50:45:00:b1:d8
brgphy1 at bge1 phy 1: BCM5703 1000BASE-T media interface, rev. 2
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pci2 at hypervisor0 bus 3
hypervisor0: added to list as bus 3
satalink0 at pci2 dev 2 function 0
satalink0: Silicon Image SATALink 3114 (rev. 0x02)
ioapic2: int2 1a9b8<vector=b8,delmode=1,logical,actlo,level,masked,dest=0> 
3000000<target=3>
satalink0: using ioapic2 pin 2, event channel 7 for native-PCI interrupt
atabus0 at satalink0 channel 0
atabus1 at satalink0 channel 1
atabus2 at satalink0 channel 2
atabus3 at satalink0 channel 3
isa0 at hypervisor0
lpt0 at isa0 port 0x378-0x37b irq 7
ioapic0: int7 9c0<vector=c0,delmode=1,logical,dest=0> 3000000<target=3>
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
ioapic0: int3 9c8<vector=c8,delmode=1,logical,dest=0> 3000000<target=3>
satalink0: port 1: device present, speed: 1.5Gb/s
satalink0: port 2: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, 
rev 1.00/1.00, addr1
uhub1 at usb1: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
: <SAMSUNG HD321KJ>
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd1 at atabus2 drive 0: <SAMSUNG HD321KJ>
wd1: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
Component on: wd1a: 625142385
   Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
   Version: 2 Serial Number: 2008062601 Mod Counter: 1437
   Clean: No Status: 0
   sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 1  blocksize: 512 numBlocks: 625142272
   Autoconfig: Yes
   Contains root partition: No
   Last configured as: raid2
Found: wd1a at 1
RAID autoconfigure
Configuring raid2:
Starting autoconfiguration of RAID set...
Looking for 0 in autoconfig
Looking for 1 in autoconfig
Found: wd1a at 1
raid2: allocating 20 buffers of 65536 bytes.
raid2: RAID Level 1
raid2: Components: component0[**FAILED**] /dev/wd1a
raid2: Total Sectors: 625142272 (305245 MB)
raid2: configured ok
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
warning: no /dev/console
init: copying out path `/sbin/init' 11
exec /sbin/init: error 2
init: copying out path `/sbin/oinit' 12
exec /sbin/oinit: error 2
init: copying out path `/sbin/init.bak' 15
exec /sbin/init.bak: error 2
init path (default /sbin/init):


Home | Main Index | Thread Index | Old Index