USB stick can't be detected after a reboot on -1058 kernel

Bug #2089888 reported by Kevin Yeh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-intel-iotg (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Summary]

During the SRU testing, I found that the usb stick plugged to type-c port on this machine(https://certification.canonical.com/hardware/202109-29496/) can't be detected after rebooting, but if I replug it, it can be detected again.
I spent some time the identify which kernel version it started failing and found it started from -1058.

[Expected result]
The usb stick should be detected when it's plugged to the machine.

[Actual result]
The usb stick only can be detected after re-plugging it to the machine.

[Additional information]
Affected machine:
https://certification.canonical.com/hardware/202109-29496/

Previously we always use its type-a port for testing, but recently we connected a zapper to it, occupied 2 type-a port, so moved the usb stick to type-c port, that's how I found the issue.

I attached 3 journal logs
1057.log: the journal with -1057 kernel
switch_1058.log: the journal log that the first boot from -1058, in this log, the usb stick(/dev/sdb) still can be detected
reboot_1058.log: the journal log that do the reboot when stay at -1058, you can see the /dev/sdb disappear.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-1058-intel-iotg 5.15.0-1058.64
ProcVersionSignature: Ubuntu 5.15.0-1058.64-intel-iotg 5.15.152
Uname: Linux 5.15.0-1058-intel-iotg x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Fri Nov 29 03:47:31 2024
InstallationDate: Installed on 2024-03-07 (266 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64+intel-iot (20230320.1)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-intel-iotg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
description: updated
Revision history for this message
Thibf (thibf) wrote :

This commit was added in between those 2 versions : 2e79c49b4949 usb: Disable USB3 LPM at shutdown which seems to fit the reboot issue.

Potential fixes:
- revert 2e79c49b4949 which will regress https://bugs.launchpad.net/bugs/2040948
- apply cd36facf104afbd usb: remove Link Powermanagement (LPM) disable before port reset.
To be tested.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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