Bug 189631 - ERROR Transfer event for disabled endpoint or incorrect stream ring
Summary: ERROR Transfer event for disabled endpoint or incorrect stream ring
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 09:51 UTC by Nicolas R
Modified: 2017-05-01 18:04 UTC (History)
0 users

See Also:
Kernel Version: 4.4 and up
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Nicolas R 2016-12-04 09:51:04 UTC
Hi,

Using kernel 4.4 or more, an USB 3.0 external HDD dies all the time when writing on it.
Tested on multiple computers, multiples disks, and multiple external disks.

Only works on my 3.10 kernel (CentOS7)

On dmesg I got this :


[  117.372521] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00
[  117.776461] usb 2-2: new SuperSpeed USB device number 4 using xhci_hcd
[  117.802078] scsi host2: uas
[  117.803347] scsi 2:0:0:0: Direct-Access     USB3.0                    0203 PQ: 0 ANSI: 6
[  124.401296] sd 2:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[  124.401306] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[  124.401927] sd 2:0:0:0: [sdb] Write Protect is off
[  124.401935] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08
[  124.402295] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  124.476482]  sdb: sdb1 sdb2 sdb3
[  124.479096] sd 2:0:0:0: [sdb] Attached SCSI disk
[  163.496129] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  163.496135] xhci_hcd 0000:00:14.0: @000000026a3e3f10 00000000 00000000 04000000 07088001
[  195.690550] sd 2:0:0:0: [sdb] tag#10 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT 
[  195.690560] sd 2:0:0:0: [sdb] tag#10 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 98 00 00 00 04 00 00 00
[  195.690765] sd 2:0:0:0: [sdb] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT 
[  195.690772] sd 2:0:0:0: [sdb] tag#9 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 94 00 00 00 04 00 00 00
[  195.690849] sd 2:0:0:0: [sdb] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT 
[  195.690854] sd 2:0:0:0: [sdb] tag#8 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 90 00 00 00 04 00 00 00
[  195.690922] sd 2:0:0:0: [sdb] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT 
[  195.690927] sd 2:0:0:0: [sdb] tag#7 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 8c 00 00 00 04 00 00 00
[  195.690993] sd 2:0:0:0: [sdb] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT 
[  195.690999] sd 2:0:0:0: [sdb] tag#6 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 88 00 00 00 04 00 00 00
[  195.691067] sd 2:0:0:0: [sdb] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT 
[  195.691072] sd 2:0:0:0: [sdb] tag#5 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 84 00 00 00 04 00 00 00
[  195.691133] sd 2:0:0:0: [sdb] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT 
[  195.691139] sd 2:0:0:0: [sdb] tag#4 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 80 00 00 00 04 00 00 00
[  195.691203] sd 2:0:0:0: [sdb] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[  195.691208] sd 2:0:0:0: [sdb] tag#3 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 7c 00 00 00 04 00 00 00
[  195.691268] sd 2:0:0:0: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT 
[  195.691274] sd 2:0:0:0: [sdb] tag#2 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 78 00 00 00 04 00 00 00
[  195.691336] sd 2:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT 
[  195.691341] sd 2:0:0:0: [sdb] tag#1 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 74 00 00 00 04 00 00 00
[  195.691414] sd 2:0:0:0: [sdb] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT 
[  195.691419] sd 2:0:0:0: [sdb] tag#27 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 70 00 00 00 04 00 00 00
[  195.691482] sd 2:0:0:0: [sdb] tag#26 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD OUT 
[  195.691487] sd 2:0:0:0: [sdb] tag#26 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 6c 00 00 00 04 00 00 00
[  195.691554] sd 2:0:0:0: [sdb] tag#25 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD OUT 
[  195.691563] sd 2:0:0:0: [sdb] tag#25 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 68 00 00 00 04 00 00 00
[  195.691622] sd 2:0:0:0: [sdb] tag#24 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD OUT 
[  195.691631] sd 2:0:0:0: [sdb] tag#24 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 64 00 00 00 04 00 00 00
[  195.691763] sd 2:0:0:0: [sdb] tag#23 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD OUT 
[  195.691776] sd 2:0:0:0: [sdb] tag#23 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 60 00 00 00 04 00 00 00
[  195.691849] sd 2:0:0:0: [sdb] tag#22 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD OUT 
[  195.691855] sd 2:0:0:0: [sdb] tag#22 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 5c 00 00 00 04 00 00 00
[  195.691946] sd 2:0:0:0: [sdb] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT 
[  195.691954] sd 2:0:0:0: [sdb] tag#21 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 58 00 00 00 04 00 00 00
[  195.692017] sd 2:0:0:0: [sdb] tag#20 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD OUT 
[  195.692022] sd 2:0:0:0: [sdb] tag#20 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 54 00 00 00 04 00 00 00
[  195.692111] sd 2:0:0:0: [sdb] tag#19 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD OUT 
[  195.692120] sd 2:0:0:0: [sdb] tag#19 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 50 00 00 00 04 00 00 00
[  195.692182] sd 2:0:0:0: [sdb] tag#18 uas_eh_abort_handler 0 uas-tag 19 inflight: CMD OUT 
[  195.692188] sd 2:0:0:0: [sdb] tag#18 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 4c 00 00 00 04 00 00 00
[  195.692258] sd 2:0:0:0: [sdb] tag#17 uas_eh_abort_handler 0 uas-tag 18 inflight: CMD OUT 
[  195.692263] sd 2:0:0:0: [sdb] tag#17 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 48 00 00 00 04 00 00 00
[  195.692320] sd 2:0:0:0: [sdb] tag#16 uas_eh_abort_handler 0 uas-tag 17 inflight: CMD OUT 
[  195.692325] sd 2:0:0:0: [sdb] tag#16 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 44 00 00 00 04 00 00 00
[  195.692379] sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[  195.692385] sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 40 00 00 00 04 00 00 00
[  195.692488] sd 2:0:0:0: [sdb] tag#15 uas_eh_abort_handler 0 uas-tag 16 inflight: CMD OUT 
[  195.692497] sd 2:0:0:0: [sdb] tag#15 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 3c 00 00 00 04 00 00 00
[  195.692559] sd 2:0:0:0: [sdb] tag#14 uas_eh_abort_handler 0 uas-tag 15 inflight: CMD OUT 
[  195.692565] sd 2:0:0:0: [sdb] tag#14 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 38 00 00 00 04 00 00 00
[  195.692649] sd 2:0:0:0: [sdb] tag#13 uas_eh_abort_handler 0 uas-tag 14 inflight: CMD OUT 
[  195.692658] sd 2:0:0:0: [sdb] tag#13 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 34 00 00 00 04 00 00 00
[  195.692720] sd 2:0:0:0: [sdb] tag#12 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD OUT 
[  195.692726] sd 2:0:0:0: [sdb] tag#12 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 30 00 00 00 04 00 00 00
[  195.692790] sd 2:0:0:0: [sdb] tag#11 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT 
[  195.692799] sd 2:0:0:0: [sdb] tag#11 CDB: opcode=0x8a 8a 00 00 00 00 00 00 00 2c 00 00 00 04 00 00 00
[  198.237245] sd 2:0:0:0: tag#28 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD 
[  198.237255] sd 2:0:0:0: tag#28 CDB: opcode=0x0 00 00 00 00 00 00
[  198.237269] scsi host2: uas_eh_bus_reset_handler start
[  198.350826] usb 2-2: reset SuperSpeed USB device number 4 using xhci_hcd
[  198.370241] scsi host2: uas_eh_bus_reset_handler success
[  198.850602] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  198.850644] xhci_hcd 0000:00:14.0: @000000026a3e30e0 00000000 00000000 04000000 07088001


Need to shutdown the USB device to unfreeze the system.
Comment 1 Greg Kroah-Hartman 2016-12-04 10:24:12 UTC
On Sun, Dec 04, 2016 at 09:51:04AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=189631
> 
>             Bug ID: 189631
>            Summary: ERROR Transfer event for disabled endpoint or
>                     incorrect stream ring

All USB bugs should be sent to the linux-usb@vger.kernel.org mailing
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.
Comment 2 Nicolas R 2016-12-05 16:15:11 UTC
OK Thanks.

Mail send.
Comment 3 Nicolas R 2017-04-30 16:33:05 UTC
I will send again an email on the list, I never had any response, and the bug is still present on 4.10.11-1 on arch.
Comment 4 Nicolas R 2017-05-01 18:04:49 UTC
No one is responding on this mailist !

Note You need to log in before you can comment on or make changes to this bug.