USB bus error after upgrading to proposed kernel on lunar and jammy

Bug #2043197 reported by Kevin Yeh
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Critical
Kai-Heng Feng
Jammy
Fix Committed
High
Unassigned
Lunar
Fix Committed
High
Unassigned

Bug Description

== SRU Justification ==
[Impact]
USB SuperSpeed (3.0) devcies can't be enumerated on Lunar/Jammy kernel.

[Fix]
Use logarithmic encoding for the bMaxPacketSize0 value.

[Test]
With the patch applied, SuperSpeed devices can be enumerated across
several reboots.

[Where problems could occur]
The switch case for Wireless USB (not USB WiFi dongle) was removed by
the fix. I am not aware of the existence of any Wireless USB device. But
if they do exist, this patch may the packet size encoding on them.

== Original Bug Report ==
[Summary]
Some of machines in cert lab after upgrading to proposed kernel on jammy and lunar, all usb devices were gone.

I found this issue on linux-image-6.2.0-38-generic and linux-image-5.15.0-90-generic on some specific machines.

Since some of machines are using usb ethernet adapter so after upgrading, those machines are not accessible.

Following are the machine list I've seen impacted by this issue, I believe there will be more if I check further.

https://certification.canonical.com/hardware/202005-27899/
https://certification.canonical.com/hardware/201903-26881/
https://certification.canonical.com/hardware/201903-26932/
https://certification.canonical.com/hardware/202005-27944/
https://certification.canonical.com/hardware/202008-28166/
https://certification.canonical.com/hardware/202008-28167/
https://certification.canonical.com/hardware/202102-28728/
https://certification.canonical.com/hardware/202008-28176/
https://certification.canonical.com/hardware/202008-28177/
https://certification.canonical.com/hardware/202202-29946/

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-90-generic 5.15.0-90.100
ProcVersionSignature: Ubuntu 5.15.0-90.100-generic 5.15.131
Uname: Linux 5.15.0-90-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.15.0-90-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D5p', '/dev/snd/pcmC0D4p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D7c', '/dev/snd/pcmC0D6c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: maas
CloudName: maas
CloudPlatform: maas
CloudSubPlatform: seed-dir (http://10.102.156.25:5248/MAAS/metadata/)
Date: Fri Nov 10 12:04:10 2023
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0026 Intel Corp. AX201 Bluetooth
 Bus 001 Device 002: ID 05c8:03cb Cheng Uei Precision Industry Co., Ltd (Foxlink) HP Wide Vision HD Integrated Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP ProOne 600 G6
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-90-generic root=UUID=6da4d16a-a5a6-47db-a882-3fc3becd4204 ro
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-90-generic N/A
 linux-backports-modules-5.15.0-90-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.22
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/26/2023
dmi.bios.release: 16.0
dmi.bios.vendor: HP
dmi.bios.version: S12 Ver. 02.16.00
dmi.board.name: 8810
dmi.board.vendor: HP
dmi.board.version: KBC Version 09.08.23
dmi.chassis.type: 13
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 9.8
dmi.modalias: dmi:bvnHP:bvrS12Ver.02.16.00:bd06/26/2023:br16.0:efr9.8:svnHP:pnHPProOne600G6:pvr:rvnHP:rn8810:rvrKBCVersion09.08.23:cvnHP:ct13:cvr:sku123456#ABA:
dmi.product.family: 103C_53307F HP ProOne
dmi.product.name: HP ProOne 600 G6
dmi.product.sku: 123456#ABA
dmi.sys.vendor: HP

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Kevin Yeh (kevinyeh)
Changed in linux (Ubuntu):
assignee: nobody → Kai-Heng Feng (kaihengfeng)
description: updated
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

[ 2.193326] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 2.213495] usb 2-3: device descriptor read/8, error -71

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Birgit Edel (biredel) wrote :

SuperSpeed, specifically: https://<email address hidden>/

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

Btw - That commit is in 5.15.132.

Changed in linux (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Changed in linux (Ubuntu):
status: In Progress → Triaged
description: updated
Stefan Bader (smb)
Changed in linux (Ubuntu Jammy):
importance: Undecided → High
status: New → In Progress
Changed in linux (Ubuntu Lunar):
importance: Undecided → High
status: New → In Progress
Stefan Bader (smb)
Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.15.0-91.101 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux' to 'verification-done-jammy-linux'. If the problem still exists, change the tag 'verification-needed-jammy-linux' to 'verification-failed-jammy-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-v2 verification-needed-jammy-linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.2.0-39.40 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar-linux' to 'verification-done-lunar-linux'. If the problem still exists, change the tag 'verification-needed-lunar-linux' to 'verification-failed-lunar-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-v2 verification-needed-lunar-linux
tags: added: verification-done-lunar-linux verification-needed-done-linux
removed: verification-needed-jammy-linux verification-needed-lunar-linux
Kevin Yeh (kevinyeh)
tags: added: verification-done-jammy-linux
removed: verification-needed-done-linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.