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

Re: [Xen-users] USB in DomU


  • To: "Andreas Müller" <mail@xxxxxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Tue, 14 Oct 2008 18:13:33 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 14 Oct 2008 15:14:19 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=itaaQfCLnBR67/xIIXSVX1uOPXDo3tyHzZCDBiLFVDw8DUmc+MMB0viyw1JooBOKf0 1vykZ4kMDgl6Wrc+7lZTzXipc74BfTROe1lYcfYuiSm5kIkvZhZl4/RFVzCKENhYx5i5 8veel5PbZZUUFUCI9hfqR535SOOpgtOD/uh2w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Some questions and comments inline.

On Tue, Oct 14, 2008 at 4:55 PM, Andreas Müller <mail@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> I'm using Xen on an Intel Atom board with 8 USB ports (4 on the back and 4 as 
> slots). An usb-stick acts as the
> harddrive and is therefore needed in dom0. Now I'd like to connect a DVB 
> Stick to a domU.

Does the board support VT-d?

>
> - Is it possible to only forward certain USB ports rather than the whole 
> Controller (via pciback.hide)?
>
> - Why does lspci only show 4 controllers? Does every controller control 2 
> ports? And what is 00:1d.7?
> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> Controller #1 (rev 01)
> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> Controller #2 (rev 01)
> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> Controller #3 (rev 01)
> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> Controller #4 (rev 01)
> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
> Controller (rev 01)

Check the output of lspci -tv and lspci -xxx -vvv

>
> - When I hide 00:1d.1, 00:1d.2, 00:1d.3 via  
> pciback.hide=(00:1d.1)(00:1d.2)(00:1d.3) noirqdebug from the dom0 and
> make them available in the domU's config I can see 2(?) controllers in the 
> domU but no DVB-Stick.
> Udev is installed, syslog does nothing
>
> lspci
> 0000:00:00.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> #2 (rev 01)
> 0000:00:00.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
> #3 (rev 01)
>
> lsusb
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
>
> Any comment is appreciated!

I have has some luck passing onboard USB controllers, but others have
reported problems.
They say that they can get a PCI-e usb controller and pass that through.

Try the command xm pci-list-assignable-devices

Also what version of Xen?

There are certain conditions that lead you to be able to use specific
PCI devices etc.

here is the link that explains it on xen-devel
http://xenbits.xensource.com/xen-unstable.hg?rev/e61978c24d84

Also see this thread regarding a work around patch to pass through
devices on the same PCI bridge:
http://lists.xensource.com/archives/html/xen-devel/2008-10/msg00280.html

Cheers,
Todd

--
Todd Deshane
http://todddeshane.net
http://runningxen.com

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


 


Rackspace

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