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

Re: [Xen-devel] Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>



On 07/01/16 10:21, Wei Liu wrote:
> 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).

> On Thu, Jan 07, 2016 at 10:53:00AM +0200, JÄnis Andersons | Failiem.lv wrote:
>> xen_major              : 4
>> xen_minor              : 4
>> xen_extra              : .3-3.el6
>> CentOS release 6.7 (Final)
>>
>> After:
>> xm usb-hc-create demo_win2012_r2 2 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?

>> 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 xen-devel@xxxxxxxxxxxxx
>> 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).


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
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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