autoamtically suspend right after login - when booted with Thinkpad lid closed

Bug #1914858 reported by Zhang Weiwu
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Reproduce:

0. Make sure the laptop is being charged by an external power.

1. Boot with the lid closed (e.g. by starting reboot and close the lid).

2. When login screen presents, then login with password

3a. Ubuntu 20.10 goes to sleep. Hit a key to wake it. dmesg attached at the end.

3b. Ubuntu 20.04 sometimes go to sleep (10%).

The following dmesg is collected from Ubuntu 20.10 where this can be reliably reproduced. However since I can't solve this I had to
downgrade to Ubuntu 20.04 where the attached debug info (produced
by `ubuntu-bug linux`) is collected.

Notes:

- The "Energy" setting in gnome-control-center is set to suspend only in battery mode, but the bug is reproduced with external power.

--

[ 76.499494] PM: suspend entry (s2idle)
[ 76.536273] Filesystems sync: 0.036 seconds
[ 76.544283] Freezing user space processes ... (elapsed 0.004 seconds) done.
[ 76.548306] OOM killer disabled.
[ 76.548307] Freezing remaining freezable tasks ... (elapsed 0.048 seconds) done.
[ 76.597228] printk: Suspending console(s) (use no_console_suspend to debug)
[ 76.717831] e1000e: EEE TX LPI TIMER: 00000011
[ 79.349561] usb usb3: root hub lost power or was reset
[ 79.349565] usb usb4: root hub lost power or was reset
[ 79.480262] ACPI: EC: interrupt blocked
[ 81.656861] ACPI: EC: interrupt unblocked
[ 84.645047] usb usb3: root hub lost power or was reset
[ 84.645052] usb usb4: root hub lost power or was reset
[ 87.491291] e1000e 0000:00:1f.6 enp0s31f6: Failed to disable ULP
[ 87.603196] OOM killer enabled.
[ 87.603198] Restarting tasks ...
[ 87.603397] pci_bus 0000:07: Allocating resources
[ 87.603425] pci_bus 0000:3b: Allocating resources
[ 87.616426] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 87.620031] done.
[ 87.631119] thermal thermal_zone5: failed to read out thermal zone (-61)
[ 87.775462] PM: suspend exit
[ 87.906564] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Down
[ 88.108092] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 88.241926] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 88.309721] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring
[ 90.965280] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 90.965334] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link becomes ready.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-42-generic 5.4.0-42.46
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair wl
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: a 2194 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 6 21:48:20 2021
MachineType: LENOVO 20KHS1BP00
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=a77757cf-4a1b-4a8b-964a-bea19ccac95a ro nouveau.modeset=0
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-42-generic N/A
 linux-backports-modules-5.4.0-42-generic N/A
 linux-firmware 1.187.9
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/20/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET71W (1.46 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KHS1BP00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN23ET71W(1.46):bd02/20/2020:svnLENOVO:pn20KHS1BP00:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KHS1BP00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KHS1BP00
dmi.product.sku: LENOVO_MT_20KH_BU_Think_FM_ThinkPad X1 Carbon 6th
dmi.product.version: ThinkPad X1 Carbon 6th
dmi.sys.vendor: LENOVO

Revision history for this message
Zhang Weiwu (zhangweiwu) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Zhang Weiwu (zhangweiwu)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.