[regression] USB device is not detected during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Low
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
linux-intel (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Jesse Sung | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
linux-intel-5.13 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Jesse Sung | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
[Impact]
The USB devices (keyboard, storage...) are failed to be detected when connecting to the problematic root hubs which need longer PowerOn-
[Fix]
Reverting the upstream fix until a formal fix been placed.
[Test Case]
1. Plug the USB device to the ports of problematic root hub.
2. Power on the machine.
3. Check if the USB device can work or not after boot.
[Regression Potential]
Low. The longer delay is proven safe in old kernels.
========== Original Bug Description ==========
[Summary]
The USB devices (keyboard, storage...) are failed to be detected during boot after upgrade to UBUNTU focal kernel 5.4.0-78 and hirsute 5.11.0-26. However, they will be detected and working ok after re-plugging. The kernel output shows as down below during boot
[ 39.350435] hub 1-0:1.0: USB hub found
[ 39.398835] hub 1-0:1.0: 12 ports detected
[ 39.622744] usb usb1-port3: couldn't allocate usb_device
And when I plug out then plug in the same device, it shows
[57210.794140] usb 1-3: new low-speed USB device number 4 using xhci_hcd
[57210.951289] usb 1-3: New USB device found, idVendor=17ef, idProduct=6099, bcdDevice= 1.14
[57210.951293] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
After doing kernel bisecting, we found the upstream commit https:/
"""
The host is required to have power stable to the port within 20 milliseconds of the '0' to '1' transition of PP. If PPC = '1', software is responsible for waiting 20ms.
"""
The commit seems to follow the SPEC but could cause problems on some hubs.
[Reproduce Steps]
1. Plug the USB device to the physical port #1 and #4 which belongs to high-speed hub.
2. Power on the machine.
3. Check if the USB device can work or not after boot.
[Results]
Expected:
All usb devices connect to the hub should work OK.
Actual:
USB devices connects to high-speed hub can not be probed.
[Additional Information]
Kernel Version: focal 5.4.0-78 and hirsute 5.11.0-26
[Upstream bug]
https:/
CVE References
summary: |
- USB device is not detected during boot + [regression] USB device is not detected during boot |
tags: | added: austin oem-priority originate-from-1939113 |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in linux-intel (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-intel (Ubuntu Focal): | |
assignee: | nobody → Jesse Sung (wenchien) |
tags: |
added: verification-done-hirsute removed: verification-needed-hirsute |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in linux-intel-5.13 (Ubuntu Hirsute): | |
status: | New → Invalid |
Changed in linux-intel-5.13 (Ubuntu Focal): | |
assignee: | nobody → Jesse Sung (wenchien) |
Changed in linux-intel-5.13 (Ubuntu Focal): | |
status: | New → Fix Released |
Changed in linux-intel-5.13 (Ubuntu): | |
status: | New → Fix Released |
Changed in hwe-next: | |
importance: | Undecided → Low |
Changed in linux-intel (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in hwe-next: | |
status: | New → Fix Released |
https:/ /lists. ubuntu. com/archives/ kernel- team/2021- August/ 123129. html /lists. ubuntu. com/archives/ kernel- team/2021- August/ 123130. html
https:/
sent to kernel mailing list