Port-xen archive

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

5.0.1: kernel stops



Dear list,

sorry, I'm new to Xen, so please excuse if this is a silly question.

I tried to install 5.0.1/xen on my Dell PowerEdge 2950. I strictly followed the 
howto on the port's homepage (I installed even the i386 grub, although 
meanwhile grub compiles fine on amd64)

A GENERIC kernel boots fine, but the Xen Dom0 does not boot at all:

 __  __            _____  _  _  _   
 \ \/ /___ _ __   |___ / / || || |  
  \  // _ \ '_ \    |_ \ | || || |_ 
  /  \  __/ | | |  ___) || ||__   _|
 /_/\_\___|_| |_| |____(_)_(_) |_|  
                                    
 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)) Tue Dec 15 20:35:46 CET 2009
 Latest ChangeSet: unavailable

(XEN) Command line: dom0_mem=65536 com1=115200,8n1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 2 seconds
(XEN) Disc information:
(XEN)  Found 2 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 00000000000a0000 (usable)
(XEN)  0000000000100000 - 00000000cfb50000 (usable)
(XEN)  00000000cfb50000 - 00000000cfb66000 (reserved)
(XEN)  00000000cfb66000 - 00000000cfb85c00 (ACPI data)
(XEN)  00000000cfb85c00 - 00000000d0000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fe000000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000230000000 (usable)
(XEN) System RAM: 8186MB (8383424kB)
(XEN) Xen heap: 14MB (14936kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #6 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) Processor #7 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 9, version 32, address 0xfec81000, GSI 64-87
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1995.049 MHz processor.
(XEN) HVM: VMX enabled
(XEN) VMX: MSR intercept bitmap enabled
(XEN) CPU0: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz stepping 06
(XEN) Booting processor 1/6 eip 90000
(XEN) CPU1: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz stepping 06
(XEN) Booting processor 2/1 eip 90000
(XEN) CPU2: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz stepping 06
(XEN) Booting processor 3/7 eip 90000
(XEN) CPU3: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz stepping 06
(XEN) Total of 4 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 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80100000 -> 0xffffffff80c84b80
(XEN)  Dom0 symbol map 0xffffffff80c84b80 -> 0xffffffff80d82418
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000227000000->0000000228000000 (12288 pages to be 
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80100000->ffffffff80d82418
(XEN)  Init. ramdisk: ffffffff80d83000->ffffffff80d83000
(XEN)  Phys-Mach map: ffffffff80d83000->ffffffff80da3000
(XEN)  Start info:    ffffffff80da3000->ffffffff80da349c
(XEN)  Page tables:   ffffffff80da4000->ffffffff80daf000
(XEN)  Boot stack:    ffffffff80daf000->ffffffff80db0000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81000000
(XEN)  ENTRY ADDRESS: ffffffff80100000
(XEN) Dom0 has maximum 4 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.
(XEN) traps.c:1747:d0 Domain attempted WRMSR 00000000000001a0 from 
00000060:62840481 to 00000060:62840489.
Loaded initial symtab at 0xffffffff80c84b84, strtab at 0xffffffff80d1d790, # 
entries 25964
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_STABLE (XEN3_DOM0.th) #0: Wed Dec 16 14:52:28 CET 2009
        
root%vmware01.physik.uni-wuppertal.de@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0.th
total memory = 65536 KB
avail memory = 49564 KB
SMBIOS rev. 2.5 @ 0xcfb9c000 (67 entries)
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu1 at mainbus0 apid 6: (application processor)
cpu2 at mainbus0 apid 1: (application processor)
cpu3 at mainbus0 apid 7: (application processor)
ioapic0 at mainbus0 apid 8
(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 8
ioapic1 at mainbus0 apid 9
ioapic1: can't remap to apid 9
ipmi0 at mainbus0
hypervisor0 at mainbus0: Xen version 3.1
vcpu0 at hypervisor0: Intel 686-class, 1995MHz, id 0x6f6
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
acpi0 at hypervisor0: Intel ACPICA 20080321
TMR (PNP0100) [AT Timer] at acpi0 not configured
COMA (PNP0501) [16550A-compatible COM port] at acpi0 not configured
COMB (PNP0501) [16550A-compatible COM port] at acpi0 not configured
HPET (PNP0103) [HPET Timer] at acpi0 not configured
pci0 at hypervisor0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x25c0 (rev. 0x12)
ppb0 at pci0 dev 2 function 0: vendor 0x8086 product 0x25e2 (rev. 0x12)
pci1 at ppb0 bus 6
ppb1 at pci1 dev 0 function 0: vendor 0x8086 product 0x3500 (rev. 0x01)
pci2 at ppb1 bus 7
ppb2 at pci2 dev 0 function 0: vendor 0x8086 product 0x3510 (rev. 0x01)
pci3 at ppb2 bus 8
ppb3 at pci3 dev 0 function 0: vendor 0x1166 product 0x0103 (rev. 0xc2)
ppb3: disabling notification events
pci4 at ppb3 bus 9
bnx0 at pci4 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
bnx0: Ethernet address 00:13:72:37:db:57
brgphy0 at bnx0 phy 1: BCM5708C 1000BASE-T media interface, rev. 5
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb4 at pci2 dev 1 function 0: vendor 0x8086 product 0x3514 (rev. 0x01)
pci5 at ppb4 bus 10
ppb5 at pci1 dev 0 function 3: vendor 0x8086 product 0x350c (rev. 0x01)
ppb5: disabling notification events
pci6 at ppb5 bus 11
ppb6 at pci0 dev 3 function 0: vendor 0x8086 product 0x25e3 (rev. 0x12)
pci7 at ppb6 bus 1
ppb7 at pci7 dev 0 function 0: vendor 0x8086 product 0x0370 (rev. 0x00)
ppb7: disabling notification events
pci8 at ppb7 bus 2
mfi0 at pci8 dev 14 function 0: Dell PERC 5/i integrated
mfi0: interrupting at ioapic1 pin 14, event channel 5
mfi0: cannot create ccb dmamap (12)
mfi0: could not init ccb list
mfi0: can't attachppb8 at pci7 dev 0 function 2: vendor 0x8086 product 0x0372 
(rev. 0x00)
ppb8: disabling notification events
pci9 at ppb8 bus 3
ppb9 at pci0 dev 4 function 0: vendor 0x8086 product 0x25f8 (rev. 0x12)
pci10 at ppb9 bus 12
ppb10 at pci0 dev 5 function 0: vendor 0x8086 product 0x25e5 (rev. 0x12)
pci11 at ppb10 bus 13
ppb11 at pci0 dev 6 function 0: vendor 0x8086 product 0x25f9 (rev. 0x12)
pci12 at ppb11 bus 14
ppb12 at pci0 dev 7 function 0: vendor 0x8086 product 0x25e7 (rev. 0x12)
pci13 at ppb12 bus 15
pchb1 at pci0 dev 16 function 0
pchb1: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb2 at pci0 dev 16 function 1
pchb2: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb3 at pci0 dev 16 function 2
pchb3: vendor 0x8086 product 0x25f0 (rev. 0x12)
pchb4 at pci0 dev 17 function 0
pchb4: vendor 0x8086 product 0x25f1 (rev. 0x12)
pchb5 at pci0 dev 19 function 0
pchb5: vendor 0x8086 product 0x25f3 (rev. 0x12)
pchb6 at pci0 dev 21 function 0
pchb6: vendor 0x8086 product 0x25f5 (rev. 0x12)
pchb7 at pci0 dev 22 function 0
pchb7: vendor 0x8086 product 0x25f6 (rev. 0x12)
ppb13 at pci0 dev 28 function 0: vendor 0x8086 product 0x2690 (rev. 0x09)
pci14 at ppb13 bus 4
ppb14 at pci14 dev 0 function 0: vendor 0x1166 product 0x0103 (rev. 0xc2)
ppb14: disabling notification events
pci15 at ppb14 bus 5
bnx1 at pci15 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
bnx1: Ethernet address 00:13:72:37:db:55
bnx1: Could not create Rx mbuf 478 DMA map!
bnx1: DMA resource allocation failed!
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff8052645d cs e030 rflags 10282 cr2  0 cpl 8 rsp 
ffffffff80db52b0
kernel: protection fault trap, code=0
Stopped in pid 0.1 (system) at  netbsd:_bus_dmamap_unload+0xd:  andl    $-0x5,0(
%rax)
_bus_dmamap_unload() at netbsd:_bus_dmamap_unload+0xd
bnx_dma_free() at netbsd:bnx_dma_free+0x2ba
bnx_release_resources() at netbsd:bnx_release_resources+0xf
bnx_attach() at netbsd:bnx_attach+0x29d
config_attach_loc() at netbsd:config_attach_loc+0x15a
pci_probe_device() at netbsd:pci_probe_device+0x254
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
ppbattach() at netbsd:ppbattach+0x15c
config_attach_loc() at netbsd:config_attach_loc+0x15a
pci_probe_device() at netbsd:pci_probe_device+0x254
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
ppbattach() at netbsd:ppbattach+0x15c
config_attach_loc() at netbsd:config_attach_loc+0x15a
pci_probe_device() at netbsd:pci_probe_device+0x254
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+0xa0
hypervisor_attach() at netbsd:hypervisor_attach+0x128
config_attach_loc() at netbsd:config_attach_loc+0x15a
mainbus_attach() at netbsd:mainbus_attach+0xbb
config_attach_loc() at netbsd:config_attach_loc+0x15a
cpu_configure() at netbsd:cpu_configure+0x25
main() at netbsd:main+0x195
ds          0x600
es          0x8b20
fs          0x1000
gs          0x4100
rdi         0xffffffff80b969e0  pci_bus_dma_tag
rsi         0xffffa00001465f00
rbp         0xffffffff80db52b0
rbx         0x1de
rdx         0x2666666
rcx         0x840600
rax         0xdeadbeefdeadbeef
r8          0xffffffff80b8f100  cpu_info_primary
r9          0
r10         0xffff800000000000
r11         0xffffffff80526450  _bus_dmamap_unload
r12         0xffffa00008951000
r13         0xffffa000089515f0
r14         0
r15         0xffffa00008944ad8
rip         0xffffffff8052645d  _bus_dmamap_unload+0xd
cs          0xe030
rflags      0x10282
rsp         0xffffffff80db52b0
ss          0xe02b
netbsd:_bus_dmamap_unload+0xd:  andl    $-0x5,0(%rax)
db> [

I do not have problems with the network cards on GENERIC (amd64 port), so I 
hope it is only a configuration problem.

My menu.lst looks like this:

vmware01# cat /grub/menu.lst                                                    
                                                                  
default=1

timeout=10

title Xen 3.0 / NetBSD (sda0, vga)
  root(hd0,0)
  kernel (hd0,a)/xen.gz dom0_mem=65536 com1=115200,8n1
  module (hd0,a)/netbsd.xen bootdev=sd0a ro console=ttyS0


title NetBSD
root (hd0,0,a)       # NetBSD on 1st MBR partition of 1st IDE disk
chainloader +1

Any hint would be very much appreciated!

Best regards,

   Torsten

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg%physik.uni-wuppertal.de@localhost  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><> 





Home | Main Index | Thread Index | Old Index