* Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
@ 2016-01-07 8:53 Jānis Andersons | Failiem.lv
2016-01-07 10:21 ` Wei Liu
0 siblings, 1 reply; 4+ messages in thread
From: Jānis Andersons | Failiem.lv @ 2016-01-07 8:53 UTC (permalink / raw)
To: xen-devel
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
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@lists.xen.org
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).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
2016-01-07 8:53 Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'> Jānis Andersons | Failiem.lv
@ 2016-01-07 10:21 ` Wei Liu
2016-01-12 15:19 ` George Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Wei Liu @ 2016-01-07 10:21 UTC (permalink / raw)
To: Jānis Andersons | Failiem.lv; +Cc: George Dunlap, wei.liu2, xen-devel
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.
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
> 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@lists.xen.org
> 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).
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
2016-01-07 10:21 ` Wei Liu
@ 2016-01-12 15:19 ` George Dunlap
2016-01-12 15:51 ` Juergen Gross
0 siblings, 1 reply; 4+ messages in thread
From: George Dunlap @ 2016-01-12 15:19 UTC (permalink / raw)
To: Wei Liu, Jānis Andersons | Failiem.lv
Cc: George Dunlap, jgross, Chun Yan Liu, xen-devel
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@lists.xen.org
>> 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@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>
2016-01-12 15:19 ` George Dunlap
@ 2016-01-12 15:51 ` Juergen Gross
0 siblings, 0 replies; 4+ messages in thread
From: Juergen Gross @ 2016-01-12 15:51 UTC (permalink / raw)
To: George Dunlap, Wei Liu, Jānis Andersons | Failiem.lv
Cc: George Dunlap, Chun Yan Liu, xen-devel
On 12/01/16 16:19, George Dunlap wrote:
> 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?
The classic kernel-xen flavor has "usbback", so do openSUSE and SLE
official releases.
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-12 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 8:53 Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'> Jānis Andersons | Failiem.lv
2016-01-07 10:21 ` Wei Liu
2016-01-12 15:19 ` George Dunlap
2016-01-12 15:51 ` Juergen Gross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.