'systemd-sleep suspend' hung after an abortive suspend/resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On an Asus T300CHI with 16.04 and kernel 4.13.0-
Some system logs looked like they weren't getting the normal flow of messages and 'systemctl status' for the suspend.target and systemd-
This was around 07:36. I left the system most of the day until I could investigate.
I noticed the dmesg showed "Suspended for 23820.656 seconds" when it resumed/failed to suspend immediately.
After a lot of digging and saving command output of interest at 18:33 I did:
sudo kill $(pidof systemd-sleep)
the system immediately suspended. After nearly a minute I pressed the power button and the PC instantly resumed.
dmesg reported "Suspended for 43 seconds" which is correct and network-manager correctly returned to connected state.
---
tj@T300CHI:~$ nmcli gen
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
asleep none enabled enabled enabled enabled
tj@T300CHI:~$ systemctl status suspend.target
Failed to suspend system via logind: There's already a shutdown or sleep operation in progress
tj@T300CHI:~$ systemctl status systemd-
systemd-
Loaded: loaded (/lib/systemd/
Active: activating (start) since Fri 2018-01-19 00:56:05 GMT; 17h ago
Docs: man:systemd-
Main PID: 23868 (systemd-sleep)
Tasks: 1
Memory: 536.0K
CPU: 6ms
CGroup: /system.
23868 /lib/systemd/
Jan 19 00:56:05 T300CHI systemd[1]: Starting Suspend...
Jan 19 00:56:15 T300CHI systemd-
Jan 19 00:56:15 T300CHI systemd-
Jan 19 00:56:15 T300CHI systemd-
tj@T300CHI:~$ cat suspend-logind.log
-- Logs begin at Thu 2018-01-18 01:39:09 GMT, end at Fri 2018-01-19 18:00:09 GMT. --
Jan 18 01:39:12 T300CHI systemd[1]: Starting Login Service...
Jan 18 01:39:12 T300CHI systemd[1]: Started Login Service.
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:12 T300CHI systemd-
Jan 18 01:39:14 T300CHI systemd-
Jan 18 01:39:27 T300CHI systemd-
Jan 18 01:39:47 T300CHI systemd-
Jan 18 14:13:39 T300CHI systemd-
Jan 18 14:13:41 T300CHI systemd-
Jan 19 00:56:16 T300CHI systemd-
Jan 19 00:56:26 T300CHI systemd-
Jan 19 00:56:46 T300CHI systemd-
---
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
MachineType: ASUSTeK COMPUTER INC. T300CHI
NonfreeKernelMo
Package: systemd 229-4ubuntu21
PackageArchitec
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: third-party-
Uname: Linux 4.13.0-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip libvirtd lpadmin lxd plugdev sambashare sbuild sudo
_MarkForUpload: True
dmi.bios.date: 08/06/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: T300CHI.207
dmi.board.
dmi.board.name: T300CHI
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: T
dmi.product.name: T300CHI
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
apport information