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-users

Re: [Xen-users] PCI passthrough working on Xen 3!

To: Jeff Noxon <jeff@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] PCI passthrough working on Xen 3!
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Thu, 23 Feb 2006 08:39:19 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 23 Feb 2006 13:39:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060222155508.GA31141@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060222155508.GA31141@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-02-22 at 09:55 -0600, Jeff Noxon wrote:
> Thanks to the kind person(s) who worked on this.  I am using PCI
> passthrough right now and it works.  I hope support is added for VT
> domains too; That would be extremely useful.
> 
> So far I have tried a NIC, USB, and PCI Video.  The NIC works flawlessly.
> USB works as long as the devices are present at the time the domain
> is started.  Hotplugging USB devices seems not to work.  If I open
> /dev/input/mice, and move my mouse around, I can see the mouse data.
> 
> I have seen some dmesg output like this from USB:
> 
> uhci_hcd 0000:00:01.3: Unlink after no-IRQ?  Controller is probably using the 
> wrong IRQ.
> 
<snip>
> 
> # lspci
> 00:00.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] 
> (rev 05)
> 00:01.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 
> (rev 01)
> 00:01.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 
> (rev 01)
> 00:01.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 
> (rev 01)
> 00:01.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 
> (rev 01)
> 00:01.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
> Controller (rev 01)
> 00:02.0 VGA compatible controller: Trident Microsystems TGUI 9660/938x/968x 
> (rev d3)
> 
> And lsusb:
> 
> # lsusb
> Bus 005 Device 003: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
> Bus 005 Device 002: ID 413c:2003 Dell Computer Corp.
> Bus 005 Device 001: ID 0000:0000
> Bus 004 Device 001: ID 0000:0000
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> 
> 

Are you giving all 5 of your usb controllers to your domU? I'm assuming
the lspci output above is from your domU, but I just want to be sure. I
believe the 5 controllers work together to cover all of your USB ports.

If the device doesn't show up in your domU, does it show up in dom0? Can
you share /proc/interrupts from your dom0 as well? Also, what kind of
information to you find in your dom0 kernel logs? Can you share anything
in 'dmesg' that relates to your USB devices (look for statements that
match the PCI slot - if you have an ACPI system, you should see some
ACPI log entries about interrupts).

Ryan


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