Subject: DOM0 Page fault trap in NetBSD 3.0
To: None <port-xen@NetBSD.org>
From: TlorD <tld@tld.digitalcurse.com>
List: port-xen
Date: 03/07/2006 16:35:12
Greetings,
I am trying to deploy a XEN machine which has an Adaptec 2410SA SATA
RAID controller.
NetBSD 3.0/i386 works like a charm (if using GENERIC.MPACPI), but
3.0/xen (enriched with aac0 and ld0 driver definitions bluntly copied
from GENERIC.MPACPI) panics shortly after the card is recognized.
Is there anything I can do to correctly use the card?
Thanks for the attention.
Here is the short version of the error it produces:
uvm_fault (0xc061fd60, 0xc9c1b000, 0, 1) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 0.1 (swapper) at netbsd:aac_intr+0x23: cmpb $0,0x3184(%eax)
aac_intr(c08d7400,0,c08bdf9c,0c06e9ef8) at netbsd:aac_intr+0x23
pirq_interrupt(c0854970,c06e9ef4,0,11,c03b0031) at netbsd:pirq_interrupt+0xf
Xresume_xenev4() at netbsd:Xresume_xenev4+0x34
--- interrupt ---
Xspllower (0,0,c06e9f68,c03b2e93,20000) at netbsd:Xspllower+0xf
cpu_configure(0,c063ed40,c06e9fa0,c02f54a8,c064334c) at
netbsd:cpu_configure+0x9a
configure(c064334c,1,1,4000,c06e5c10) at netbsd:configure+0x4a
main(0,0,0,0,0) at netbsd:main+0x2d4
Stopped in pid 0.1 (swapper) at netbsd:aac:intr+0x23: cmpb $0,0x3184(%eax)
db>
And here is the GENERIC.MPACPI dmesg:
NetBSD 3.0 (GENERIC.MPACPI) #0: Mon Dec 19 01:23:45 UTC 2005
builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC.MPACPI
total memory = 2039 MB
avail memory = 1988 MB
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel (686-class), 3612.91 MHz, id 0xf34
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 441d<SSE3,MONITOR,DS-CPL,CID,xTPR>
cpu0: "Intel(R) Pentium(R) 4 CPU 3.60GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel (686-class), 3612.79 MHz, id 0xf34
cpu1: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu1: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2 441d<SSE3,MONITOR,DS-CPL,CID,xTPR>
cpu1: "Intel(R) Pentium(R) 4 CPU 3.60GHz"
cpu1: I-cache 12K uOp cache 8-way
cpu1: L2 cache 1 MB 64B/line 8-way
cpu1: ITLB 4K/4M: 64 entries
cpu1: DTLB 4K/4M: 64 entries
cpu1: using thermal monitor 1
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,05000524>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A08 at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
fdc0 at acpi0 (PNP0700)
fdc0: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
fdc0: expected BUFFER, got 4
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7 drq 3
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
INT0800 at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
ATK0110 at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not
configured
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82915P/G/GL Host (rev. 0x0e)
vga0 at pci0 dev 2 function 0: Intel 82915G/GL Integrated Graphics
Device (rev. 0x0e)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb0 at pci0 dev 28 function 0: Intel 82801FB/FR PCI Express Port #0
(rev. 0x05)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller
(rev. 0x05)
uhci0: interrupting at ioapic0 pin 23 (irq 5)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB UHCI Controller
(rev. 0x05)
uhci1: interrupting at ioapic0 pin 19 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB UHCI Controller
(rev. 0x05)
uhci2: interrupting at ioapic0 pin 18 (irq 3)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB UHCI Controller
(rev. 0x05)
uhci3: interrupting at ioapic0 pin 16 (irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller
(rev. 0x05)
ehci0: interrupting at ioapic0 pin 23 (irq 5)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xd5)
pci2 at ppb1 bus 1
pci2: i/o space, memory space enabled
rtk0 at pci2 dev 2 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at ioapic0 pin 17 (irq 5)
rtk0: Ethernet address 00:11:d8:fb:05:88
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aac0 at pci2 dev 3 function 0: Adaptec ASR-2410SA
aac0: interrupting at ioapic0 pin 20 (irq 11)
aac0: i80303 at 100MHz, 64MB mem (48MB cache), optional battery not
installed
aac0: Kernel 4.1-0 [Build 5934], Monitor 4.1-0 [Build 5934], S/N BD4A2F
aac0: Controller supports:
1097c<WCACHE,DATA64,HOSTTIME,RAID50,WINDOW4GB,SOFTERR,ALARM>
ld0 at aac0 unit 0: RAID 5
ld0: 701 GB, 91546 cyl, 255 head, 63 sec, 512 bytes/sect x 1470696576
sectors
fxp0 at pci2 dev 11 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at ioapic0 pin 21 (irq 5)
fxp0: Ethernet address 00:03:47:ac:7b:03
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801FB LPC Interface Bridge (rev. 0x05)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801FB IDE Controller (ICH6) (rev. 0x05)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
piixide1 at pci0 dev 31 function 2
piixide1: Intel 82801FB Serial ATA/Raid Controller (rev. 0x05)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using ioapic0 pin 19 (irq 10) for native-PCI interrupt
atabus1 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus2 at piixide1 channel 1
Intel 82801FB/FR SMBus Controller (SMBus serial bus, revision 0x05) at
pci0 dev 31 function 3 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <PCCD048, UM1102 Firmware, VER 50P> cdrom
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
cpu1: CPU 1 running
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Logitech USB Mouse, rev 1.10/4.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0