WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Pci Export to get usb Dongle working under DomU (Xen 3.2)
From: Julien Reveillet <j.reveillet@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Mar 2008 14:17:28 +0100
Delivery-date: Thu, 27 Mar 2008 06:17:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Pci Export to get usb Dongle working under DomU (Xen 3.2), Julien Reveillet <=