public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION][BISECTED] usb: hub: total system freeze after running adb
@ 2025-11-17 20:18 Forest
  2025-11-18  9:21 ` Mathias Nyman
  2025-11-18  9:59 ` Michal Pecio
  0 siblings, 2 replies; 10+ messages in thread
From: Forest @ 2025-11-17 20:18 UTC (permalink / raw)
  To: Mathias Nyman
  Cc: Greg Kroah-Hartman, Alan Stern, Heikki Krogerus,
	Stefan Eichenberger, Pawel Laszczak, linux-usb, linux-kernel,
	regressions

#regzbot introduced 8f5b7e2bec1c

Running adb (android debug bridge) commands causes the entire system to
freeze some time later.

The freeze usually occurs within two hours of running adb, but not always.
Stopping adb's persistent background process with `adb kill-server` seems to
avoid the freeze. (However, this is not always possible, since the system
sometimes freezes just a few seconds after adb is launched.)

It occurs even when no android devices are connected to the system.

I am unsure whether user activity affects how soon the freeze happens.

Observations when it happens:

- No messages are written to dmesg or syslog.
- Virtual console switching no longer works.
- SysRq key commands no longer work, as far as I can tell.
- Whatever was on the display remains intact.
- Any already-playing audio enters a short loop, as though the motherboard's
  sound device is playing from a ring buffer that no longer gets updated.

I have reproduced it on mainline (6.18.0-rc5) and various older kernel
versions as early as 6.12.48, built with Debian config files and
`make olddefconfig`. Tested using Debian Stable 13.2 (trixie), and its
adb 1:34.0.5-12 package.

Git bisect identifies the culprit:
commit 8f5b7e2bec1c36578fdaa74a6951833541103e27
2025-06-11 14:24:41 +0300
usb: hub: fix detection of high tier USB3 devices behind suspended hubs

Reverting that commit (along with two later commits that build upon it)
seems to fix the problem in the mainline and longterm kernels that I tried.

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

end of thread, other threads:[~2025-12-05 14:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 20:18 [REGRESSION][BISECTED] usb: hub: total system freeze after running adb Forest
2025-11-18  9:21 ` Mathias Nyman
2025-11-20 22:04   ` Forest
2025-12-02 18:44     ` Forest
2025-12-03 23:41     ` Mathias Nyman
2025-12-05  1:56       ` Forest
2025-12-05 14:57         ` Mathias Nyman
2025-11-18  9:59 ` Michal Pecio
2025-11-20 22:18   ` Forest
2025-12-04  8:23     ` Michal Pecio

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