Failed to resume from S3 blocked by atlantic driver[1d6a:94c0]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Critical
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
AceLan Kao | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
AceLan Kao | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.17 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
AceLan Kao | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The system with atlantic NIC[1d6a:94c0] fails to resume from S3 and hang with the following errors
Jun 7 13:13:54 ubuntu kernel: [ 116.000561] aq_nic_
Jun 7 13:13:54 ubuntu kernel: [ 116.000566] atl_resume_
Jun 7 13:13:54 ubuntu kernel: [ 116.000571] aq_pm_resume_
Jun 7 13:13:54 ubuntu kernel: [ 116.000575] pci_pm_
Jun 7 13:13:54 ubuntu kernel: [ 116.000578] ? pci_pm_
Jun 7 13:13:54 ubuntu kernel: [ 116.000580] dpm_run_
Jun 7 13:13:54 ubuntu kernel: [ 116.000582] device_
Jun 7 13:13:54 ubuntu kernel: [ 116.000583] async_resume+
Jun 7 13:13:54 ubuntu kernel: [ 116.000585] async_run_
Jun 7 13:13:54 ubuntu kernel: [ 116.000586] process_
Jun 7 13:13:54 ubuntu kernel: [ 116.000588] worker_
Jun 7 13:13:54 ubuntu kernel: [ 116.000589] ? process_
Jun 7 13:13:54 ubuntu kernel: [ 116.000591] kthread+0x12a/0x150
Jun 7 13:13:54 ubuntu kernel: [ 116.000592] ? set_kthread_
Jun 7 13:13:54 ubuntu kernel: [ 116.000593] ret_from_
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] </TASK>
Jun 7 13:13:54 ubuntu kernel: [ 116.000596] ---[ end trace 9d3fcd41d27dae25 ]---
[Fix]
aq_nic_deinit() has been called while suspending, so don't need to call it again on resuming.
Applied below 2 commits from v5.19-rc7 fix the issue, and the 2 commits have been applied to stable kernel v5.10, v5.15, and v5.18.
2e15c51fefaf net: atlantic: remove aq_nic_deinit() when resume
0f3325076038 net: atlantic: remove deep parameter on suspend/resume functions
[Test]
Verified on the system with atlantic NIC[1d6a:94c0] and run S3 test for more than 200 times.
[Where problems could occur]
The 2 commits remove the redundant code, aq_nic_deinit() has been called while suspending, so we don't need to call it again while resuming, and this fix the issue. I don't think this would introduce any regressions.
CVE References
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.14 (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → AceLan Kao (acelankao) |
tags: | added: oem-priority originate-from-1977805 somerville |
Changed in linux-oem-5.17 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in hwe-next: | |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Changed in hwe-next: | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Kinetic): | |
status: | New → Fix Released |
Changed in linux-oem-5.14 (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-oem-5.17 (Ubuntu Kinetic): | |
status: | New → Invalid |
This bug is awaiting verification that the linux-oem- 5.17/5. 17.0-1014. 15 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' to 'verification- done-jammy' . If the problem still exists, change the tag 'verification- needed- jammy' to 'verification- failed- jammy'.
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!