Can't suspend X1 Carbon 6th (18.04)

Bug #1797364 reported by dr_strangehate
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Laptop: Lenovo X1 Carbon 6th generation, series 20KH006KPB
Release: Ubuntu 18.04.1
Kernel: 4.15.0-36-generic (but also happens with newest 4.18 mainline series)

Expected behavior: I can suspend and wake up my laptop by closing ad opening the lid.

What actually happens:

Lenovo has distributed a BIOS update recently, version 1.31, through LVFS. It installed successfully, but I believe that since the upgrade this started happening: I can suspend the laptop by closing the lid the first time after powering it ON, S3 sleep state activates, available since BIOS 1.30 (dmesg doesn't show anything weird aside from usual trackpoint/trackpad issue with this model). But then when I try to suspend it again, I close the lid and it never suspends. dmesg gives me some concerning output this time (lots of red):

[ 748.266146] e1000e: enp0s31f6 NIC Link is Down
[ 748.305925] wlp2s0: deauthenticating from 74:b5:7e:14:b3:c9 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 748.599000] PM: suspend entry (deep)
[ 748.599001] PM: Syncing filesystems ... done.
[ 748.607780] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 748.609834] OOM killer disabled.
[ 748.609835] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 748.611275] Suspending console(s) (use no_console_suspend to debug)
[ 748.613850] rmi4_f01 rmi4-00.fn01: Failed to write sleep mode: -6.
[ 748.613851] rmi4_f01 rmi4-00.fn01: Suspend failed with code -6.
[ 748.613853] rmi4_physical rmi4-00: Failed to suspend functions: -6
[ 748.613854] rmi4_smbus 0-002c: Failed to suspend device: -6
[ 748.613858] dpm_run_callback(): rmi_smb_suspend+0x0/0x50 [rmi_smbus] returns -6
[ 748.613859] PM: Device 0-002c failed to suspend: error -6
[ 748.631862] PM: Some devices failed to suspend, or early wake event detected
[ 748.673399] OOM killer enabled.
[ 748.673401] Restarting tasks ...
[ 748.676264] rmi4_physical rmi4-00: rmi_driver_set_irq_bits: Failed to change enabled interrupts!
[ 748.676284] psmouse: probe of serio2 failed with error -1
[ 748.676297] done.
[ 748.679931] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 748.694583] PM: suspend exit
[ 748.694682] PM: suspend entry (s2idle)
[ 748.694684] PM: Syncing filesystems ... done.
[ 748.700742] Freezing user space processes ... (elapsed 0.003 seconds) done.
[ 748.704303] OOM killer disabled.
[ 748.704304] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 748.705954] Suspending console(s) (use no_console_suspend to debug)
[ 748.711552] rmi4_f01 rmi4-00.fn01: Failed to write sleep mode: -6.
[ 748.711556] rmi4_f01 rmi4-00.fn01: Suspend failed with code -6.
[ 748.711559] rmi4_physical rmi4-00: Failed to suspend functions: -6
[ 748.711564] rmi4_smbus 0-002c: Failed to suspend device: -6
[ 748.711576] dpm_run_callback(): rmi_smb_suspend+0x0/0x50 [rmi_smbus] returns -6
[ 748.711579] PM: Device 0-002c failed to suspend: error -6
[ 748.727561] PM: Some devices failed to suspend, or early wake event detected
[ 748.769017] OOM killer enabled.
[ 748.769018] Restarting tasks ... done.
[ 748.772216] rmi4_physical rmi4-00: rmi_driver_set_irq_bits: Failed to change enabled interrupts!
[ 748.772237] psmouse: probe of serio2 failed with error -1
[ 748.775189] thermal thermal_zone6: failed to read out thermal zone (-61)
[ 748.788429] PM: suspend exit
[ 748.804548] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[ 748.991327] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[ 748.993686] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 749.226795] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 749.299774] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 752.736403] wlp2s0: authenticate with 74:b5:7e:14:b3:c9
[ 752.745545] wlp2s0: send auth to 74:b5:7e:14:b3:c9 (try 1/3)
[ 752.753694] wlp2s0: authenticated
[ 752.753909] wlp2s0: associate with 74:b5:7e:14:b3:c9 (try 1/3)
[ 752.757849] wlp2s0: RX AssocResp from 74:b5:7e:14:b3:c9 (capab=0xc11 status=0 aid=2)
[ 752.761197] wlp2s0: associated
[ 752.965779] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: maciej 2993 F...m pulseaudio
 /dev/snd/controlC0: maciej 2993 F.... pulseaudio
CurrentDesktop: i3
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=3116dcb0-d91e-4b2a-8166-43b7a9a9d36e
InstallationDate: Installed on 2018-07-21 (82 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 13d3:56b2 IMC Networks
 Bus 001 Device 002: ID 04b4:0060 Cypress Semiconductor Corp. Wireless optical mouse
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20KH006KPB
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-36-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash psmouse.synaptics_intertouch=1 vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-36-generic N/A
 linux-backports-modules-4.15.0-36-generic N/A
 linux-firmware 1.173.1
Tags: bionic
Uname: Linux 4.15.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/17/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET56W (1.31 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KH006KPB
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:bvrN23ET56W(1.31):bd09/17/2018:svnLENOVO:pn20KH006KPB:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KH006KPB:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KH006KPB
dmi.product.version: ThinkPad X1 Carbon 6th
dmi.sys.vendor: LENOVO

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1797364

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.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
dr_strangehate (dr-strangehate) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
dr_strangehate (dr-strangehate) wrote : CRDA.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : CurrentDmesg.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : IwConfig.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : Lspci.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : ProcEnviron.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : ProcInterrupts.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : ProcModules.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : PulseList.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : RfKill.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : UdevDb.txt

apport information

Revision history for this message
dr_strangehate (dr-strangehate) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc7

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dr_strangehate (dr-strangehate) wrote :

It seems that uninstalling TLP has solved this issue. The issue started appearing after BIOS update from 1.30 to 1.31.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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