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

Re: [Xen-devel] usbpassthrough of xen-4.1.2 update



I haven't found any  obvious error infomation in the log or command output. Below is some output message of dmesg, 
which I think may be useful. The sentence "usb-storage: waiting for device to settle before scanning" has repeated for
many times. Does it mean the missing of usb device?

[15171.175847] usb-storage: device found at 3
[15171.175851] usb-storage: waiting for device to settle before scanning
[15171.964100] usb 1-1.1: reset high speed USB device using ehci_hcd and address 3
[15172.049744] scsi11 : SCSI emulation for USB Mass Storage devices
[15172.051087] usb-storage: device found at 3
[15172.051090] usb-storage: waiting for device to settle before scanning
[15172.190280] usb 1-1.1: reset high speed USB device using ehci_hcd and address 3
[15172.276400] scsi12 : SCSI emulation for USB Mass Storage devices
[15172.277531] usb-storage: device found at 3
[15172.277537] usb-storage: waiting for device to settle before scanning
[15795.726914] frontend_changed: backend/vbd/2/768: prepare for reconnect
[15796.521940] eth0: port 3(vif2.0) entering disabled state
[15796.524501] eth0: port 3(vif2.0) entering disabled state
[15909.382494] device tap3.0 entered promiscuous mode
[15909.382661] eth0: port 2(tap3.0) entering forwarding state
[15909.496010] eth0: port 2(tap3.0) entering disabled state
[15909.503155] eth0: port 2(tap3.0) entering forwarding state
[15909.542545] device vif3.0 entered promiscuous mode
[15909.548416] eth0: port 3(vif3.0) entering forwarding state
[15919.952172] tap3.0: no IPv6 routers present
[15920.213066] vif3.0: no IPv6 routers present
[15921.487767] eth0: port 2(tap3.0) entering disabled state
[15921.495423] eth0: port 2(tap3.0) entering disabled state
[15922.021211] blkback: ring-ref 16383, event-channel 7, protocol 1 (unspecified, assuming native)
[15927.292273] usb 1-1.1: reset high speed USB device using ehci_hcd and address 3
[15927.377807] scsi13 : SCSI emulation for USB Mass Storage devices
[15927.378509] usb-storage: device found at 3
[15927.378512] usb-storage: waiting for device to settle before scanning
[15928.354314] usb 1-1.1: reset high speed USB device using ehci_hcd and address 3
[15928.440038] scsi14 : SCSI emulation for USB Mass Storage devices
[15928.441362] usb-storage: device found at 3
[15928.441366] usb-storage: waiting for device to settle before scanning
[15928.581347] usb 1-1.1: reset high speed USB device using ehci_hcd and address 3
[15928.667401] scsi15 : SCSI emulation for USB Mass Storage devices
[15928.667840] usb-storage: device found at 3
[15928.667845] usb-storage: waiting for device to settle before scanning
[18491.761185] r8169: peth0: link down
[18491.769600] eth0: port 1(peth0) entering disabled state
[18499.958694] r8169: peth0: link up
[18499.960123] eth0: port 1(peth0) entering forwarding state


2012/9/25 Pasi Kärkkäinen <pasik@xxxxxx>
On Tue, Sep 25, 2012 at 11:17:03AM +0800, Qian Hu wrote:
>    Hi, everyone! The same question with updated message.
>    I am working on the USB passthrough of Xen-4.1.2. My host OS  is Fedora 14
>    and the guest OS is win7.
>    According to the wiki
>    page([1]http://wiki.xen.org/wiki/Xen_USB_Passthrough),
>    xen supports passthrough of usb device from dom0 to guests. I have tried
>    the Xen HVM guest qemu-dm usb1.1 emulation,
>    by specifying "usb = 1" and "usbdevice = host:xxxx:yyyy". I have also
>    tried the command usb_add host:xxxx:yyyy.
>    But, the mouse could work, the keyboard didn't, and the usb storage
>    device(usb 2.0) appeared in the device manager.
>    While the driver is OK, it couldn't start. I can only find the message
>     "The device cannot start(code 10)".
>    I doubt there may be something wrong with the guest OS driver, which is
>    not said to be needed.
>    I am confused and don't know how to resolve it.  Could anyone help me?
>

It might be a bug in the USB emulation code in the old qemu-dm traditional.

Any errors in:
- "dmesg" output?
- /var/log/xen/qemu-dm* (for the windows vm).
- "xm dmesg" output ?


-- Pasi


_______________________________________________
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®.