I was searching why suspend is not working anymore with 5.0.0-23 for me
and found this similar bug.

Sometimes it is coming up again after trying, sometimes it freezes. I
tried the echo cmd from #20, no difference for me.

But with 4.15.0-55-generic it works for me (unlike the initial report if
i understood it correctly)

I have a Lenovo P52, let me know if you also want a full report.

root@p52:~# lsb_release -rd
Description:    Ubuntu 18.04.3 LTS
Release:        18.04

dmesg from 5.0.0-23
[   47.473308] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 
cc:50:0a:d0:d6:fb
[  104.073889] PM: suspend entry (deep)
[  104.073890] PM: Syncing filesystems ... done.
[  104.075845] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  104.077853] OOM killer disabled.
[  104.077854] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[  104.079091] printk: Suspending console(s) (use no_console_suspend to debug)
[  104.141272] wlan0: deauthenticating from cc:50:0a:d0:d6:fb by local choice 
(Reason: 3=DEAUTH_LEAVING)
[  104.247354] e1000e: EEE TX LPI TIMER: 00000011
[  105.341267] ACPI: EC: interrupt blocked
[  105.445688] ACPI: Preparing to enter system sleep state S3
[  105.452756] ACPI: EC: event blocked
[  105.452756] ACPI: EC: EC stopped
[  105.452756] PM: Saving platform NVS memory
[  105.452765] Disabling non-boot CPUs ...
[  105.453144] IRQ 159: no longer affine to CPU1
[  105.454355] smpboot: CPU 1 is now offline
[  105.456008] IRQ 160: no longer affine to CPU2
[  105.457025] smpboot: CPU 2 is now offline
[  105.458731] IRQ 161: no longer affine to CPU3
[  105.459738] smpboot: CPU 3 is now offline
[  105.461542] IRQ 162: no longer affine to CPU4
[  105.462768] smpboot: CPU 4 is now offline
[  105.464477] IRQ 163: no longer affine to CPU5
[  105.465489] smpboot: CPU 5 is now offline
[  105.467258] IRQ 164: no longer affine to CPU6
[  105.468471] smpboot: CPU 6 is now offline
[  105.470184] IRQ 165: no longer affine to CPU7
[  105.471187] smpboot: CPU 7 is now offline
[  105.472915] IRQ 166: no longer affine to CPU8
[  105.473935] smpboot: CPU 8 is now offline
[  105.475767] IRQ 167: no longer affine to CPU9
[  105.476770] smpboot: CPU 9 is now offline
[  105.478440] IRQ 168: no longer affine to CPU10
[  105.479445] smpboot: CPU 10 is now offline
[  105.482139] smpboot: CPU 11 is now offline
[  105.485910] ACPI: Low-level resume complete
[  105.485985] ACPI: EC: EC started
[  105.485985] PM: Restoring platform NVS memory
[  105.495359] Enabling non-boot CPUs ...
[  105.495412] x86: Booting SMP configuration:
[  105.495413] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  105.497144]  cache: parent cpu1 should not be sleeping
[  105.497169] intel_pstate: Disabling energy efficiency optimization
[  105.497268] CPU1 is up
[  105.497285] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  105.497670]  cache: parent cpu2 should not be sleeping
[  105.497804] CPU2 is up
[  105.497819] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  105.498188]  cache: parent cpu3 should not be sleeping
[  105.498336] CPU3 is up
[  105.498351] smpboot: Booting Node 0 Processor 4 APIC 0x8
[  105.498720]  cache: parent cpu4 should not be sleeping
[  105.498874] CPU4 is up
[  105.498890] smpboot: Booting Node 0 Processor 5 APIC 0xa
[  105.499257]  cache: parent cpu5 should not be sleeping
[  105.499425] CPU5 is up
[  105.499441] smpboot: Booting Node 0 Processor 6 APIC 0x1
[  105.499868]  cache: parent cpu6 should not be sleeping
[  105.500155] CPU6 is up
[  105.500174] smpboot: Booting Node 0 Processor 7 APIC 0x3
[  105.500540]  cache: parent cpu7 should not be sleeping
[  105.500730] CPU7 is up
[  105.500746] smpboot: Booting Node 0 Processor 8 APIC 0x5
[  105.501111]  cache: parent cpu8 should not be sleeping
[  105.501312] CPU8 is up
[  105.501328] smpboot: Booting Node 0 Processor 9 APIC 0x7
[  105.501697]  cache: parent cpu9 should not be sleeping
[  105.501905] CPU9 is up
[  105.501921] smpboot: Booting Node 0 Processor 10 APIC 0x9
[  105.502292]  cache: parent cpu10 should not be sleeping
[  105.502524] CPU10 is up
[  105.502539] smpboot: Booting Node 0 Processor 11 APIC 0xb
[  105.502917]  cache: parent cpu11 should not be sleeping
[  105.503154] CPU11 is up
[  105.511334] ACPI: Waking up from system sleep state S3
[  105.527650] ACPI: EC: interrupt unblocked
[  105.618664] pci_raw_set_power_state: 30 callbacks suppressed
[  105.618667] snd_hda_intel 0000:01:00.1: Refused to change power state, 
currently in D3
[  105.685231] ACPI: EC: event unblocked
[  105.689793] ACPI: button: The lid device is not compliant to SW_LID.
[  105.877119] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
[  105.890388] e1000e 0000:00:1f.6 eth0: Hardware Error
[  105.942740] nvme nvme0: Shutdown timeout set to 8 seconds
[  105.945489] nvme nvme1: Shutdown timeout set to 8 seconds
[  105.957273] nvme nvme0: 12/0/0 default/read/poll queues
[  105.960186] nvme nvme1: 12/0/0 default/read/poll queues
[  106.946362] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 
0x4f0100. -5
[  106.946386] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  106.946392] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  106.946396] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  106.946400] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  106.947694] acpi LNXPOWER:08: Turning OFF
[  106.954511] OOM killer enabled.
[  106.954513] Restarting tasks ... done.
[  107.002897] PM: suspend exit
[  107.254326] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.254328] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.254330] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.254333] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.574879] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.574889] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.574895] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.574900] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.699040] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 
0x4f0100. -5
[  107.699052] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.699058] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.699063] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.699068] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.899033] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.899036] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.899038] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  107.899040] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.215133] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.215135] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.215137] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.215139] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.535707] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.535717] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.535723] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.535729] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.856015] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.856025] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.856031] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  108.856037] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.175960] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.175963] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.175965] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.175967] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.496485] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.496496] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.496504] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  109.496511] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
[  110.068351] wlan0: authenticate with cc:50:0a:d0:d6:fb
[  110.075395] wlan0: send auth to cc:50:0a:d0:d6:fb (try 1/3)
[  110.114366] wlan0: authenticated
[  110.116853] wlan0: associate with cc:50:0a:d0:d6:fb (try 1/3)
[  110.118128] wlan0: RX AssocResp from cc:50:0a:d0:d6:fb (capab=0x411 status=0 
aid=4)
[  110.120921] wlan0: associated
[  110.218525] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 
cc:50:0a:d0:d6:fb

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1838993

Title:
  Suspend immediately resumes on Ubuntu 18.04.2

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Recently my Lenovo ThinkPad W540 laptop has been unable to suspend
  correctly. It immediately wakes up after going through all the usual
  steps of turning off the screens, USB devices etc.

  I'm using the UI to suspend by left-clicking and holding the power off
  button until it turns into a pause button, and then I left-click that
  button. The laptop is docked with two monitors connected and the lid
  is open (although the laptop screen is not used) when I attempt to
  suspend it.

  This used to work until recently. BIOS has not been touched or
  upgraded.

  
  Log excerpt:

  ...
  Aug  5 16:53:10 taisph-ThinkPad-W540 kernel: [24052.156787] PM: suspend entry 
(deep)
  Aug  5 16:53:10 taisph-ThinkPad-W540 kernel: [24052.156789] PM: Syncing 
filesystems ... done.
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.015094] rfkill: input 
handler enabled
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.320163] Freezing user 
space processes ... (elapsed 0.003 seconds) done.
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.323453] OOM killer 
disabled.
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.323453] Freezing 
remaining freezable tasks ... (elapsed 0.001 seconds) done.
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.325130] Suspending 
console(s) (use no_console_suspend to debug)
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.469224] sd 0:0:0:0: [sda] 
Synchronizing SCSI cache
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.469297] sd 5:0:0:0: [sdb] 
Synchronizing SCSI cache
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.469449] sd 5:0:0:0: [sdb] 
Stopping disk
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.470686] sd 0:0:0:0: [sda] 
Stopping disk
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24053.669512] e1000e: EEE TX 
LPI TIMER: 00000011
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24054.969605] ACPI: EC: 
interrupt blocked
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.009441] ACPI: Preparing 
to enter system sleep state S3
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.013106] ACPI: EC: event 
blocked
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.013107] ACPI: EC: EC 
stopped
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.013107] PM: Saving 
platform NVS memory
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.013124] Disabling 
non-boot CPUs ...
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.029590] IRQ 30: no longer 
affine to CPU1
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.030620] smpboot: CPU 1 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.054769] smpboot: CPU 2 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.077811] IRQ 16: no longer 
affine to CPU3
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.077819] IRQ 29: no longer 
affine to CPU3
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.078828] smpboot: CPU 3 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.102970] smpboot: CPU 4 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.125889] IRQ 23: no longer 
affine to CPU5
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.125901] IRQ 32: no longer 
affine to CPU5
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.126914] smpboot: CPU 5 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.154299] IRQ 27: no longer 
affine to CPU6
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.155323] smpboot: CPU 6 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.181669] IRQ 26: no longer 
affine to CPU7
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.182697] smpboot: CPU 7 is 
now offline
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.186538] ACPI: Low-level 
resume complete
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.186589] ACPI: EC: EC 
started
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.186590] PM: Restoring 
platform NVS memory
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.189175] Enabling non-boot 
CPUs ...
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.189259] x86: Booting SMP 
configuration:
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.189260] smpboot: Booting 
Node 0 Processor 1 APIC 0x1
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.189761]  cache: parent 
cpu1 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.190157] CPU1 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.190185] smpboot: Booting 
Node 0 Processor 2 APIC 0x2
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.191927]  cache: parent 
cpu2 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.192148] CPU2 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.192171] smpboot: Booting 
Node 0 Processor 3 APIC 0x3
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.192593]  cache: parent 
cpu3 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.192828] CPU3 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.192852] smpboot: Booting 
Node 0 Processor 4 APIC 0x4
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.194610]  cache: parent 
cpu4 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.194875] CPU4 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.194913] smpboot: Booting 
Node 0 Processor 5 APIC 0x5
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.195343]  cache: parent 
cpu5 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.195624] CPU5 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.195648] smpboot: Booting 
Node 0 Processor 6 APIC 0x6
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.197413]  cache: parent 
cpu6 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.197723] CPU6 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.197749] smpboot: Booting 
Node 0 Processor 7 APIC 0x7
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.198177]  cache: parent 
cpu7 should not be sleeping
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.198998] CPU7 is up
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.219592] ACPI: Waking up 
from system sleep state S3
  Aug  5 16:53:23 taisph-ThinkPad-W540 kernel: [24055.228039] ACPI: EC: 
interrupt unblocked
  ...

  $ lsb_release -rd
  Description:    Ubuntu 18.04.2 LTS
  Release:        18.04
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  taisph     5021 F.... pulseaudio
   /dev/snd/controlC0:  taisph     5021 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 18.04
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-12-04 (1705 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: LENOVO 20BG0043MD
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic 
root=UUID=a7c79e91-6b4a-4db0-9237-049f85e4da23 ro quiet splash vt.handoff=1
  ProcVersionSignature: Ubuntu 4.15.0-55.60-generic 4.15.18
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-55-generic N/A
   linux-backports-modules-4.15.0-55-generic  N/A
   linux-firmware                             1.173.9
  Tags:  bionic
  Uname: Linux 4.15.0-55-generic x86_64
  UpgradeStatus: Upgraded to bionic on 2018-08-06 (364 days ago)
  UserGroups: adm cdrom dialout dip docker input kvm libvirt libvirtd lpadmin 
plugdev sambashare sudo vboxusers wireshark
  _MarkForUpload: True
  dmi.bios.date: 03/12/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GNET73WW (2.21 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20BG0043MD
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0E50510 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvrGNET73WW(2.21):bd03/12/2015:svnLENOVO:pn20BG0043MD:pvrThinkPadW540:rvnLENOVO:rn20BG0043MD:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.family: ThinkPad W540
  dmi.product.name: 20BG0043MD
  dmi.product.version: ThinkPad W540
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838993/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to