public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 221340] New: uas driver hangs and causes usb reset
@ 2026-04-09 20:56 bugzilla-daemon
  2026-04-09 21:24 ` [Bug 221340] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-09 20:56 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

            Bug ID: 221340
           Summary: uas driver hangs and causes usb reset
           Product: Drivers
           Version: 2.5
    Kernel Version: v6.19.11-arch1-1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: DaisyTheFoxxo@proton.me
        Regression: No

Created attachment 309850
  --> https://bugzilla.kernel.org/attachment.cgi?id=309850&action=edit
Linux Kernel log

The driver has been isolated to uas, usb-storage driver works without issue.
Happens more often the more load there is on the drive.
I am not aware of any duplicate bug reports.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
@ 2026-04-09 21:24 ` bugzilla-daemon
  2026-04-09 21:43 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-09 21:24 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

Oliver Neukum (oliver@neukum.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver@neukum.org

--- Comment #1 from Oliver Neukum (oliver@neukum.org) ---
Are all errors due to READ_10 and WRITE_10?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
  2026-04-09 21:24 ` [Bug 221340] " bugzilla-daemon
@ 2026-04-09 21:43 ` bugzilla-daemon
  2026-04-10  4:56 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-09 21:43 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

--- Comment #2 from DaisyTheFoxxo@proton.me ---
Appears to be the case, yes

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
  2026-04-09 21:24 ` [Bug 221340] " bugzilla-daemon
  2026-04-09 21:43 ` bugzilla-daemon
@ 2026-04-10  4:56 ` bugzilla-daemon
  2026-04-10 16:45 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-10  4:56 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

Michał Pecio (michal.pecio@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michal.pecio@gmail.com

--- Comment #3 from Michał Pecio (michal.pecio@gmail.com) ---
There is also Unmap/Read sub-channel in this log.

By "hang", do you mean that no I/O happens for 30 seconds or some other time
before these messages show up?

BTW, if you run (as root)
echo 'func handle_tx_event +p' >/proc/dynamic_debug/control

do you see anything new appear in dmesg at this time?

That would point to some "action" at xHCI layer, though I suppose it's also
possible that nothing interesting happens and the device simply never responds
to some commands under some circumstances.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
                   ` (2 preceding siblings ...)
  2026-04-10  4:56 ` bugzilla-daemon
@ 2026-04-10 16:45 ` bugzilla-daemon
  2026-04-10 19:55 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-10 16:45 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

--- Comment #4 from DaisyTheFoxxo@proton.me ---
(In reply to Michał Pecio from comment #3)
> There is also Unmap/Read sub-channel in this log.
> 
> By "hang", do you mean that no I/O happens for 30 seconds or some other time
> before these messages show up?

yes

> 
> BTW, if you run (as root)
> echo 'func handle_tx_event +p' >/proc/dynamic_debug/control
> 
> do you see anything new appear in dmesg at this time?
> 
> That would point to some "action" at xHCI layer, though I suppose it's also
> possible that nothing interesting happens and the device simply never
> responds to some commands under some circumstances.

I have been having difficulties reproducing the bug recently, I will let you
know when it happens again

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
                   ` (3 preceding siblings ...)
  2026-04-10 16:45 ` bugzilla-daemon
@ 2026-04-10 19:55 ` bugzilla-daemon
  2026-04-11 13:03 ` bugzilla-daemon
  2026-04-11 22:11 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-10 19:55 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

--- Comment #5 from DaisyTheFoxxo@proton.me ---
This is what i got

[  902.725085] sd 0:0:0:0: [sda] tag#29 uas_eh_abort_handler 0 uas-tag 1
inflight: CMD OUT
[  902.725113] sd 0:0:0:0: [sda] tag#29 CDB: Write(10) 2a 00 01 46 1c 98 00 00
08 00
[  902.725243] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 7
[  902.725446] sd 0:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 20
inflight: CMD OUT
[  902.725461] sd 0:0:0:0: [sda] tag#28 CDB: Write(10) 2a 00 01 46 1c 80 00 00
10 00
[  902.725493] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 7
[  902.725583] sd 0:0:0:0: [sda] tag#27 uas_eh_abort_handler 0 uas-tag 19
inflight: CMD OUT
[  902.725589] sd 0:0:0:0: [sda] tag#27 CDB: Write(10) 2a 00 01 46 1c 18 00 00
08 00
[  902.725610] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 7
[  902.725679] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 21
inflight: CMD OUT
[  902.725685] sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 46 1c b8 00 00
10 00
[  902.725706] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 7
[  909.893015] sd 0:0:0:0: [sda] tag#8 uas_eh_abort_handler 0 uas-tag 2
inflight: CMD IN
[  909.893033] sd 0:0:0:0: [sda] tag#8 CDB: Read(10) 28 00 00 32 00 a0 00 00 20
00
[  909.893154] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 6
[  916.037097] sd 0:0:0:0: [sda] tag#9 uas_eh_abort_handler 0 uas-tag 3
inflight: CMD OUT
[  916.037127] sd 0:0:0:0: [sda] tag#9 CDB: Unmap/Read sub-channel 42 00 00 00
00 00 00 00 18 00
[  916.037256] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 7
[  916.048101] scsi host0: uas_eh_device_reset_handler start
[  916.048197] xhci_hcd 0000:00:14.0: Stopped on Transfer TRB for slot 2 ep 1
[  916.048250] usb 2-1: cmd cmplt err -2
[  916.048385] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.048473] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.048558] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.048641] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.048721] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.048801] xhci_hcd 0000:00:14.0: Stopped on No-op or Link TRB for slot 2
ep 4
[  916.161702] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[  916.174700] scsi host0: uas_eh_device_reset_handler success

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
                   ` (4 preceding siblings ...)
  2026-04-10 19:55 ` bugzilla-daemon
@ 2026-04-11 13:03 ` bugzilla-daemon
  2026-04-11 22:11 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-11 13:03 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

--- Comment #6 from Michał Pecio (michal.pecio@gmail.com) ---
This shows UAS driver unlinking URBs related to timed out commands as they are
being aborted, but I wondered if anything unusual happens 30 seconds prior,
when the device stops executing SCSI commands and makes them time out.

IOW, was there anything related to uas or xhci before this snippet begins?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 221340] uas driver hangs and causes usb reset
  2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
                   ` (5 preceding siblings ...)
  2026-04-11 13:03 ` bugzilla-daemon
@ 2026-04-11 22:11 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2026-04-11 22:11 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=221340

--- Comment #7 from DaisyTheFoxxo@proton.me ---
(In reply to Michał Pecio from comment #6)
> This shows UAS driver unlinking URBs related to timed out commands as they
> are being aborted, but I wondered if anything unusual happens 30 seconds
> prior, when the device stops executing SCSI commands and makes them time out.
> 
> IOW, was there anything related to uas or xhci before this snippet begins?

there are no other logs before the aborted commands get logged

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-11 22:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 20:56 [Bug 221340] New: uas driver hangs and causes usb reset bugzilla-daemon
2026-04-09 21:24 ` [Bug 221340] " bugzilla-daemon
2026-04-09 21:43 ` bugzilla-daemon
2026-04-10  4:56 ` bugzilla-daemon
2026-04-10 16:45 ` bugzilla-daemon
2026-04-10 19:55 ` bugzilla-daemon
2026-04-11 13:03 ` bugzilla-daemon
2026-04-11 22:11 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox