* [Bug 219113] mysterious disk I/O-errors which freeze the system
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
@ 2024-07-31 13:57 ` bugzilla-daemon
2024-07-31 14:07 ` bugzilla-daemon
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-07-31 13:57 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
Mathias Nyman (mathias.nyman@linux.intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mathias.nyman@linux.intel.c
| |om
--- Comment #1 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Looks like it's related to xhci streams usage.
from dmesg:
[4884.745577] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 10 for slot
2 ep 7 , HC probably busted
"event condition 10" would be invalid stream type error.
--
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] 9+ messages in thread* [Bug 219113] mysterious disk I/O-errors which freeze the system
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
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-07-31 14:07 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
Artem S. Tashkinov (aros@gmx.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |6.1.102 gcc (Debian
| |12.2.0-14)
--- Comment #2 from Artem S. Tashkinov (aros@gmx.com) ---
This kernel release is not really supported.
Could you try mainline 6.10.2?
--
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] 9+ messages in thread* [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]
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 ` bugzilla-daemon
2024-07-31 21:19 ` bugzilla-daemon
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-07-31 14:15 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
--- Comment #3 from Artem S. Tashkinov (aros@gmx.com) ---
Please check whether the following helps:
1. Upgrading BIOS to the latest version
2. Using a [different] power adapter
3. Some hints from here: https://github.com/openzfs/zfs/discussions/11741
Add to kernel boot arguments: iommu=pt amd_iommu=on
--
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] 9+ messages in thread* [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]
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
` (2 preceding siblings ...)
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
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-07-31 21:19 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
Michał Pecio (michal.pecio@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michal.pecio@gmail.com
--- Comment #4 from Michał Pecio (michal.pecio@gmail.com) ---
Disabling UAS should be enough if you need this disk to start working right
now, albeit not with maximum performance.
A quick glance at xHCI spec 4.12.2.1 suggests that your USB host controller
believes that the USB device or the kernel has given it a wrong stream index.
This could be a bug in the device, in the kernel xhci driver, or in the host
controller itself.
Do you know any kernel version which doesn't have this problem?
Upgrading host controller or device firmware may help in case it's a hardware
bug already patched by the respective vendor.
--
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] 9+ messages in thread* [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]
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
` (3 preceding siblings ...)
2024-07-31 21:19 ` bugzilla-daemon
@ 2024-08-01 4:13 ` bugzilla-daemon
2024-08-01 11:05 ` bugzilla-daemon
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-08-01 4:13 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
--- Comment #5 from Ilari Jääskeläinen (ijaaskelainen@outlook.com) ---
Comment on attachment 306644
--> https://bugzilla.kernel.org/attachment.cgi?id=306644
dmesg
> Could you try mainline 6.10.2?
No Sir, not at all. Debian GNU/Linux supports only 6.1.x and the new kernels
are also buggy. I don't want to play hangman.
> Add to kernel boot arguments: iommu=pt amd_iommu=on
Butt I am on Intel Atom platform.
> Do you know any kernel version which doesn't have this problem?
No Sir, this is a new platform for me.
> Disabling UAS should be enough if you need this disk to start working right
now, albeit not with maximum performance.
Sounds like an idea to me, the hangs itself
cause a terrible loss in performance so I think it could actually increase
performance and stability. How do I disable UAS?
Besides there are no new bioses for this certain Intel Compute Stick Cherry
Trail.
--
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] 9+ messages in thread* [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]
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
` (4 preceding siblings ...)
2024-08-01 4:13 ` bugzilla-daemon
@ 2024-08-01 11:05 ` bugzilla-daemon
2024-08-01 11:29 ` bugzilla-daemon
2024-08-01 12:26 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-08-01 11:05 UTC (permalink / raw)
To: linux-usb
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.
^ permalink raw reply [flat|nested] 9+ messages in thread* [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]
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
` (5 preceding siblings ...)
2024-08-01 11:05 ` bugzilla-daemon
@ 2024-08-01 11:29 ` bugzilla-daemon
2024-08-01 12:26 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-08-01 11:29 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
--- Comment #7 from Ilari Jääskeläinen (ijaaskelainen@outlook.com) ---
I am sure it gave those messages before AHH now I remember do I got other
versions of kernel installed let me check.
6.1.99-102 I think they all gave me the same error message.
--
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] 9+ messages in thread* [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]
2024-07-31 11:18 [Bug 219113] New: mysterious disk I/O-errors which freeze the system bugzilla-daemon
` (6 preceding siblings ...)
2024-08-01 11:29 ` bugzilla-daemon
@ 2024-08-01 12:26 ` bugzilla-daemon
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-08-01 12:26 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=219113
--- Comment #8 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Looks like it was added to 6.1.95 stable
Commit Id for the 6.1 stable backport is 633f72cb6124ecda97b641fbc119340bd88d51
git describe --contains 633f72cb6124ecda97b641fbc119340bd88d51
v6.1.95~123
--
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] 9+ messages in thread