Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
xen_major : 4xen_minor : 4xen_extra : .3-3.el6
CentOS release 6.7 (Final)
After:
xm usb-hc-create demo_win2012_r2 2 4
xm usb-list demo_win2012_r2
WARNING: xend/xm is deprecated.
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:
xm usb-list-assignable-devices
WARNING: xend/xm is deprecated.
1-1 : ID 090c:1000 SMI Corporation USB DISK
1-10 : ID 14dd:0002 Peppercon AG Multidevice
xm usb-attach demo_win2012_r2 0 1 1-1
WARNING: xend/xm is deprecated.
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 20, in <module>
main.main(sys.argv)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3946,
in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3970,
in _run_cmd
return True, cmd(args)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3011,
in xm_usb_attach
if vusb_util.bus_is_assigned(bus):
File "/usr/lib64/python2.6/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-1).
CC George (who does the packaging for CentOS)
BTW this problem is better directed to appropriate mailing list of CentOS (centos-virt? I can't remember the exact name).
Wei.
Quoted 46 lines · Jānis Andersons | Failiem.lv
xen_major: 4xen_minor: 4xen_extra: .3-3.el6
CentOS release 6.7 (Final)After:
xm usb-hc-createdemo_win2012_r22 4
xm usb-listdemo_win2012_r2
WARNING: xend/xm is deprecated.
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:
xm usb-list-assignable-devices
WARNING: xend/xm is deprecated.
1-1 : ID 090c:1000 SMI Corporation USB DISK
1-10 : ID 14dd:0002 Peppercon AG Multidevicexm usb-attach
demo_win2012_r20 1 1-1WARNING: xend/xm is deprecated.
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 20, in <module>
main.main(sys.argv)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3946, in
main_, rc = _run_cmd(cmd, cmd_name, args)File "
/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3970, in_run_cmd
return True, cmd(args)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3011, inxm_usb_attach
ifvusb_util.bus_is_assigned(bus):
File "/usr/lib64/python2.6/site-packages/xen/util/vusb_util.py", line 275,
inbus_is_assigned
raiseUsbDeviceParseError("Can't get assignment status: (%s)." % bus)
xen.util.vusb_util.UsbDeviceParseError: vusb: Error parsing USB device info:
Can't get assignment status: (1-1).
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines · Wei Liu
CC George (who does the packaging for CentOS)
BTW this problem is better directed to appropriate mailing list of CentOS (centos-virt? I can't remember the exact name).
It would be centos-virt, but as it looks like an upstream bug, if Janis had reported this there, I probably would have asked him to re-report it here (or on xen-users).
Quoted 8 lines · Jānis Andersons | Failiem.lv
Quoted 7 lines
xen_major: 4xen_minor: 4xen_extra: .3-3.el6
CentOS release 6.7 (Final)After:
xm usb-hc-createdemo_win2012_r22 4
I'm actually a bit surprised this worked, as I didn't think the CentOS Virt SIG kernel had PVUSB support. Which kernel are you using?
Chunyan / Juergen, what modules should he look for to see if he has pvusb backend support?
Quoted 29 lines
Quoted 29 lines
xm usb-list
demo_win2012_r2
WARNING: xend/xm is deprecated.
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:
xm usb-list-assignable-devices
WARNING: xend/xm is deprecated.
1-1 : ID 090c:1000 SMI Corporation USB DISK
1-10 : ID 14dd:0002 Peppercon AG Multidevicexm usb-attach
demo_win2012_r20 1 1-1WARNING: xend/xm is deprecated.
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 20, in <module>
main.main(sys.argv)
File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3946, in
main_, rc = _run_cmd(cmd, cmd_name, args)File "
/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3970, in_run_cmd
return True, cmd(args)
Quoted 8 lines
Quoted 8 lines
File "
/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 3011, inxm_usb_attach
ifvusb_util.bus_is_assigned(bus):
File "/usr/lib64/python2.6/site-packages/xen/util/vusb_util.py", line 275,
inbus_is_assigned
raiseUsbDeviceParseError("Can't get assignment status: (%s)." % bus)
xen.util.vusb_util.UsbDeviceParseError: vusb: Error parsing USB device info:
Can't get assignment status: (1-1).
This could possibly be a side-effect of having no PVUSB backend; it could also be a straight-up bug in xend.
If it's an issue with having no PVUSB backend, you could try to build a kernel with support; the SLES kernel is probably your best bet, as I *think* they officially support it.
If you have PVUSB available, then it's probably a bug in xend. Unfortunately xend has been poorly maintained for some time. Xen 4.4 is already out of support, and xend was removed from the tree shortly after the Xen 4.5 development window opened (hence the warnings). So in this case it would most likely be classified as WONTFIX.
PVUSB support for xl is 99% certain to be available for Xen 4.7.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 16 lines · George Dunlap
Quoted 4 lines · Wei Liu
CC George (who does the packaging for CentOS)
BTW this problem is better directed to appropriate mailing list of CentOS (centos-virt? I can't remember the exact name).
It would be centos-virt, but as it looks like an upstream bug, if Janis had reported this there, I probably would have asked him to re-report it here (or on xen-users).
Quoted 6 lines · Jānis Andersons | Failiem.lv
Quoted 5 lines
xen_major: 4xen_minor: 4xen_extra: .3-3.el6
CentOS release 6.7 (Final)
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
After:
xm usb-hc-createdemo_win2012_r22 4I'm actually a bit surprised this worked, as I didn't think the CentOS Virt SIG kernel had PVUSB support. Which kernel are you using?
Chunyan / Juergen, what modules should he look for to see if he has pvusb backend support?
The classic kernel-xen flavor has "usbback", so do openSUSE and SLE official releases.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel