Opened 5 years ago
Last modified 5 years ago
#18393 new defect
USB3 drive not recognized when connected to USB3 port
Reported by: | jkister | Owned by: | |
---|---|---|---|
Component: | USB | Version: | VirtualBox 5.1.24 |
Keywords: | usb3 usb2 disk ssd drive | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
I have a Windows7 host w/ Debian8 guest on VirtualBox 5.2.8. WD Elements 2TB disk (https://smile.amazon.com/gp/product/B00D0L5BH8/) and Thinkpad E560 laptop (https://smile.amazon.com/Lenovo-ThinkPad-20EV002JUS-15-6-Inch-Processor/)
The disk connected into any usb3 port on the laptop. It is recognized and works fine under the Windows host. Once I connect the disk to the virtualbox guest, windows correctly stops seeing it and the guest shows:
[ 1786.262759] usb 1-2: new high-speed USB device number 7 using xhci_hcd [ 1786.486278] usb 1-2: device descriptor read/64, error 18 [ 1786.775519] usb 1-2: device descriptor read/64, error 18 [ 1787.063049] usb 1-2: new high-speed USB device number 8 using xhci_hcd [ 1787.247705] usb 1-2: device descriptor read/64, error 18 [ 1787.535498] usb 1-2: device descriptor read/64, error 18 [ 1787.818462] usb 1-2: new high-speed USB device number 9 using xhci_hcd [ 1787.835491] usb 1-2: Invalid ep0 maxpacket: 9 [ 1788.018588] usb 1-2: new high-speed USB device number 10 using xhci_hcd [ 1788.035487] usb 1-2: Invalid ep0 maxpacket: 9 [ 1788.036814] usb usb1-port2: unable to enumerate USB device
virtualbox list usbhost when the device is not connected to the virtualbox guest:
UUID: 91f87b8b-5c6c-4318-b582-48e82af85f67 VendorId: 0x1058 (1058) ProductId: 0x25a2 (25A2) Revision: 16.33 (1633) Port: 15 USB version/speed: 3/Super Manufacturer: Western Digital Product: Elements 25A2 SerialNumber: 575853314539373957304D4D Address: {36fc9e60-c465-11cf-8056-444553540000}\0008 Current State: Busy
.. and virtualbox list usbhost when the device is connected to the virtualbox guest:
UUID: d4973955-0c60-418e-bd19-29d060869977 VendorId: 0x1058 (1058) ProductId: 0x25a2 (25A2) Revision: 16.33 (1633) Port: 15 USB version/speed: 3/High Manufacturer: Western Digital Product: Elements 25A2 SerialNumber: 575853314539373957304D4D Address: {36fc9e60-c465-11cf-8056-444553540000}\0009 Current State: Unavailable
the device does not show up in /dev/sd* at all and lsusb does not show the device
the guest is configured for USB3 in virtualbox settings and the guest does have the usb3 drivers loaded.
when I use a USB2 extension cable between the disk and the laptop, the device works in the virtualbox guest.
see for discussion: https://forums.virtualbox.org/viewtopic.php?f=6&t=82474
I incorrectly set the Virtualbox version in this ticket. I ran into this problem with Virtualbox 5.2.8 and it persists in 5.2.24. I dont see a way for me to change the version.
Also, this behavior does not happen with all USB3 devices. I have a Plugable USB3-SATA-UASP1 that works correctly.
I tried the same disk in my Lenovo T440 with Windows10 and a Debian7 guest, it behaves the same way with the same error.
There are no driver updates for Windows nor firmware updates for the disk.
Using a USB2 extension cord also makes that VM happy with the disk.