suspend only works once on ThinkPad X1 Carbon gen 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Kai-Heng Feng | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Kai-Heng Feng | ||
linux-oem-osp1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
=== SRU Justification Fix===
[Impact]
Some ThinkPads failed to suspend to s2idle when ethernet disconnected.
[Fix]
I219 chip of some platforms is controlled by ME, which needs more time
when setting ULP mode. Wait for ME to finish setting ULP mode.
[Test]
Verified on hw, and user reported s2idle works.
[Regression Potential]
Low, Increase timeout and breaks with condition,
no impacts for who don't need this long wait.
Bionic doesn't introduce the commit f15bb6dde738cc8fa0, no need for
this.
=== SRU Justification ===
[Impact]
Lenovo X1 Carbon 7th can only susped (s2idle) once, subsquent suspends
are blocked by failed e1000e resume routine.
[Fix]
It's not root caused yet by Intel, so disable the s0ix flow on X1 Carbon
7th as a temporary workaround.
[Test]
After applying the DMI quirk patch, e1000e keeps working, so it doesn't
block s2idle anymore.
User also confimred the workaround works.
[Regression Potential]
Low. It limits to a specific model, and I can confirm s0ix can still be
reached withouth this feature.
=== Original Bug Report ===
5.4.0-16 and 5.4.0-17 go to suspend when the lid is closed, but *only once* after boot. On subsequent attempts, when the lid it closed, backlight and wifi are turned off, but system does not suspend.
First successful suspend:
[ 147.413295] PM: suspend entry (s2idle)
[ 147.416601] Filesystems sync: 0.003 seconds
[ 147.419371] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 147.421210] OOM killer disabled.
[ 147.421210] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 147.422375] printk: Suspending console(s) (use no_console_suspend to debug)
[ 147.422630] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 147.527810] e1000e: EEE TX LPI TIMER: 00000011
[ 150.246317] ACPI: EC: interrupt blocked
[ 881.134544] ACPI: EC: interrupt unblocked
[ 883.933255] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 884.047802] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 884.112730] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[ 886.815475] e1000e 0000:00:1f.6 enp0s31f6: PHY Wakeup cause - Unicast Packet
[ 887.485832] e1000e 0000:00:1f.6 enp0s31f6: Hardware Error
[ 888.016931] OOM killer enabled.
[ 888.016932] Restarting tasks ... done.
[ 888.060613] PM: suspend exit
Second unsuccessful suspend:
[ 907.584802] PM: suspend entry (s2idle)
[ 907.589779] Filesystems sync: 0.004 seconds
[ 907.591416] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 907.593518] OOM killer disabled.
[ 907.593518] Freezing remaining freezable tasks ... (elapsed 0.328 seconds) done.
[ 907.921560] printk: Suspending console(s) (use no_console_suspend to debug)
[ 907.922127] wlp0s20f3: deauthenticating from 18:d6:c7:61:95:c2 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 908.024438] e1000e: EEE TX LPI TIMER: 00000011
[ 909.916364] PM: pci_pm_suspend(): e1000e_
[ 909.916367] PM: dpm_run_callback(): pci_pm_
[ 909.916369] PM: Device 0000:00:1f.6 failed to suspend async: error -2
[ 911.183052] PM: Some devices failed to suspend, or early wake event detected
[ 911.197091] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 911.314903] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 911.382438] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[ 911.413624] OOM killer enabled.
[ 911.413625] Restarting tasks ... done.
[ 911.462021] PM: suspend exit
It looks like Ethernet driver prevents suspend. Ethernet is not connected (I do not have the adaptor).
CVE References
summary: |
- suspend only works once on ThnkPad X1 Carbon gen 7 + suspend only works once on ThinkPad X1 Carbon gen 7 |
affects: | linux-5.4 (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
status: | Incomplete → Triaged |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
Changed in linux (Ubuntu Bionic): | |
status: | New → Won't Fix |
Changed in linux-oem-osp1 (Ubuntu Eoan): | |
status: | New → Won't Fix |
Changed in linux-oem-osp1 (Ubuntu Focal): | |
status: | New → Won't Fix |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Eoan): | |
status: | New → Fix Committed |
Changed in linux-oem-osp1 (Ubuntu Bionic): | |
status: | Confirmed → Fix Committed |
tags: | removed: verification-needed-groovy |
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 1865570
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.