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. - 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) - 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! Thanks, Andreas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Some questions and comments inline. On Tue, Oct 14, 2008 at 4:55 PM, Andreas Müller <mail@amueller.org> 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@lists.xensource.com http://lists.xensource.com/xen-users
On Oct 15, 2008, at 12:13 AM, Todd Deshane wrote:> Some questions and comments inline. > > On Tue, Oct 14, 2008 at 4:55 PM, Andreas Müller <mail@amueller.org> > 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?no I guess not. The Board has the Intel i945GC Chipset.> > >> >> - 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 -vvvlspci -tv only shows the controllers listed above.> > >> >> - 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. >Unfortunately there is only one PCI slot on the board -> WLAN card> Try the command xm pci-list-assignable-devicesdoes not exist!?> > > Also what version of Xen? >XEN version 3.2.1-rc1-pre> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>>> >>> - Is it possible to only forward certain USB ports rather than the whole >>> Controller (via pciback.hide)?You might be able to achieve this another way. Take a look at: http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/>> Try the command xm pci-list-assignable-devices > > does not exist!? >> >> Also what version of Xen? >> > > XEN version 3.2.1-rc1-preOK, so the VT-d + pci-list-assignable-devices support is new in 3.3. Cheers, Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Oct 15, 2008, at 11:24 PM, Todd Deshane wrote:>>>> >>>> - Is it possible to only forward certain USB ports rather than >>>> the whole >>>> Controller (via pciback.hide)? > > > You might be able to achieve this another way. > > Take a look at: > http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/ >no, does not work. I get nothing out of lsusb or dmesg or syslog> >>> Try the command xm pci-list-assignable-devices >> >> does not exist!? >>> >>> Also what version of Xen? >>> >> >> XEN version 3.2.1-rc1-pre > > OK, so the VT-d + pci-list-assignable-devices support is new in 3.3.Would it help to install 3.3?> > > Cheers, > Todd > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Would it help to install 3.3?Hard to say for sure. Does the dom0 support the DVB-stick? For passthrough stuff the newer the version of Xen the better, since a lot of testing went into adding VT-d passthrough. You may also want to make sure your dom0 and domU kernel is the latest from xen.org as well. Cheers Todd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users