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] USB in DomU

To: "Andreas Müller" <mail@xxxxxxxxxxxx>
Subject: Re: [Xen-users] USB in DomU
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GHqBF0c8VGhQzTbIihLDLhtRklSQNbiKdcIV9XyctRk=; b=ty80n8jEOM2nH8ho29+cOZVPT/4LKzeqWPpFdbx882MkZUHzUMa9SMVVZZpyC1S90S 2x0+k7abmX13RgjJ+rjgmqeigDWSn1NMQIvsAQBEuQ530xss55PjRts+Scl7Bfn14pIv FejFmRNrSxTtdEGf9foVT7joK3kMPO12vypXk=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <45C5902A-E7EC-435B-A69D-CE8C65A704F9@xxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45C5902A-E7EC-435B-A69D-CE8C65A704F9@xxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>