Port-xen archive

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

Re: NetBSD 5.99.22 Dom0 + xentools33 + pci export + linux domu



On 12/24/2009 01:08 PM, Juraj Hercek wrote:
On 12/23/2009 10:57 PM, Jean-Yves Migeon wrote:
Hmm, thought that uhci* and bge0 would attach on the same pci, but
they are not. Could you paste the result of "pcictl /dev/pci0 list"
(or lspci) once inside the "PCI privileged" domU?
...

I will try NetBSD domU with pci frontend compiled in some time later. If
that works ok, I would say that it's linux domU misbehaving.

I've just verified NetBSD domU with pci frontend. It behaves in the same way as linux domU with pci fronted and exported usb controller on pci. In other words, I see "Domain-Unnamed" in "--ps--" state after shutdown and I'm experiencing also network watchdog timeouts on bge0 network interface.

I have attached an output of domU dmesg and "pcictl pci0 list". I noted one suspicious line in domU dmesg:

  xen_alloc_contig: XENMEM_decrease_reservation failed!

which comes from _xen_alloc_contig() in xen_bus_dma.c file, line 102. Maybe this is related to the issue I have after shuting down of the domU...
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.99.22 (XEN3PAE_DOMU_XPCI) #0: Fri Dec 25 12:19:44 CET 2009
        
builder@dump:/os/netbsd/build-netbsd-i386/obj/sys/arch/i386/compile/XEN3PAE_DOMU_XPCI
total memory = 128 MB
avail memory = 119 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 3.3
vcpu0 at hypervisor0: Intel 686-class, 598MHz, id 0x6d6
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
Initializing SSP:53b967de 647a927 e08fd7e3 b8cd4fbd 4f12f161 a4e48dc0 386f236b 
77730580 
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Xen clock: using event channel 4
timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000
xenbus0: using event channel 1
xbd0 at xenbus0 id 1: Xen Virtual Block Device Interface
xbd0: using event channel 5
IPsec: Initialized Security Association Processing.
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 00:16:3e:7c:01:3e
xennet0: using event channel 6
xpci0 at xenbus0 id 0: Xen PCI passthrough Interface
xpci0: using event channel 7
xbd0: 4094 MB, 512 bytes/sect x 8385930 sectors
xpci0: 1 bus
pci0 at xpci0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x24c2 (rev. 0x01)
uhci0: interrupting at irq 11, event channel 8
xen_alloc_contig: XENMEM_decrease_reservation failed!
usb0 at uhci0: USB revision 1.0
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Kernelized RAIDframe activated
boot device: xbd0
root on xbd0a dumps on xbd0b
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nilfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
000:29:0: Intel 82801DB USB UHCI Controller (USB serial bus, revision 0x01)


Home | Main Index | Thread Index | Old Index