2020-03-02 20:52:47 |
Eugene Crosser |
bug |
|
|
added bug |
2020-03-02 20:52:47 |
Eugene Crosser |
attachment added |
|
data collected by apport-bug https://bugs.launchpad.net/bugs/1865570/+attachment/5332789/+files/suspend-fail |
|
2020-03-02 21:00:11 |
Eugene Crosser |
summary |
suspend only works once on ThnkPad X1 Carbon gen 7 |
suspend only works once on ThinkPad X1 Carbon gen 7 |
|
2020-03-02 21:12:10 |
Seth Forshee |
affects |
linux-5.4 (Ubuntu) |
linux (Ubuntu) |
|
2020-03-02 21:36:39 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-03-03 01:53:56 |
Anthony Wong |
bug |
|
|
added subscriber Anthony Wong |
2020-03-18 00:11:01 |
Anthony Wong |
linux (Ubuntu): importance |
Undecided |
High |
|
2020-03-18 00:11:09 |
Anthony Wong |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2020-03-18 00:13:07 |
Anthony Wong |
linux (Ubuntu): assignee |
|
Kai-Heng Feng (kaihengfeng) |
|
2020-03-23 05:22:59 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Bionic |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Bionic) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Bionic) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Focal |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Focal) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Focal) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
nominated for series |
|
Ubuntu Eoan |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux (Ubuntu Eoan) |
|
2020-03-23 05:23:10 |
Kai-Heng Feng |
bug task added |
|
linux-oem-osp1 (Ubuntu Eoan) |
|
2020-03-23 05:23:21 |
Kai-Heng Feng |
linux (Ubuntu Bionic): status |
New |
Won't Fix |
|
2020-03-23 05:23:26 |
Kai-Heng Feng |
linux-oem-osp1 (Ubuntu Eoan): status |
New |
Won't Fix |
|
2020-03-23 05:23:33 |
Kai-Heng Feng |
linux-oem-osp1 (Ubuntu Focal): status |
New |
Won't Fix |
|
2020-03-23 05:39:14 |
Kai-Heng Feng |
description |
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_pm_suspend+0x0/0x80 [e1000e] returns -2
[ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 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). |
=== 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_pm_suspend+0x0/0x80 [e1000e] returns -2
[ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 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). |
|
2020-03-24 23:13:55 |
Ubuntu Kernel Bot |
tags |
focal |
focal verification-needed-focal |
|
2020-03-25 09:26:16 |
Eugene Crosser |
tags |
focal verification-needed-focal |
focal verification-done-focal |
|
2020-03-31 10:51:42 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Triaged |
Fix Released |
|
2020-03-31 10:51:42 |
Launchpad Janitor |
cve linked |
|
2020-8835 |
|
2020-04-02 04:20:34 |
AaronMa |
description |
=== 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_pm_suspend+0x0/0x80 [e1000e] returns -2
[ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 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). |
=== 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_pm_suspend+0x0/0x80 [e1000e] returns -2
[ 909.916367] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -2
[ 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). |
|
2020-04-03 02:28:29 |
Khaled El Mously |
linux (Ubuntu Eoan): status |
New |
Fix Committed |
|
2020-04-07 09:37:01 |
Ubuntu Kernel Bot |
tags |
focal verification-done-focal |
focal verification-done-focal verification-needed-eoan |
|
2020-04-07 13:36:20 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu): status |
New |
Confirmed |
|
2020-04-07 13:36:20 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Bionic): status |
New |
Confirmed |
|
2020-04-07 13:37:04 |
roland |
tags |
focal verification-done-focal verification-needed-eoan |
focal verification-done-eoan verification-done-focal |
|
2020-04-10 07:24:39 |
AceLan Kao |
linux-oem-osp1 (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2020-04-28 19:47:28 |
Launchpad Janitor |
linux (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2020-04-28 19:47:28 |
Launchpad Janitor |
cve linked |
|
2020-11884 |
|
2020-04-28 21:55:04 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-06-25 10:41:23 |
Launchpad Janitor |
linux-oem-osp1 (Ubuntu Eoan): status |
Won't Fix |
Fix Released |
|
2020-06-25 10:41:23 |
Launchpad Janitor |
cve linked |
|
2020-0543 |
|
2020-06-25 10:41:23 |
Launchpad Janitor |
cve linked |
|
2020-12114 |
|
2020-06-25 10:41:23 |
Launchpad Janitor |
cve linked |
|
2020-1749 |
|
2021-01-29 07:39:01 |
Ubuntu Kernel Bot |
tags |
focal verification-done-eoan verification-done-focal |
focal verification-done-eoan verification-done-focal verification-needed-groovy |
|
2021-02-03 12:36:15 |
Timo Aaltonen |
tags |
focal verification-done-eoan verification-done-focal verification-needed-groovy |
focal verification-done-eoan verification-done-focal |
|
2021-02-10 13:57:59 |
Ubuntu Kernel Bot |
tags |
focal verification-done-eoan verification-done-focal |
focal verification-done-eoan verification-done-focal verification-needed-groovy |
|