Re: [REGRESSION][BISECTED] usb: hub: total system freeze after running adb
Michal Pecio <[email protected]> Tue, 4 Aug 2026 00:26:21 +0200
| Newsgroups | dev.linux.lists.regressions,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 3 Aug 2026 16:54:58 +0300, Slavik Dev wrote: > Hi, > > I'm hitting what appears to be the same regression, on the same xHCI > hardware as the original report. Hi, I got your email from linux-usb with no working reference to the original thread, I presume you mean this one: https://lore.kernel.org/regressions/[email protected]/ And it appears that this (later) bugzilla issue was another dupe, which fact had been overlooked at the time: https://bugzilla.kernel.org/show_bug.cgi?id=221103 > Earlier today I applied the workaround discussed here (disabling USB > runtime PM), and so far it is holding up. Slightly simpler workaround is described in bugzilla comment 16 and it should work for you too if it's the same bug. In comment 26 there is a reference to another bug affecting AMD hardware power management, where some success has been achieved. AFAIK no one tried if those patches would work for the ADB issue. Somebody has apparently bisected this to the commit below. Failing the above, does reverting the commit work for you? commit 8f5b7e2bec1c36578fdaa74a6951833541103e27 2025-06-11 14:24:41 +0300 usb: hub: fix detection of high tier USB3 devices behind suspended hubs > Hardware: > - AMD Ryzen 7 7700 (Raphael, display on iGPU), ASUS TUF GAMING B650-E > WIFI, BIOS 3881 (AGESA 1.3.0.1b) > - The affected controller from the original report is present: > 0b:00.0 USB controller [1022:15b8] (AMD Raphael USB 2.0 xHCI) > > Kernels (Linux Mint 22.3 / Ubuntu HWE builds): > - Freezes observed on 6.17.0-14/-19-generic and 6.14.0-37-generic > (based on 6.14.11 + stable backports, built 2025-11-20). > - First freeze on 2026-03-10, shortly after kernel package updates; > 16 freezes total through 2026-08-03. > > Correlation with adb: > - The last 4 freezes occurred 5, 12, 35 and 81 minutes after the adb > server was started (using the once-per-boot "adb uses wireless > extensions" kernel warning as the start marker in the journal). > - Earlier freezes also occurred with an Android phone plugged in while > the adb server was NOT running -- including one freeze 2 seconds > after unplugging the phone. Consistent with hub runtime > suspend/resume transitions being the trigger rather than adb itself. > > Freeze signature: > - Journal stops mid-second, no oops/panic, no MCE/WHEA, efi-pstore > empty. nmi_watchdog=1 and hardlockup_panic=1 never fire. > - Notably: the chipset watchdog (sp5100_tco + systemd > RuntimeWatchdogSec=30) DOES fire and resets the machine ~30 s after > the hang, so the platform stays alive -- it is the kernel/CPUs that > stop responding. > > Ruled out on this machine: > - RAM: freezes identically with DDR5 at EXPO 6000, EXPO 5600 and > JEDEC stock 4800. > - Pure load: 60 minutes of stress-ng (16 CPU workers + 16 GB VM > workers, no adb running) survives without issues. > - Firmware: BIOS update 3223 -> 3881 (AGESA 1.3.0.1b) made no > difference. > > Side observation: in freezing sessions, Bluetooth (MT7922 on the same > bus as most devices) repeatedly logs "hci0: ACL packet for unknown > connection handle" before the freeze. > > Workaround status: > - Running with runtime PM disabled for all USB devices > (power/control=on via udev rule) since 2026-08-03. Reporting while > it's fresh: the adb server has since been running continuously, > already well past my longest previously observed time-to-freeze > (81 min), and so far so good.