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

[Xen-users] Centos 5.7 Xen 4.1 AMD 64 from gitco cannot attach usb port to domU windows 7


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>

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@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 7, in ?
  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?


Xen-users mailing list



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