[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-29 Thread Tais P. Hansen
I've replaced the keyboard and I'm not experiencing the issue on the USB
port as I did with the old keyboard (only tested on the 5.0.0-25 hwe
kernel). Not sure what could be causing that behaviour all of a sudden.
The old keyboard (Logitech) didn't appear to have any noticeable issues
such as a stuck key or something that might trigger a wake-up.

-- 
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: 0011
  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 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Kai-Heng Feng
Does change "power/wakeup" help?

Refer to this link for more info:
https://www.kernel.org/doc/html/latest/driver-api/usb/power-management.html#the-user-interface-for-dynamic-pm

-- 
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: 0011
  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] 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Tais P. Hansen
Lenovo ThinkPad Ultra Dock Type 40A2

-- 
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: 0011
  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 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Kai-Heng Feng
Which dock is in use?

-- 
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: 0011
  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 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Tais P. Hansen
I've now tested kernels 4.15.0-39, 4.15.0-45, 4.15.0-50, 4.15.0-54,
4.15.0-55 and all have the same behaviour - so this does not seem to be
a kernel issue after all.

I unplugged everything and tested suspend/resume on 5.0.0-25-generic
which now works. Tested suspend/resume after each device was reconnected
and identified the keyboard as the reason it resumes. Tried disabling
all USB (XHCI/EHC*) in /proc/acpi/wakeup without success. Finally moved
the keyboard to another USB port (non-SS) in the dock and I am now able
to suspend without it waking up immediately.

-- 
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: 0011
  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: 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Kai-Heng Feng
Then it's not fixed in upstream.
Please find the last good kernel and first bad kernel in 
https://kernel.ubuntu.com/~kernel-ppa/mainline

Only need to test -rc* kernels.

-- 
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: 0011
  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: 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Tais P. Hansen
5.3.0-050300rc4-generic was slower to suspend but the same happens. The
laptop is suspended less than a second and just enough to see the fading
powerlight indicating sleep mode before it resumes.

-- 
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: 0011
  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: 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-15 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3-rc4/

-- 
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: 0011
  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-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-14 Thread Tais P. Hansen
I still have the issue with linux-image-generic-hwe-18.04=5.0.0.25.82.

-- 
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: 0011
  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]  

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-10 Thread malasa
update: i had some time and did a fresh installation of Xubuntu 18.04.3
on an USB SSD. Suspend works with Kernel 5.0, first i suspected the
nvidia driver but it still works after installation of the nvidia
drivers. So for me it is either a setting which i'm not aware of that is
different or the main difference between these 2 installation: my Laptop
runs zfs root, the USB installation is simple ext4.

-- 
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: 0011
  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 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-08 Thread malasa
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: 0011
[  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.50]  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 :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 :00:14.3: BIOS contains WGDS but no WRDS
[  105.890388] e1000e :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
[  

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-08 Thread Tais P. Hansen
Older kernels have sadly been purged before I became aware of this. If I
can get older kernel packages I'm willing to try to find the last
version that worked.

Right now I'm using linux-image-generic-hwe-18.04 (= 5.0.0.23.80) and
have the same issue.

Oddly, if I enable pm_trace (echo 1 > /sys/power/pm_trace) then I'm able
to suspend and resume correctly.

-- 
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: 0011
  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]  

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-07 Thread Kai-Heng Feng
Sounds like it's a regression? Can you please find the last kernel that
works?

-- 
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: 0011
  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: 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-06 Thread Tais P. Hansen
apport information

** Tags added: apport-collected

** Description changed:

  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: 0011
  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: 

[Kernel-packages] [Bug 1838993] Re: Suspend immediately resumes on Ubuntu 18.04.2

2019-08-05 Thread Tais P. Hansen
** Attachment added: "lspci-vnvn.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838993/+attachment/5280972/+files/lspci-vnvn.log

-- 
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:
  New

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: 0011
  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