Periko Support
2011-Oct-19 19:31 UTC
[Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
Hi. Just wondering is someone have been able to connect usb memory sticks in xen 4.1-gitco running hvm windows 7? I use xen 4.1 from gitco, is working without any issue, I need support for a usb memory stick, but I had not been able to make this works. Reading xm commands and process, first my MB Biostar A780L3L v6 wont support IOMMU. Now exist a doc from xen wiki from someone from Fujitso that show the procedure he use: xm usb-hc-create... works no issue. xm usb-list Darwin Idx BE state usb-ver BE-path 0 0 1 USB2.0 /local/domain/0/backend/vusb/2/0 port 1: port 2: port 3: port 4: port 5: port 6: port 7: port 8: xm usb-attach Error: ''xm usb-attach'' requires 4 arguments. Usage: xm usb-attach <Domain> <DevId> <PortNumber> <BusId> lsusb Bus 003 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 001 Device 002: ID 03f0:3307 Hewlett-Packard Bus 001 Device 003: ID 1307:1162 Transcend Information, Inc. Bus 002 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 xm usb-attach Darwin 0 1 1-2 Unexpected error: xen.util.vusb_util.UsbDeviceParseError Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 7, in ? main.main(sys.argv) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3983, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 4007, in _run_cmd return True, cmd(args) File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3046, in xm_usb_attach if vusb_util.bus_is_assigned(bus): File "/usr/lib64/python2.4/site-packages/xen/util/vusb_util.py", line 275, in bus_is_assigned raise UsbDeviceParseError("Can''t get assignment status: (%s)." % bus) xen.util.vusb_util.UsbDeviceParseError: vusb: Error parsing USB device info: Can''t get assignment status: (1-2). xm usb-list-assignable-devices 1-1 : ID 03f0:3307 HP v125w 1-4 : ID 1307:1162 USBest Technology USB Mass Storage Device I read on other post this: centos5 kernel-xen does NOT have xen pvusb drivers included, This is the problem? If not, could someone show me some light here? Last thing, the usb-add commands are related to pvusb? Thanks!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andy Burns
2011-Oct-20 07:40 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On 19 October 2011 20:31, Periko Support <pheriko.support@gmail.com> wrote:> Just wondering is someone have been able to connect usb memory sticks > in xen 4.1-gitco running hvm windows 7? > centos5 kernel-xen does NOT have xen pvusb drivers included, > This is the problem?I presume so, I did use gitco''s Xen with Centos5.x for a few years, but only with PCI passthrough, not USB. Could you try passing the USB host controller through to the domU as a PCI device instead? You might have to pass other devices sharing the same PCI bridge with it too... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Periko Support
2011-Oct-20 14:25 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On Thu, Oct 20, 2011 at 12:40 AM, Andy Burns <xen.lists@burns.me.uk> wrote:> On 19 October 2011 20:31, Periko Support <pheriko.support@gmail.com> wrote: > >> Just wondering is someone have been able to connect usb memory sticks >> in xen 4.1-gitco running hvm windows 7? >> centos5 kernel-xen does NOT have xen pvusb drivers included, >> This is the problem? > > I presume so, I did use gitco''s Xen with Centos5.x for a few years, > but only with PCI passthrough, not USB. > > Could you try passing the USB host controller through to the domU as a > PCI device instead? You might have to pass other devices sharing the > same PCI bridge with it too... > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Hi. This new for me, passing the whole controller to the domU is related to: Xen PCI Passthrough? My MoBo does not support IOMMU. Thanks!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andy Burns
2011-Oct-21 15:17 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On 20 October 2011 15:25, Periko Support <pheriko.support@gmail.com> wrote:> On Thu, Oct 20, 2011 at 12:40 AM, Andy Burns <xen.lists@burns.me.uk> wrote: > >> Could you try passing the USB host controller through to the domU as a >> PCI device instead? > > This new for me, passing the whole controller to the domU is related to: > Xen PCI Passthrough?Yes, you can use lspci in the dom0 to find which USB controller(s) you want to assign to the domU> My MoBo does not support IOMMU.That''s doesn''t matter, as long as you''re using PV rather than HVM for the CentOS domU? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Periko Support
2011-Oct-21 15:29 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On Fri, Oct 21, 2011 at 8:17 AM, Andy Burns <xen.lists@burns.me.uk> wrote:> On 20 October 2011 15:25, Periko Support <pheriko.support@gmail.com> wrote: > >> On Thu, Oct 20, 2011 at 12:40 AM, Andy Burns <xen.lists@burns.me.uk> wrote: >> >>> Could you try passing the USB host controller through to the domU as a >>> PCI device instead? >> >> This new for me, passing the whole controller to the domU is related to: >> Xen PCI Passthrough? > > Yes, you can use lspci in the dom0 to find which USB controller(s) you > want to assign to the domU > >> My MoBo does not support IOMMU. > > That''s doesn''t matter, as long as you''re using PV rather than HVM for > the CentOS domU? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >This is not a Centos DomU is a HVM running windows. Thanks!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andy Burns
2011-Oct-21 15:55 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
>>> My MoBo does not support IOMMU. >> >> That''s doesn''t matter, as long as you''re using PV rather than HVM for > > This is not a Centos DomU is a HVM running windows.Ah, in which case no IOMMU equals no devices ... in a similar situation with ESX and ESXi I have used the emulex and belkin USB over ethernet hubs, the latter being considerably cheaper and somewhat more flexible http://www.belkin.com/uk/networkusbhub/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Periko Support
2011-Oct-21 16:11 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On Fri, Oct 21, 2011 at 8:55 AM, Andy Burns <xen.lists@burns.me.uk> wrote:>>>> My MoBo does not support IOMMU. >>> >>> That''s doesn''t matter, as long as you''re using PV rather than HVM for >> >> This is not a Centos DomU is a HVM running windows. > > Ah, in which case no IOMMU equals no devices ... in a similar > situation with ESX and ESXi I have used the emulex and belkin USB over > ethernet hubs, the latter being considerably cheaper and somewhat more > flexible > > http://www.belkin.com/uk/networkusbhub/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Them, u setup the usbhub with a IP, run the installer inside windows, connect your usb drive into the hub and done? This will work with a HASP usb key to? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Periko Support
2011-Oct-21 16:33 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On Fri, Oct 21, 2011 at 9:28 AM, Andy Burns <xen.lists@burns.me.uk> wrote:> On 21 October 2011 17:11, Periko Support <pheriko.support@gmail.com> wrote: > >> On Fri, Oct 21, 2011 at 8:55 AM, Andy Burns <xen.lists@burns.me.uk> wrote: >>> >>> http://www.belkin.com/uk/networkusbhub/ >>> >> Them, u setup the usbhub with a IP, run the installer inside windows, >> connect your usb drive into the hub and done? > > Yes, with the Belkin you can assign individual USB ports to individual > domUs, with the emulex you have to assign all the USB ports to a > single domU > >> This will work with a HASP usb key to? > > I have used them with keyboard, mouse, memory sticks, optical drives > and WiFI USB devices, not with any protection dongles though, but it > just shows up as a USB hub with whatever devices you plug in, so I > wouldn''t *expect* problems. >Thanks I will give a try, appreciated your great help guys, let u know my results!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Periko Support
2011-Oct-31 22:44 UTC
Re: [Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7
On Fri, Oct 21, 2011 at 9:33 AM, Periko Support <pheriko.support@gmail.com> wrote:> On Fri, Oct 21, 2011 at 9:28 AM, Andy Burns <xen.lists@burns.me.uk> wrote: >> On 21 October 2011 17:11, Periko Support <pheriko.support@gmail.com> wrote: >> >>> On Fri, Oct 21, 2011 at 8:55 AM, Andy Burns <xen.lists@burns.me.uk> wrote: >>>> >>>> http://www.belkin.com/uk/networkusbhub/ >>>> >>> Them, u setup the usbhub with a IP, run the installer inside windows, >>> connect your usb drive into the hub and done? >> >> Yes, with the Belkin you can assign individual USB ports to individual >> domUs, with the emulex you have to assign all the USB ports to a >> single domU >> >>> This will work with a HASP usb key to? >> >> I have used them with keyboard, mouse, memory sticks, optical drives >> and WiFI USB devices, not with any protection dongles though, but it >> just shows up as a USB hub with whatever devices you plug in, so I >> wouldn''t *expect* problems. >> > > Thanks I will give a try, appreciated your great help guys, let u know > my results!!! >I had finally decide to change my MoBo, I purchase the belkin F5L009, it works for my memory sticks, but with a HASP key usb didn''t work, windows detect the device and appear on your device manager list, but the software that use this HASP key didn''t detect the device, just tell me that didn''t found any license, drivers working without any issue. I have try all morning this and I had done all I can do, like I say, this works for usb memory sticks but for my HASP key didn''t work. Thanks all of u guys for your help!!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users