r8169 doesn't get woken up by ethernet cable plugging, no PME generated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Once r8169 (Realtek ethernet) and its root port enter to D3, plugging
network cable doesn't wake r8169 up.
[Fix]
Revert "PCI/PME: Implement runtime PM callbacks".
Quote the original commit message:
"
The commit tried to prevent root port waking up from D3cold immediately but
looks like disabing root port PME interrupt is not the right way to fix
that issue so revert it now. The patch following proposes an alternative
solution to that issue.
"
[Test]
After applying the fix, plugging the ethernet cable can generate PME IRQ
correctly, hence waking up r8169.
[Regression Potential]
Medium. The commits are relative new, rely on some PCI detail that I am
not familiar with (PCI spec isn't publicly available).
Fortunately we only need this fix for Unstable/OEM-B, so it won't hit
most users if any regression happens.
Changed in linux-oem (Ubuntu Disco): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu Bionic): | |
status: | New → Won't Fix |
tags: | added: originate-from-1812193 somerville |
Changed in linux-oem (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | Incomplete → Fix Committed |
Changed in linux-oem (Ubuntu Disco): | |
status: | Won't Fix → Fix Released |
Changed in hwe-next: | |
status: | New → Fix Released |
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 1817676
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.