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

[Xen-devel] [Bug] PVUSB, Ubuntu 12.04, Xen 4.1.2



Hi everyone,

I installed xen from packages on Ubuntu 12.04, getting the version 4.1.2 .
I wanted to use pvusb which I understand was functional on this version to pass an USB hard drive to my DomU, but I only manage to get this error trying to attach the device to a domain.

It may also be worth mentionning that "xm usb-hc-destroy mydomu 0" doesn't have any effect, so it doesn't give back any error (I get one if I try on an unregistered devId) but don't remove the host controller.

So should pvusb be fonctionnal on this version of xen/xm ? If yes, any help would be highly appreciated.

Thanks,

Erwan

root@xenprob:/home/xenprob# xm usb-list-assignable
2-1.3        : ID 154b:005b PNY Technologies USB 2.0 FD
2-1.6        : ID 413c:2107 DELL Dell USB Entry Keyboard
2-1.8        : ID 046d:c077 Logitech USB Optical Mous
root@xenprob:/home/xenprob# xm usb-list mydomu 
Idx BE  state usb-ver  BE-path                       
0   0   1     USB2.0  /local/domain/0/backend/vusb/2/0  
port 1: 
port 2: 


root@xenprob:/home/xenprob# xm usb-attach mydomu 0 1 2-1.3
Unexpected error: <class 'xen.util.vusb_util.UsbDeviceParseError'>

Traceback (most recent call last):
  File "/usr/lib/xen-4.1/bin/xm", line 8, in <module>
    main.main(sys.argv)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/main.py", line 3983, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/main.py", line 4007, in _run_cmd
    return True, cmd(args)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xm/main.py", line 3046, in xm_usb_attach
    if vusb_util.bus_is_assigned(bus):
  File "/usr/lib/xen-4.1/bin/../lib/python/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: (2-1.3).


root@xenprob:/home/xenprob# xm info
host                   : xenprob
release                : 3.2.0-44-generic
version                : #69-Ubuntu SMP Thu May 16 17:35:01 UTC 2013
machine                : x86_64
nr_cpus                : 12
nr_nodes               : 1
cores_per_socket       : 6
threads_per_core       : 2
cpu_mhz                : 1995
hw_caps                : bfebfbff:2c100800:00000000:00003f40:13bee3ff:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 16309
free_memory            : 458
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .2
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : placeholder
cc_compiler            : gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
cc_compile_by          : stefan.bader
cc_compile_domain      : canonical.com
cc_compile_date        : Mon Apr 29 19:04:55 UTC 2013
xend_config_format     : 4



--
Erwan PILLET
Élève ingénieur Telecom Bretagne
+33 6 52 45 44 56
erwan.pillet@xxxxxxxxxxxxxxxxxxx
_______________________________________________
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®.