You have been subscribed to a public bug:

Just upgrades my NUC from Bionic to Focal and suspend went from
immediate (within a couple seconds) to taking a whole 30 seconds. While
suspend is happening, the machine is still usable, mouse moves,
applications respond, all the way until the machine actually goes to
sleep. I don't see anything strange in kern.log that would explain the
slowness:

Jul  4 08:44:55 domi kernel: [342379.045479] Lockdown: systemd-logind: 
hibernation is restricted; see man kernel_lockdown.7
Jul  4 08:44:55 domi kernel: [342379.048878] Lockdown: systemd-logind: 
hibernation is restricted; see man kernel_lockdown.7
Jul  4 08:44:55 domi kernel: [342379.049670] Lockdown: systemd-logind: 
hibernation is restricted; see man kernel_lockdown.7
Jul  4 08:44:56 domi kernel: [342379.966129] Lockdown: systemd-logind: 
hibernation is restricted; see man kernel_lockdown.7
Jul  4 08:44:56 domi kernel: [342379.971410] Lockdown: systemd-logind: 
hibernation is restricted; see man kernel_lockdown.7
Jul  4 08:45:27 domi kernel: [342410.725869] PM: suspend entry (s2idle)
Jul  4 08:45:32 domi kernel: [342410.749912] Filesystems sync: 0.024 seconds
Jul  4 08:45:32 domi kernel: [342410.751470] Freezing user space processes ... 
(elapsed 0.002 seconds) done.
Jul  4 08:45:32 domi kernel: [342410.753907] OOM killer disabled.
Jul  4 08:45:32 domi kernel: [342410.753907] Freezing remaining freezable tasks 
... (elapsed 0.001 seconds) done.
Jul  4 08:45:32 domi kernel: [342410.755259] printk: Suspending console(s) (use 
no_console_suspend to debug)
Jul  4 08:45:32 domi kernel: [342410.755948] e1000e: EEE TX LPI TIMER: 00000011
Jul  4 08:45:32 domi kernel: [342410.812587] sd 2:0:0:0: [sdb] Synchronizing 
SCSI cache
Jul  4 08:45:32 domi kernel: [342410.812607] sd 1:0:0:0: [sda] Synchronizing 
SCSI cache
Jul  4 08:45:32 domi kernel: [342410.812708] sd 2:0:0:0: [sdb] Stopping disk
Jul  4 08:45:32 domi kernel: [342410.816870] sd 1:0:0:0: [sda] Stopping disk
Jul  4 08:45:32 domi kernel: [342411.080056] ACPI: EC: interrupt blocked
Jul  4 08:45:32 domi kernel: [342415.597918] ACPI: EC: interrupt unblocked

There does look to be 30s between the last "Lockdown: systemd-logind:
hibernation is restricted; see man kernel_lockdown.7" and "PM: suspend
entry (s2idle)"

This is mostly a frustration, but could be a security issue for some if
they suspend the machine and walk away thinking it would be locked but
is usable for another 30s.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-121-generic 5.4.0-121.137
ProcVersionSignature: Ubuntu 5.4.0-121.137-generic 5.4.189
Uname: Linux 5.4.0-121-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  bbogart    1033 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Mon Jul  4 08:43:09 2022
InstallationDate: Installed on 2019-02-09 (1241 days ago)
InstallationMedia: Xubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
MachineType: Intel(R) Client Systems NUC8i3BEH
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-121-generic 
root=UUID=9c982b36-8142-4719-810a-e06f81cab223 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-121-generic N/A
 linux-backports-modules-5.4.0-121-generic  N/A
 linux-firmware                             1.187.31
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2022-06-30 (4 days ago)
dmi.bios.date: 10/15/2018
dmi.bios.vendor: Intel Corp.
dmi.bios.version: BECFL357.86A.0051.2018.1015.1513
dmi.board.name: NUC8BEB
dmi.board.vendor: Intel Corporation
dmi.board.version: J72693-304
dmi.chassis.type: 3
dmi.chassis.vendor: Intel Corporation
dmi.chassis.version: 2.0
dmi.modalias: 
dmi:bvnIntelCorp.:bvrBECFL357.86A.0051.2018.1015.1513:bd10/15/2018:svnIntel(R)ClientSystems:pnNUC8i3BEH:pvrJ72753-303:rvnIntelCorporation:rnNUC8BEB:rvrJ72693-304:cvnIntelCorporation:ct3:cvr2.0:
dmi.product.family: Intel NUC
dmi.product.name: NUC8i3BEH
dmi.product.sku: BOXNUC8i3BEH
dmi.product.version: J72753-303
dmi.sys.vendor: Intel(R) Client Systems

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug focal
-- 
Suspend on focal takes 30s.
https://bugs.launchpad.net/bugs/1980679
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to systemd in Ubuntu.

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

Reply via email to