Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180329

BUG: ESXi 6.5: USB passthrough error

$
0
0

Hi!

 

There seem to be a fair number of discussions on this topic:

ESXi 6.5 USB Devices attached to VMs Issues?

ESXi 6.5 issue with USB Dymo Labelwriter

and also my case ...

 

Both my devices worked in ESXi 6.0 U2 and now have major troubles in 6.5.

 

So I would like to collect all issue on this on one thread for easier troubleshooting.

 

My issue is with one USB hard drive (1058:1230 Western Digital Technologies, Inc.) connected to a USB 3.0 port.

I'm running HPE official image 6.5 on an Proliant Microserver Gen8

Uname -a: VMkernel host.domain 6.5.0 #1 SMP Release build-4564106 Oct 26 2016 22:24:57 x86_64 x86_64 x86_64 ESXi

 

At the same time I got another USB 3.0 HDD connected and working fine (174c:5136 ASMedia Technology Inc. ASM1053 SATA 6Gb/s bridge)

The WD disk works for a bit and then remounts as RO on the guest (Ubuntu server 16.04)

 

dmesg on the host gives me:

2016-12-06T12:26:37.740Z cpu1:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:26:42.687Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:26:47.632Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:26:52.578Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:26:57.523Z cpu1:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:02.469Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:07.414Z cpu1:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:12.358Z cpu1:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:17.303Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:22.248Z cpu1:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

2016-12-06T12:27:27.193Z cpu0:65907)WARNING: usb_non_isoc_callback:1019: transfer error [20]: endpt = 0x82, nframes = 1, timeout = 5000, interval = 4, max_packet_size = 64, max_frame_size = 64: Failure

 

 

dmesg on the guest gives me:

[  99.527766] EXT4-fs (sde1): mounted filesystem with ordered data mode. Opts: (null)

[  123.468593] nfsd: last server has exited, flushing export cache

[  123.560971] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

[  123.560997] NFSD: starting 90-second grace period (net ffffffff81ef4680)

[ 7218.809569] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[ 7224.313609] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[12341.802506] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[12341.853564] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[12341.853571] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 14 b0 01 21 00 00 01 00

[12341.853574] blk_update_request: I/O error, dev sde, sector 2776631560

[12347.314556] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[12347.359728] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[12347.359757] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 14 b0 01 22 00 00 01 00

[12347.359764] blk_update_request: I/O error, dev sde, sector 2776631568

[16045.316261] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[16045.363161] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[16045.363170] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 12 a0 01 21 00 00 01 00

[16045.363173] blk_update_request: I/O error, dev sde, sector 2499807496

[16050.820375] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[16050.866836] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[16050.866860] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 12 a0 01 22 00 00 01 00

[16050.866868] blk_update_request: I/O error, dev sde, sector 2499807504

[19823.990199] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[19824.036778] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[19824.036787] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 32 c0 01 21 00 00 01 00

[19824.036790] blk_update_request: I/O error, dev sde, sector 6811552008

[19829.498360] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[19829.543041] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[19829.543049] sd 34:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 32 c0 01 22 00 00 01 00

[19829.543052] blk_update_request: I/O error, dev sde, sector 6811552016

[24522.979739] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[24528.487780] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[28229.805561] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[28235.325512] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[31912.173703] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[31917.685669] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[35448.001446] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[35453.513178] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43226.520440] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43228.096443] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43229.684458] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43231.264510] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43232.844421] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43234.420503] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[43234.465907] sd 34:0:0:0: [sde] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[43234.465935] sd 34:0:0:0: [sde] tag#0 CDB: Write(10) 2a 00 1d 18 87 f2 00 00 02 00

[43234.465950] blk_update_request: I/O error, dev sde, sector 3905175440

[43234.466067] Aborting journal on device sde1-8.

[43235.992595] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[63700.742992] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[63706.250942] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd

[63707.212829] EXT4-fs error (device sde1): ext4_journal_check_start:56: Detected aborted journal

[63707.214711] EXT4-fs (sde1): Remounting filesystem read-only

 

 

[root@host:~] lsusb -v -d 1058:1230


Bus 002 Device 002: ID 1058:1230 Western Digital Technologies, Inc.
Device Descriptor:
  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            0 (Defined at Interface level)  bDeviceSubClass         0  bDeviceProtocol         0  bMaxPacketSize0         9  idVendor           0x1058 Western Digital Technologies, Inc.  idProduct          0x1230  bcdDevice           10.65  iManufacturer           2 Western Digital  iProduct                3 My Book 1230  iSerial                 1 574343344543584B44384C50  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength           44    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xc0      Self Powered    MaxPower                2mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           2      bInterfaceClass         8 Mass Storage      bInterfaceSubClass      6 SCSI      bInterfaceProtocol     80 Bulk-Only      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst              15      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x02  EP 2 OUT        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst              15
Binary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength           22  bNumDeviceCaps          2  USB 2.0 Extension Device Capability:    bLength                 7    bDescriptorType        16    bDevCapabilityType      2    bmAttributes   0x0000f41e      Link Power Management (LPM) Supported  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x00    wSpeedsSupported   0x000e      Device can operate at Full Speed (12Mbps)      Device can operate at High Speed (480Mbps)      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro seconds
Device Status:     0x0001  Self Powered

 

 

Who have any pointers to what can be done to have this working again as it seems to be affecting quite a few of us with USB peripherals like HDD's card readers and printers...

 

I already tried to downgrade to the previous version of xhci vib's but turned out to be too many dependencies...

 

Many many thanks for any help on this topic!


Viewing all articles
Browse latest Browse all 180329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>