Re: Strange issues with UAS URB cancellation

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

 



Hello,

On Thu, Sep 05, 2024 at 04:52:41PM +0300, Mathias Nyman wrote:
> From bf7bbf8dbf92dc06e108a103f5f01b3f416339da Mon Sep 17 00:00:00 2001
> From: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
> Date: Thu, 5 Sep 2024 16:20:22 +0300
> Subject: [PATCH] xhci: Debug patch: handle halted ep if TD is not found.

[  608.093834] xhci_hcd 0000:01:00.0: Cancel URB 000000000dbb6adc, dev 1.1.1, ep 0x85, stream_id 4 starting at offset 0xd99660d0
[  608.094084] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd invalid because of stream ID configuration
[  608.094092] xhci_hcd 0000:01:00.0: MN: Set TR Dequeue Pointer Command: deq 00000000d99660e3 stream 4 slot 9 ep 11 flags C
[  608.102907] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 10 comp_code 3
[  608.102917] xhci_hcd 0000:01:00.0: Looking for event-dma 00000000d99660d0 trb-start 00000000d99660e0 trb-end 00000000d99668d0 seg-start 00000000d9966000 seg-end 00000000d9966ff0
[  608.102932] xhci_hcd 0000:01:00.0: MN: No TD found, fix halted ep
[  615.255042] sd 15:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
[  615.255053] sd 15:0:0:0: [sdb] tag#1 CDB: ATA command pass through(12)/Blank a1 08 2e d0 01 00 4f c2 00 b0 00 00
[  615.255061] xhci_hcd 0000:01:00.0: Cancel URB 00000000d6ee9176, dev 1.1.1, ep 0x85, stream_id 3 starting at offset 0xd9964440
[  627.213658] xhci_hcd 0000:01:00.0: Cancel URB 000000003f481828, dev 1.1.1, ep 0x85, stream_id 4 starting at offset 0xd99660e0
[  627.213702] usb 3-1.1.1: stat urb: no pending cmd for uas-tag 3
[  640.087462] sd 15:0:0:0: [sdb] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN 
[  640.087473] sd 15:0:0:0: [sdb] tag#5 CDB: Read(16) 88 00 00 00 00 00 0b b1 38 00 00 00 04 00 00 00
[  640.087480] xhci_hcd 0000:01:00.0: Cancel URB 0000000023438a34, dev 1.1.1, ep 0x85, stream_id 6 starting at offset 0xd996a7a0
[  640.088192] sd 15:0:0:0: [sdb] tag#4 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
[  640.088196] sd 15:0:0:0: [sdb] tag#4 CDB: Read(16) 88 00 00 00 00 00 0b b1 34 00 00 00 04 00 00 00
[  640.088199] xhci_hcd 0000:01:00.0: Cancel URB 000000004a1a39e1, dev 1.1.1, ep 0x85, stream_id 1 starting at offset 0xd99609a0
[  640.088906] sd 15:0:0:0: [sdb] tag#3 uas_eh_abort_handler 0 uas-tag 5 inflight: IN 
[  640.088910] sd 15:0:0:0: [sdb] tag#3 CDB: Read(16) 88 00 00 00 00 00 0b b1 1c 00 00 00 04 00 00 00
[  640.088913] xhci_hcd 0000:01:00.0: Cancel URB 0000000051d05311, dev 1.1.1, ep 0x85, stream_id 5 starting at offset 0xd9968c80
[  640.089630] sd 15:0:0:0: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
[  640.089633] sd 15:0:0:0: [sdb] tag#2 CDB: Read(16) 88 00 00 00 00 00 0b b1 3c 00 00 00 04 00 00 00
[  640.089636] xhci_hcd 0000:01:00.0: Cancel URB 0000000097b7903b, dev 1.1.1, ep 0x85, stream_id 2 starting at offset 0xd9962840
[  640.111444] scsi host15: uas_eh_device_reset_handler start
[  640.111455] xhci_hcd 0000:01:00.0: Cancel URB 0000000009cd9f08, dev 1.1.1, ep 0x87, stream_id 2 starting at offset 0xd999b580
[  640.111874] xhci_hcd 0000:01:00.0: Cancel URB 000000006f25243c, dev 1.1.1, ep 0x87, stream_id 6 starting at offset 0xd9988d60
[  640.112370] xhci_hcd 0000:01:00.0: Cancel URB 00000000e23080f4, dev 1.1.1, ep 0x87, stream_id 1 starting at offset 0x121d280
[  640.203759] usb 3-1.1.1: reset SuperSpeed Plus Gen 2x1 USB device number 6 using xhci_hcd
[  640.251136] scsi host15: uas_eh_device_reset_handler success
[  640.530396] xhci_hcd 0000:01:00.0: Cancel URB 00000000b1755fe5, dev 1.1.2, ep 0x85, stream_id 2 starting at offset 0x1241110
[  640.530677] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd invalid because of stream ID configuration
[  640.530686] xhci_hcd 0000:01:00.0: MN: Set TR Dequeue Pointer Command: deq 0000000001241123 stream 2 slot 10 ep 11 flags C
[  640.601761] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 10 comp_code 3
[  640.601773] xhci_hcd 0000:01:00.0: Looking for event-dma 0000000001241110 trb-start 0000000001241120 trb-end 0000000001241910 seg-start 0000000001241000 seg-end 0000000001241ff0
[  640.601776] xhci_hcd 0000:01:00.0: MN: No TD found, fix halted ep
[  659.704587] xhci_hcd 0000:01:00.0: Cancel URB 000000006e0f08cb, dev 1.1.2, ep 0x85, stream_id 2 starting at offset 0x1241120
[  659.704641] xhci_hcd 0000:01:00.0: Cancel URB 00000000d606866e, dev 1.1.2, ep 0x85, stream_id 3 starting at offset 0x1242b10
[  659.704737] xhci_hcd 0000:01:00.0: Move dq deferred: stream 3 URB 00000000d606866e
[  659.797268] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 10 ep 10 with no TDs queued?
[  670.808024] sd 16:0:0:0: [sdc] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN 
[  670.808041] sd 16:0:0:0: [sdc] tag#5 CDB: Read(16) 88 00 00 00 00 00 0b b1 e8 00 00 00 04 00 00 00
[  670.808049] xhci_hcd 0000:01:00.0: Cancel URB 00000000083b09de, dev 1.1.2, ep 0x85, stream_id 6 starting at offset 0x1249590
[  670.808671] sd 16:0:0:0: [sdc] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN 
[  670.808680] sd 16:0:0:0: [sdc] tag#4 CDB: Read(16) 88 00 00 00 00 00 0b b1 e4 00 00 00 04 00 00 00
[  670.808685] xhci_hcd 0000:01:00.0: Cancel URB 00000000fa6ae129, dev 1.1.2, ep 0x85, stream_id 5 starting at offset 0x1246e80
[  670.816805] sd 16:0:0:0: [sdc] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD IN 
[  670.816814] sd 16:0:0:0: [sdc] tag#3 CDB: Read(16) 88 00 00 00 00 00 0b b1 e0 00 00 00 04 00 00 00
[  670.816820] xhci_hcd 0000:01:00.0: Cancel URB 000000004f2648ab, dev 1.1.2, ep 0x85, stream_id 4 starting at offset 0x1245660
[  670.824382] sd 16:0:0:0: [sdc] tag#2 uas_eh_abort_handler 0 uas-tag 1 inflight: IN 
[  670.824391] sd 16:0:0:0: [sdc] tag#2 CDB: Read(16) 88 00 00 00 00 00 0b b1 d0 00 00 00 04 00 00 00
[  670.824396] xhci_hcd 0000:01:00.0: Cancel URB 00000000dacec9a6, dev 1.1.2, ep 0x85, stream_id 1 starting at offset 0x123e0b0
[  670.839350] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 10 ep 10 with no TDs queued?
[  670.863954] scsi host16: uas_eh_device_reset_handler start
[  670.863965] xhci_hcd 0000:01:00.0: Cancel URB 00000000b5479938, dev 1.1.2, ep 0x87, stream_id 6 starting at offset 0x1238140
[  670.864475] xhci_hcd 0000:01:00.0: Cancel URB 0000000065be6261, dev 1.1.2, ep 0x87, stream_id 5 starting at offset 0x1236250
[  670.865057] xhci_hcd 0000:01:00.0: Cancel URB 00000000f292ee34, dev 1.1.2, ep 0x87, stream_id 4 starting at offset 0x12347a0
[  670.960178] usb 3-1.1.2: reset SuperSpeed Plus Gen 2x1 USB device number 7 using xhci_hcd
[  671.007562] scsi host16: uas_eh_device_reset_handler success
[ 1208.115301] xhci_hcd 0000:01:00.0: Cancel URB 00000000b06303bd, dev 1.1.1, ep 0x85, stream_id 3 starting at offset 0xd99694a0
[ 1208.280245] xhci_hcd 0000:01:00.0: Cancel URB 0000000098d971a6, dev 1.1.4, ep 0x85, stream_id 5 starting at offset 0x12c5370
[ 1208.319764] xhci_hcd 0000:01:00.0: Cancel URB 00000000254728ca, dev 1.1.2, ep 0x85, stream_id 2 starting at offset 0x124a1e0
[ 1808.217512] xhci_hcd 0000:01:00.0: Cancel URB 00000000e5c0481e, dev 1.1.1, ep 0x85, stream_id 3 starting at offset 0xd996a260
[ 1808.465583] xhci_hcd 0000:01:00.0: Cancel URB 0000000038d97298, dev 1.1.4, ep 0x85, stream_id 1 starting at offset 0x12bc070
[ 1808.513103] xhci_hcd 0000:01:00.0: Cancel URB 0000000077091b68, dev 1.1.2, ep 0x85, stream_id 3 starting at offset 0x1249550
[ 2408.314570] xhci_hcd 0000:01:00.0: Cancel URB 0000000013cfeb9e, dev 1.1.4, ep 0x85, stream_id 2 starting at offset 0x12be890
[ 2408.353399] xhci_hcd 0000:01:00.0: Cancel URB 000000000add27c3, dev 1.1.2, ep 0x85, stream_id 3 starting at offset 0x1248eb0





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux