linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219113] I/O-errors freezing the system [sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT]
Date: Thu, 01 Aug 2024 11:05:20 +0000	[thread overview]
Message-ID: <bug-219113-208809-QFWREezggR@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219113-208809@https.bugzilla.kernel.org/>

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

--- Comment #6 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
6.1.102 kernel has a recently added patch that touches this area:

Commit 5ceac4402f5d xhci: Handle TD clearing for multiple streams case

After that patch xhci driver we may issue 'Set TR Deq' commands for each
stream.  Before the patch we only queued one command.

If there is a flaw in one of the stream contexts, or command itself then we
could see that 'Invalid Stream type error'.

Can I ask you to take logs of this issue with xhci dynamic debug enabled?
Also enabling some specific xhci tracing could help:

Steps:

mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
echo xhci-hcd:xhci_handle_cmd_set_deq_ep >> /sys/kernel/debug/tracing/set_event
echo xhci-hcd:xhci_handle_cmd_set_deq >> /sys/kernel/debug/tracing/set_event
echo xhci-hcd:xhci_handle_command >> /sys/kernel/debug/tracing/set_event
echo 1 > /sys/kernel/debug/tracing/tracing_on
< Reproduce issue >
Send output of dmesg
Send content of /sys/kernel/debug/tracing/trace

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

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

  parent reply	other threads:[~2024-08-01 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
2024-07-31 13:57 ` [Bug 219113] " bugzilla-daemon
2024-07-31 14:07 ` bugzilla-daemon
2024-07-31 14:15 ` [Bug 219113] I/O-errors freezing the system [sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT] bugzilla-daemon
2024-07-31 21:19 ` bugzilla-daemon
2024-08-01  4:13 ` bugzilla-daemon
2024-08-01 11:05 ` bugzilla-daemon [this message]
2024-08-01 11:29 ` bugzilla-daemon
2024-08-01 12:26 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-219113-208809-QFWREezggR@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).