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

[Xen-devel] Pci Export to get usb Dongle working under DomU (Xen 3.2)



Hello everybody,

I'm experiencing some problems while exporting a whole usb hub to my DomU.

My Dom0 is a Debian Etch using Xen 3.2 and kernel 2.6.18-5-xen-686 SMP on an intel core 2 duo.
My DomU is a CentOs 5.1 using same kernel.

Both are 32 bits environnements.

I've exported my Usb Hub, and a ethernet card, using the pciback.hide=(04:00.0)(00:1d.0) option to Dom0 kernel.
I can see it working as both devices are detected by the lspci command and i'm using my ethernet card for managing my system.

The problem is that the lsusb command do not show me my usb dongle.

Here are some lines taken from my dom0 dmesg output :

pciback: vpci: 0000:00:1d.0: assign to virtual slot 0
pciback: vpci: 0000:04:00.0: assign to virtual slot 1
PCI: Enabling device 0000:04:00.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:04:00.0 to 64
PCI: Enabling device 0000:00:1d.0 (0000 -> 0001)
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 21 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.0 to 64

Here is my lpci output from DomU :

00:00.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:01.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller (rev 01)

Here are some dmesg lines from DomU :

usbcore: registered new driver usbfs
usbcore: registered new driver hub
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4-NAPI
Copyright (c) 1999-2006 Intel Corporation.
PCI: Enabling device 0000:00:01.0 (0000 -> 0003)
PCI: Setting latency timer of device 0000:00:01.0 to 64
USB Universal Host Controller Interface driver v3.0
e1000: 0000:00:01.0: e1000_probe: (PCI Express:2.5Gb/s:Width x1) 00:13:72:0f:xx:xx
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
PCI: Enabling device 0000:00:00.0 (0000 -> 0001)
PCI: Setting latency timer of device 0000:00:00.0 to 64
uhci_hcd 0000:00:00.0: UHCI Host Controller
uhci_hcd 0000:00:00.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:00.0: irq 18, io base 0x0000ff80
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using uhci_hcd and address 2

Here is the lsusb output from DomU :

Bus 001 Device 001: ID 0000:0000

Here is the lsusb output from Dom0 without exporting my Usb Hub :

Bus 001 Device 002: ID 04b9:0300 Rainbow Technologies, Inc. SafeNet USB SuperPro/UltraPro

As you can see it is Safenet ultrapro Dongle that is recognized by the Xen kernel.

While diconnecting my dongle from my usb port, i can see, while watching the dmesg command output, that the kernel know the device is disconnected.
Same while connecting it.

I forgot to mention that my Usb Dongle is no more seen by Dom0 after the Usb hub exportation.

Do you think it can be a driver or a xen related problem?

Thanks in advance.

Regards,

Julien.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.