xHCI race conditions 5.15.0-40-generic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In 22.04 there are plenty of usb troubles from xHCI
Some hardware gets the xHCI dead and complete usb shutdown
other hardware works better with first tier of hubs
second hub tier is still unreliable, pointing to race conditions
troubled devices seems to be VIA 2109:0822 2109:0715
Here I have a 5 Gb/port, hub then hub 2109:0822
echoed to console:
Jun 19 23:51:15 kernel: [29817.094981] hub 2-5:1.0: hub_ext_port_status failed (err = -110)
Jun 19 23:51:17 kernel: [29819.142955] usb 2-5.3: Port disable: can't disable remote wake
Jun 19 23:51:18 kernel: [29820.166925] usb 2-5-port3: cannot disable (err = -110)
Jun 19 23:51:20 kernel: [29822.374883] usb 1-8: Failed to suspend device, error -110
Jun 19 23:51:23 kernel: [29825.286836] hub 2-5:1.0: hub_ext_port_status failed (err = -110)
key here: Port disable: can't disable remote wake
-110 is ETIMEDOUT which when plugged in direct host produces xHCI dead
If the device is unplugged, unplug is undetected and leads to infinite errors -110 -71
— missed unplug has also been seen with usb storage 2109:0715
other key errors:
LPM exit latency is zeroed, disabling LPM.
usb_reset_
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.15.0-40-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: N/A
CasperMD5CheckR
Date: Sat Jun 25 08:49:26 2022
HibernationDevice: RESUME=none
MachineType: Apple Inc. Macmini8,1
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
TERM=screen
PATH=(custom, no user)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: root=ZFS=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/24/2022
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: 1731.120.10.0.0 (iBridge: 19.16.15071.0.0,0)
dmi.board.name: Mac-7BA5B2DFE22
dmi.board.vendor: Apple Inc.
dmi.board.version: Macmini8,1
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.family: Mac mini
dmi.product.name: Macmini8,1
dmi.product.
dmi.sys.vendor: Apple Inc.
This change was made by a bot.