Port-xen archive

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

Booting XEN3_DOM0 results into "panic: pci_get_capability"



Hi list!

First of all since I'm new to NetBSD & Xen I might do something terribly
wrong but I would be glad to receive some hints. Nevertheless I wanted
to check out Xen on NetBSD and therefore installed NetBSD 4.99.72/amd64
as of yesterday on a Dell Optiplex 740 box, installed xentools3-3.1.4
and xenkernel3-3.1.4 from pkgsrc and fetched boot(8) from [1] in order
to avoid GRUB. Using following line in boot.cfg

---8<---snipp---8<---

menu=Boot Xen:modules enabled;load /netbsd-XEN3_DOM0;multiboot xen.gz 
dom0_mem=65536 com1=115200,8n1 -- bootdev=wd0a ro console=ttyS0

--->8---snapp--->8---

I can see Xen 3.1.4 booting up, launching the XEN3_DOM0 kernel which
panics at once. As I'm new to the whole stuff I cannot really judge
whether I'm doing something wrong here or if this really is some bug.

---8<---snipp---8<---
 __  __            _____  _  _  _   
 \ \/ /___ _ __   |___ / / || || |  
  \  // _ \ '_ \    |_ \ | || || |_ 
  /  \  __/ | | |  ___) || ||__   _|
 /_/\_\___|_| |_| |____(_)_(_) |_|  
                                    
 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 nb1 
20080202)) Wed Sep 17 14:49:47 CEST 2008
 Latest ChangeSet: unavailable

(XEN) Command line: com1=115200,8n1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 2 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009f000 (usable)
(XEN)  000000000009f000 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007eed0000 (usable)
(XEN)  000000007eed0000 - 000000007eed3000 (ACPI NVS)
(XEN)  000000007eed3000 - 000000007eee0000 (ACPI data)
(XEN)  000000007eee0000 - 000000007ef00000 (reserved)
(XEN)  000000007f000000 - 0000000080000000 (reserved)
(XEN)  00000000f0000000 - 00000000f4000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN) System RAM: 2030MB (2079164kB)
(XEN) Xen heap: 14MB (15156kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 15:11 APIC version 16
(XEN) Processor #1 15:11 APIC version 16
(XEN) IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2304.865 MHz processor.
(XEN) AMD SVM: ASIDs enabled. 
(XEN) HVM: SVM enabled
(XEN) CPU0: AMD Athlon(tm) Dual Core Processor 4450B stepping 02
(XEN) Booting processor 1/1 eip 90000
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) AMD SVM: ASIDs enabled. 
(XEN) CPU1: AMD Athlon(tm) Dual Core Processor 4450B stepping 02
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 8589 jiffies.
(XEN) Platform timer is 25.000MHz 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 -> 0xffffffff80c37d00
(XEN)  Dom0 symbol map 0xffffffff80c37d00 -> 0xffffffff80d2c6a8
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000078000000->000000007a000000 (468907 pages to be 
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80100000->ffffffff80d2c6a8
(XEN)  Init. ramdisk: ffffffff80d2d000->ffffffff80d2d000
(XEN)  Phys-Mach map: ffffffff80d2d000->ffffffff810d0d58
(XEN)  Start info:    ffffffff810d1000->ffffffff810d149c
(XEN)  Page tables:   ffffffff810d2000->ffffffff810df000
(XEN)  Boot stack:    ffffffff810df000->ffffffff810e0000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81400000
(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) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen).
(XEN) Freed 100kB init memory.
Loaded initial symtab at 0xffffffff80c37d04, strtab at 0xffffffff80ccbd40, # 
entries 25161
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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 4.99.72 (XEN3_DOM0) #0: Wed Sep 17 19:34:12 CEST 2008
\0x09adm%pkg.example.com@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0
total memory = 1863 MB
avail memory = 1787 MB
SMBIOS rev. 2.4 @ 0xf0000 (71 entries)
mainbus0 (root)
pmap_kenter_pa: pa 0x0 for va 0xffffa00047da0000 outside range
pmap_kenter_pa: pa 0x9f000 for va 0xffffa00047da0000 outside range
pmap_kenter_pa: pa 0x9e000 for va 0xffffa00047da0000 outside range
pmap_kenter_pa: pa 0xf0000 for va 0xffffa00047da0000 outside range
pmap_kenter_pa: pa 0xf1000 for va 0xffffa00047da1000 outside range
pmap_kenter_pa: pa 0xf2000 for va 0xffffa00047da2000 outside range
pmap_kenter_pa: pa 0xf3000 for va 0xffffa00047da3000 outside range
pmap_kenter_pa: pa 0xf4000 for va 0xffffa00047da4000 outside range
pmap_kenter_pa: pa 0xf5000 for va 0xffffa00047da5000 outside range
pmap_kenter_pa: pa 0xf6000 for va 0xffffa00047da6000 outside range
pmap_kenter_pa: pa 0xf7000 for va 0xffffa00047da7000 outside range
pmap_kenter_pa: pa 0xf8000 for va 0xffffa00047da8000 outside range
pmap_kenter_pa: pa 0xf9000 for va 0xffffa00047da9000 outside range
pmap_kenter_pa: pa 0xfa000 for va 0xffffa00047daa000 outside range
pmap_kenter_pa: pa 0xfb000 for va 0xffffa00047dab000 outside range
pmap_kenter_pa: pa 0xfc000 for va 0xffffa00047dac000 outside range
pmap_kenter_pa: pa 0xfd000 for va 0xffffa00047dad000 outside range
pmap_kenter_pa: pa 0xfe000 for va 0xffffa00047dae000 outside range
pmap_kenter_pa: pa 0xff000 for va 0xffffa00047daf000 outside range
pmap_kenter_pa: pa 0xf3000 for va 0xffffa00047da0000 outside range
pmap_kenter_pa: pa 0xf2000 for va 0xffffa00047da1000 outside range
pmap_kenter_pa: pa 0xf2000 for va 0xffffa00047da1000 outside range
cpu0 at mainbus0 apid 0: (boot processor)
cpu1 at mainbus0 apid 1: (application processor)
ioapic0 at mainbus0 apid 4, 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!
ioapic0: can't remap to apid 4
hypervisor0 at mainbus0: Xen version 3.1
vcpu0 at hypervisor0: AMD 686-class, 2304MHz, id 0x60fb2
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
acpi0 at hypervisor0: Intel ACPICA 20080321
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 4 at level 2
mpacpi: 2 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (0/0)
mpacpi: ISA interrupt override 9 -> 9 (1/3)
mpacpi: ISA interrupt override 14 -> 14 (1/1)
mpacpi: ISA interrupt override 15 -> 15 (1/1)
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 4 int routing
ioapic0: pin 2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
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 d<pol=1=Act 
Hi,trig=3=Level>)
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 5<pol=1=Act 
Hi,trig=1=Edge>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 5<pol=1=Act 
Hi,trig=1=Edge>)
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>)
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>)
linkdev APCS attached to pci0 device 10 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APMU attached to pci0 device 10 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCF attached to pci0 device 11 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCL attached to pci0 device 11 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCH attached to pci0 device 20 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCJ attached to pci0 device 16 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev AAZA attached to pci0 device 16 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCJ attached to pci0 device 16 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCK attached to pci0 device 16 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APCZ attached to pci0 device 13 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APSI attached to pci0 device 14 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APSJ attached to pci0 device 15 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC5 attached to pci0 device 4 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC6 attached to pci0 device 4 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC7 attached to pci0 device 4 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC8 attached to pci0 device 4 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC5 attached to pci0 device 3 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC6 attached to pci0 device 3 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC7 attached to pci0 device 3 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC8 attached to pci0 device 3 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC6 attached to pci0 device 2 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC7 attached to pci0 device 2 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC8 attached to pci0 device 2 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC5 attached to pci0 device 2 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC7 attached to pci0 device 5 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC8 attached to pci0 device 5 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC5 attached to pci0 device 5 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC6 attached to pci0 device 5 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC2 attached to pci4 device 9 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC3 attached to pci4 device 9 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 9 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC1 attached to pci4 device 9 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC1 attached to pci4 device 8 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC2 attached to pci4 device 8 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC3 attached to pci4 device 8 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 8 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 7 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 7 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 7 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 7 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC2 attached to pci4 device 0 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC3 attached to pci4 device 0 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 0 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC1 attached to pci4 device 0 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC3 attached to pci4 device 1 INT_A (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC4 attached to pci4 device 1 INT_B (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC1 attached to pci4 device 1 INT_C (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
linkdev APC2 attached to pci4 device 1 INT_D (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
ioapic0: int9 18998<vector=98,delmode=1,logical,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
UAR1 (PNP0501) [16550A-compatible COM port] at acpi0 not configured
pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
vendor 0x10de product 0x02f0 (RAM memory, revision 0xa2) at pci0 dev 0 function 
0 not configured
vendor 0x10de product 0x02fa (RAM memory, revision 0xa2) at pci0 dev 0 function 
1 not configured
vendor 0x10de product 0x02fe (RAM memory, revision 0xa2) at pci0 dev 0 function 
2 not configured
vendor 0x10de product 0x02f8 (RAM memory, revision 0xa2) at pci0 dev 0 function 
3 not configured
vendor 0x10de product 0x02f9 (RAM memory, revision 0xa2) at pci0 dev 0 function 
4 not configured
vendor 0x10de product 0x02ff (RAM memory, revision 0xa2) at pci0 dev 0 function 
5 not configured
panic: pci_get_capability
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff804b6a2d cs e030 rflags 246 cr2  0 cpl 8 rsp 
ffffffff810e2970
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x255
pci_get_capability() at netbsd:pci_get_capability+0xf8
pci_get_powerstate() at netbsd:pci_get_powerstate+0x2e
pci_probe_device() at netbsd:pci_probe_device+0x29c
pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x13b
pcirescan() at netbsd:pcirescan+0x4f
pciattach() at netbsd:pciattach+0x1b7
config_attach_loc() at netbsd:config_attach_loc+0x15a
mpacpi_scan_pci() at netbsd:mpacpi_scan_pci+0x9b
hypervisor_attach() at netbsd:hypervisor_attach+0x1f2
config_attach_loc() at netbsd:config_attach_loc+0x15a
mainbus_attach() at netbsd:mainbus_attach+0xc8
config_attach_loc() at netbsd:config_attach_loc+0x15a
cpu_configure() at netbsd:cpu_configure+0x25
configure() at netbsd:configure+0x40
main() at netbsd:main+0x195
ds          0x2980
es          0xe2b3
fs          0x2980
gs          0xe2b3
rdi         0x8
rsi         0x1
rbp         0xffffffff810e2970
rbx         0xffffffff810e2980
rdx         0
rcx         0
rax         0x1
r8          0xffffffff810e2890
r9          0x1
r10         0xffffffff810e2890
r11         0xffffffff804f36a0  xenconscn_putc
r12         0x100
r13         0xffffffff808ce2b3  copyright+0x22d13
r14         0x1
r15         0xffffffff810e2ad4
rip         0xffffffff804b6a2d  breakpoint+0x5
cs          0xe030
rflags      0x246
rsp         0xffffffff810e2970
ss          0xe02b
netbsd:breakpoint+0x5:  leave
db> 
--->8---snapp--->8---

[1] ftp://ftp.netbsd.org/pub/NetBSD/misc/rjs/boot

Thanks in advance,
Christoph



Home | Main Index | Thread Index | Old Index