Fix suspend hang on Lenovo workstation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
In Progress
|
Undecided
|
AaronMa | ||
linux (Ubuntu) |
In Progress
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
Undecided
|
Unassigned | ||
linux-oem-6.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The system hang after resume from S3.
Error logs:
kernel: igb 0000:02:00.0: disabling already-disabled device
kernel: WARNING: CPU: 0 PID: 277 at drivers/
kernel: RIP: 0010:pci_
kernel: Call Trace:
kernel: <TASK>
kernel: igb_io_
kernel: report_
kernel: ? __pfx_report_
kernel: report_
kernel: pci_walk_
kernel: pcie_do_
kernel: ? __pfx_aer_
kernel: aer_process_
kernel: aer_isr+0x1b5/0x1e0
kernel: ? __pfx_irq_
kernel: irq_thread_
kernel: irq_thread+
kernel: ? __pfx_irq_
kernel: ? __pfx_irq_
kernel: kthread+0xef/0x120
kernel: ? __pfx_kthread+
kernel: ret_from_
kernel: </TASK>
kernel: ---[ end trace 0000000000000000 ]---
[Fix]
The pci io error detected ops is called before the driver resumed.
Avoid this race condition to fix the issue.
[Test]
Tested on hardware, the system suspend/resume OK.
[Where problems could occur]
It may break igb driver.
The commit is included in 6.5-rc1 and merged by stable update in oem-6.1, SRU for Jammy and Lunar.
tags: | added: oem-priority originate-from-2022309 sutton |
Changed in hwe-next: | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-oem-6.1 (Ubuntu Lunar): | |
status: | New → Invalid |
Changed in linux-oem-6.1 (Ubuntu): | |
status: | New → In Progress |
Changed in hwe-next: | |
assignee: | nobody → AaronMa (mapengyu) |
description: | updated |
description: | updated |
Changed in linux-oem-6.1 (Ubuntu Jammy): | |
status: | In Progress → Invalid |
Changed in linux-oem-6.1 (Ubuntu): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2034479
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.