Sleep and Hibernation failures

please read this

If that didn’t solve the problem execute #3 above again and provide new output.

:bowing_man:

After doing some funky trickery with LVM, I managed to up my swap size to 20GB, as per the linked article.

Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 18.62 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A 
  uuid: b7b62e3d-a332-4878-b2bf-525fcea2b10d 

I experienced the issue prior to this change. Will update if happens again.

1 Like

The issue was repeated today. After increasing the swap partition, and leaving the machine for 30 minutes. The system failed to sleep, and upon return, I had found the network was disconnected, and manually telling the computer to perform a sleep or hibernate yielded no results.

Following a repeat of the #3 step, I was immediately prompted with an issue suspending SystemCtl. I took the liberty of fetching the journalctl too…

 jimmyson  ~  systemctl suspend
Failed to suspend system via logind: There's already a shutdown or sleep operation in progress
 jimmyson  ~  journalctl --system --priority=3 --since "2021-09-30 18:00:00"                                                                                                                                                                             1 
-- Journal begins at Sat 2021-08-28 13:04:17 AEST, ends at Thu 2021-09-30 19:22:08 AEST. --
Sep 30 18:29:58 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:58 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:58 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 2, error -71
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:29:59 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 3, error -71
Sep 30 18:30:00 jimmyson-ms7a40 kernel: kvm: disabled by bios
Sep 30 18:30:00 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 4, error -71
Sep 30 18:30:01 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 5, error -71
Sep 30 18:30:01 jimmyson-ms7a40 kernel: usb usb4-port3: unable to enumerate USB device
Sep 30 18:30:36 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 6, error -71
Sep 30 18:30:37 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 7, error -71
Sep 30 18:30:38 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 7, error -71
Sep 30 18:30:39 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 7, error -71
Sep 30 18:30:40 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 7, error -71
Sep 30 18:30:40 jimmyson-ms7a40 kernel: hub 4-3:1.0: set hub depth failed
Sep 30 18:30:41 jimmyson-ms7a40 kernel: usb 4-3: device not accepting address 8, error -71
Sep 30 18:30:47 jimmyson-ms7a40 kernel: hub 4-3:1.0: config failed, can't read hub descriptor (err -22)
Sep 30 18:30:47 jimmyson-ms7a40 kernel: usb 4-3: Failed to suspend device, error -19
Sep 30 18:30:47 jimmyson-ms7a40 lightdm[902]: gkr-pam: unable to locate daemon control file
Sep 30 19:20:10 jimmyson-ms7a40 lightdm[2781]: gkr-pam: unable to locate daemon control file

Network dropping out is also a symptom of this problem. It can be restored by restarting the NetworkManager service, but I feel that’s just a band-aid solution, rather than a fix to addressing the hibernation problem.

New procedure:
Execute the following steps as quickly as you can:

  • reboot

  • Login

  • Open a terminal

  • Note the exact time up to the second

  • Execute:

    systemctl suspend
    
  • REISUB if system hung

  • provide the output to:

    journalctl --system --priority=3 --since "YYYY-MM-DD HH:MM:SS"
    

where obviously "YYYY-MM-DD HH:MM:SS" is the date/time noted earlier

as we don’t have the information of the hanging suspend…

:sob:

Sorry if I haven’t followed up with anything yet.
Been having small teething issues.

Because I can’t get proper information around Hibernation, I have considered switching to “sleep” mode for my machine when unused for 15 minutes. I am finding now that when the system wakes up, the entire OS either fails to resume the Window Manager, or fails to initiate any TTY sessions to help regain control. Even REISUB fails to trigger.

I had tried to fetch the Journal output, but scrolling too far back caused terminal to crash. I couldn’t even get the OS to shutdown the kernel.

Manually triggering systemctl suspend puts my PC to sleep as expected, and I need to press the power button to wake it up, rather than using any mouse/keyboard interactions.

I am starting to get worn out by this issue, and I feel I am not doing something correctly. Either XFCE is breaking the Power Management, or my BIOS needs updating so the Kernel can properly interact with the system, or there is something else in this puzzle.

:tired_face:

journalctl --system --priority=3 --since "YYYY-MM-DD HH:MM:SS" > /var/tmp/JimmysJournal.txt

then open /var/tmp/JimmysJournal.txt in an editor and copy-paste it here…

I just noticed something:

  1. please add as a grub parameter resume=UUID= with the UUID of your swap partition.
  2. ensure /etc/mkinitcpio.conf contains the resume hook

If you don’t know how to do that, please shout out!

:crossed_fingers:

I’ve now added the resume=UUID= parameter to the default config file ready to update.
Seems the /etc/mkinitcpio.conf file IS missing the resume hook.

HOOKS="base udev autodetect modconf block keyboard keymap lvm2 filesystems"

I’m guessing it should be a matter of adding in the hook with a text editor and initiating mkinitcpio from terminal once done, as per this Wiki doc.
https://wiki.archlinux.org/title/Mkinitcpio

NOTE: I also have a pacnew variant sitting in the directory too…

[jimmyson@jimmyson-ms7a40 ~]$ sudo nano /etc/mk
mke2fs.conf             mkinitcpio.conf         mkinitcpio.conf.pacnew  mkinitcpio.d/   
1 Like

compare both .pacnew and mkinitcpio.conf and provide the differences, please?

(just to be sure)

Also, ensure resume is anywhere in the HOOKS= line regardless of the comparison.

:crossed_fingers:

Just to make sure, you added your actual UUID of the swap partition to this?
It should look like resume=UUID=38dkei..... (of course with your UUID not the 38…)

1 Like
diff /etc/mkinitcpio.conf /etc/mkinitcpio.conf.pacnew 
7c7
< MODULES=""
---
> MODULES=()
19c19
< FILES=""
---
> FILES=()
52c52
< HOOKS="base udev autodetect modconf block keyboard keymap lvm2 filesystems"
---
> HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
62a63
> #COMPRESSION="zstd"

Of course :yum:

Add:

too to the hooks.

then execute:

 sudo mkinitcpio --preset linux510
 sudo update-grub
 sync; sync; sync
 sudo reboot

and try again!

:hourglass_flowing_sand:

… but then the “resume” keyword still isn’t present

@Jimmyson
the .pacnew file has a different syntax now - the difference is in things like:

FILES=()

vs

FILES=""

… keep all your HOOKS and add “resume” at the end

1 Like

Jimmmy already did that here:

:wink:

Ok, I have updated the mkinitcpio, grub config and executed the code as highlighted.
I performed a dry run of Hibernation and things look OK for now. I would need to let the system idle for about 15 minutes to trigger a Hibernation to see how it responses and wakes.

In the mean time, I am also checking the Sleep/Suspend processes too, as I mention I also had issues there a couple of posts back. Seems I am still having issues when waking it up, and no journal logs exist during the sleep and wake processes.

My order of operation was the following

  • 23:41PM Initiate Sleep from logind panel, and system falls asleep.
  • 23:44PM Wake by keyboard entry/mouse movement. Nothing response. Press power button instead.
  • 23:45PM System running yet no video output. Switching TTY not responding.
  • 23:47PM REISUB to regain control. Nothing is waking. Switching TTY still not responding
  • 23:48PM Hard shutdown. And reboot
  • 23:48PM Back into system.

Below is the log that was reported from Journalctl. Clearly no logs would be present due to a hard shutdown, but there is also no logs of the sleep action too.

journalctl --system --priority=3 --since "2021-10-07 23:35:00"
-- Journal begins at Sat 2021-10-02 16:22:10 AEST, ends at Thu 2021-10-07 23:58:08 AEDT. --
Oct 07 23:36:34 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:34 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:35 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:36 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:36:47 jimmyson-ms7a40 lightdm[1126]: gkr-pam: unable to locate daemon control file
-- Boot 23df679956db4250a2c39e77929b42b9 --
Oct 07 23:48:31 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:31 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:31 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:32 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:33 jimmyson-ms7a40 kernel: kvm: disabled by bios
Oct 07 23:48:39 jimmyson-ms7a40 lightdm[1138]: gkr-pam: unable to locate daemon control file

Logs are lost then…

Yup: EXT4 is a transaction-based system: the entire transaction was rolled back…

Try:

  • Reboot and log in

  • Insert a FAT-32 formatted USB stick

  • mount it in /media/USB

  • Open a terminal and run:

    watch --interval=1 'journalctl --system | tail --lines=25 >>/media/USB/JimmysLog.txt;sync'
    
  • Open another another terminal and run:

    systemctl suspend
    
  • still try to REISUB when it comes back, but use 6 seconds in-between keystrokes.

  • provide the sanitised contents of JimmysLog.txt (I.E. remove duplicates) regardless whether or not REISUB worked.

:thinking:

Sorry for the late reply again. Been so busy, and ran out of energy before I can attend to the issue.

Took to your advice as mentioned above. Got the logging applied, and suspended the system. Upon relaunch, the system powered off immedatly, and I needed to power on the machine again, and the system went through a normal power on boot, rather than resuming.

Below is the log output below…

Oct 08 21:25:28 jimmyson-ms7a40 udisksd[2525]: Mounted /dev/sda at /run/media/jimmyson/STORE N GO on behalf of uid 1000
Oct 08 21:26:26 jimmyson-ms7a40 dbus-daemon[476]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.94' (uid=0 pid=4673 comm="sudo watch --interval=1 journalctl --system | tail")
Oct 08 21:26:26 jimmyson-ms7a40 dbus-daemon[476]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Oct 08 21:26:26 jimmyson-ms7a40 audit[4673]: USER_AUTH pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=? acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=failed'
Oct 08 21:26:26 jimmyson-ms7a40 kernel: audit: type=1100 audit(1633688786.740:110): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=? acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=failed'
Oct 08 21:27:37 jimmyson-ms7a40 audit[4673]: USER_AUTH pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 audit[4673]: USER_ACCT pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 audit[4673]: CRED_REFR pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 kernel: audit: type=1100 audit(1633688857.060:111): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 kernel: audit: type=1101 audit(1633688857.060:112): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 kernel: audit: type=1110 audit(1633688857.060:113): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 audit[4673]: USER_START pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:37 jimmyson-ms7a40 kernel: audit: type=1105 audit(1633688857.063:114): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:43 jimmyson-ms7a40 audit[4673]: USER_END pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:43 jimmyson-ms7a40 audit[4673]: CRED_DISP pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:43 jimmyson-ms7a40 kernel: audit: type=1106 audit(1633688863.606:115): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:43 jimmyson-ms7a40 kernel: audit: type=1104 audit(1633688863.606:116): pid=4673 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 dbus-daemon[476]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.95' (uid=0 pid=4747 comm="sudo watch --interval=1 journalctl --system | tail")
Oct 08 21:27:50 jimmyson-ms7a40 dbus-daemon[476]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Oct 08 21:27:50 jimmyson-ms7a40 audit[4747]: USER_ACCT pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 audit[4747]: CRED_REFR pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 kernel: audit: type=1101 audit(1633688870.383:117): pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="jimmyson" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 kernel: audit: type=1110 audit(1633688870.383:118): pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 audit[4747]: USER_START pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:27:50 jimmyson-ms7a40 kernel: audit: type=1105 audit(1633688870.386:119): pid=4747 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.6829] device (wlp28s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 08 21:29:57 jimmyson-ms7a40 ModemManager[526]: <info>  [sleep-monitor] system is about to suspend
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.6837] device (wlp28s0): set-hw-addr: reset MAC address to D4:3B:04:EF:59:20 (unmanage)
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.6845] manager: NetworkManager state is now ASLEEP
Oct 08 21:29:57 jimmyson-ms7a40 polkitd[478]: Unregistered Authentication Agent for unix-process:5035:195458 (system bus name :1.97, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_AU.utf8) (disconnected from bus)
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.6850] device (enp27s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Oct 08 21:29:57 jimmyson-ms7a40 dbus-daemon[476]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=477 comm="/usr/bin/NetworkManager --no-daemon ")
Oct 08 21:29:57 jimmyson-ms7a40 systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 08 21:29:57 jimmyson-ms7a40 dbus-daemon[476]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 08 21:29:57 jimmyson-ms7a40 systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 08 21:29:57 jimmyson-ms7a40 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.7056] device (enp27s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Oct 08 21:29:57 jimmyson-ms7a40 kernel: audit: type=1130 audit(1633688997.700:120): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Withdrawing address record for fe80::c4f6:5e69:f8bb:5488 on enp27s0.
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Leaving mDNS multicast group on interface enp27s0.IPv6 with address fe80::c4f6:5e69:f8bb:5488.
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Interface enp27s0.IPv6 no longer relevant for mDNS.
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.7264] dhcp4 (enp27s0): canceled DHCP transaction
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.7264] dhcp4 (enp27s0): state changed bound -> terminated
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Withdrawing address record for 192.168.1.24 on enp27s0.
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Leaving mDNS multicast group on interface enp27s0.IPv4 with address 192.168.1.24.
Oct 08 21:29:57 jimmyson-ms7a40 avahi-daemon[474]: Interface enp27s0.IPv4 no longer relevant for mDNS.
Oct 08 21:29:57 jimmyson-ms7a40 NetworkManager[477]: <info>  [1633688997.7338] device (enp27s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 08 21:29:57 jimmyson-ms7a40 kernel: r8169 0000:1b:00.0 enp27s0: Link is Down
Oct 08 21:29:57 jimmyson-ms7a40 systemd[1]: Reached target Sleep.
Oct 08 21:29:57 jimmyson-ms7a40 systemd[1]: Starting System Suspend...

That looks like a firmware bug. Look if there is an UEFI Firmware update (aka “BIOS update”) from your hardware manufacturer.

:thinking:

Seems there are several since I purchased the board. Mostly AGESA and Ryzen 3000 CPU supports. I’ll see what I can do here.

Seems I also experienced this issue twice again today. Setting the Power Management Options to Hibernate, and leave the system on Idle for 15 minutes, and returning yielded the machine inoperable when Powered Back on, black screen receiving no signal. I managed to check network connectivity, and yielded Ping echos from other devices on the network. Seems the Kernel is booting. SSH was out of action.

Plugged in my USB for SystemCtl monitoring, and I am revealed that LightDM is having issues upon awaking. I do also have the Display set to blank after 10 minutes as part of the Idle cycle, and I am of the belief that this causes the display to not send a signal upon it waking up.

Oct 12 21:55:12 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:55:12 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 7 threads of 2 processes of 1 users.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Successfully made thread 3583 of process 2167 owned by '1000' RT at priority 10.
Oct 12 21:56:26 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:01:01 jimmyson-ms7a40 CROND[3670]: (root) CMD (run-parts /etc/cron.hourly)
Oct 12 22:01:01 jimmyson-ms7a40 CROND[3669]: (root) CMDEND (run-parts /etc/cron.hourly)
Oct 12 22:17:19 jimmyson-ms7a40 udisksd[2381]: Mounted /dev/sda at /run/media/jimmyson/STORE N GO on behalf of uid 1000
Oct 12 22:17:19 jimmyson-ms7a40 kernel: FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Oct 12 22:18:16 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:16 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 8 threads of 3 processes of 1 users.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Successfully made thread 4262 of process 4208 owned by '1000' RT at priority 10.
Oct 12 22:18:20 jimmyson-ms7a40 rtkit-daemon[1472]: Supervising 9 threads of 4 processes of 1 users.
Oct 12 22:46:00 jimmyson-ms7a40 kernel: usb 3-4.4: device not accepting address 13, error -71
Oct 12 22:46:00 jimmyson-ms7a40 kernel: OOM killer enabled.
Oct 12 22:46:00 jimmyson-ms7a40 kernel: Restarting tasks ... done.
Oct 12 22:46:00 jimmyson-ms7a40 kernel: thermal thermal_zone0: failed to read out thermal zone (-61)
Oct 12 22:46:00 jimmyson-ms7a40 kernel: PM: suspend exit
Oct 12 22:46:00 jimmyson-ms7a40 kernel: usb 3-4.4: USB disconnect, device number 13
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Oct 12 22:46:00 jimmyson-ms7a40 systemd-sleep[6249]: System returned from sleep state.
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc
Oct 12 22:46:00 jimmyson-ms7a40 systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Oct 12 22:46:00 jimmyson-ms7a40 bluetoothd[810]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Oct 12 22:46:00 jimmyson-ms7a40 kernel: Bluetooth: hci0: read Intel version: 370810225019140f00
Oct 12 22:46:00 jimmyson-ms7a40 kernel: Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
Oct 12 22:46:00 jimmyson-ms7a40 upowerd[1653]: treating change event as add on /sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8
Oct 12 22:46:00 jimmyson-ms7a40 upowerd[1653]: treating change event as add on /sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-8
Oct 12 22:46:00 jimmyson-ms7a40 systemd[1]: Stopped target Bluetooth Support.
Oct 12 22:46:00 jimmyson-ms7a40 systemd[1]: Started Load/Save RF Kill Switch Status.
Oct 12 22:46:00 jimmyson-ms7a40 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 12 22:46:00 jimmyson-ms7a40 kernel: audit: type=1130 audit(1634039160.130:88): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 12 22:46:00 jimmyson-ms7a40 systemd[1]: Reached target Bluetooth Support.
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6884]: Please consult the The X.Org Foundation support
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6884]:          at http://wiki.x.org
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6884]:  for help.
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6884]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[647]: Failed to open log file /var/log/lightdm/x-1.log: Read-only file system
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: Fatal server error:
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: (EE) Cannot move old log file "/var/log/Xorg.1.log" to "/var/log/Xorg.1.log.old"
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: Please consult the The X.Org Foundation support
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]:          at http://wiki.x.org
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]:  for help.
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6885]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[647]: Failed to open log file /var/log/lightdm/x-1.log: Read-only file system
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: Fatal server error:
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: (EE) Cannot move old log file "/var/log/Xorg.1.log" to "/var/log/Xorg.1.log.old"
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: Please consult the The X.Org Foundation support
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]:          at http://wiki.x.org
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]:  for help.
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[6886]: (EE)
Oct 12 22:46:21 jimmyson-ms7a40 lightdm[647]: Failed to open log file /var/log/lightdm/x-1.log: Read-only file system

After being busy with work, I managed to get some time to update my system’s BIOS.
I can gleefully report that a time Suspend operation managed to reawaken itself without problems.

Network services are still running, X11 managed to accept the awakened session, and the logging resumed upon the awaken state.

Seems that it was a BIOS update that needed to be done. I also managed to set my boot type to UEFI, as the updated BIOS had it set to Legacy. I think that might’ve been altered from UEFI upon flashing the new BIOS. Thanks for your patience.

Oct 21 19:36:04 jimmyson-ms7a40 kernel: usb 3-2: Manufacturer: Verbatim
Oct 21 19:36:04 jimmyson-ms7a40 kernel: usb 3-2: SerialNumber: CA006AA89FE8DE43
Oct 21 19:36:04 jimmyson-ms7a40 kernel: usb-storage 3-2:1.0: USB Mass Storage device detected
Oct 21 19:36:04 jimmyson-ms7a40 kernel: scsi host10: usb-storage 3-2:1.0
Oct 21 19:36:04 jimmyson-ms7a40 mtp-probe[9923]: checking bus 3, device 13: "/sys/devices/pci0000:00/0000:00:07.1/0000:2a:00.3/usb3/3-2"
Oct 21 19:36:04 jimmyson-ms7a40 mtp-probe[9923]: bus: 3, device: 13 was not an MTP device
Oct 21 19:36:05 jimmyson-ms7a40 mtp-probe[9949]: checking bus 3, device 13: "/sys/devices/pci0000:00/0000:00:07.1/0000:2a:00.3/usb3/3-2"
Oct 21 19:36:05 jimmyson-ms7a40 mtp-probe[9949]: bus: 3, device: 13 was not an MTP device
Oct 21 19:36:05 jimmyson-ms7a40 kernel: scsi 10:0:0:0: Direct-Access     Verbatim STORE N GO       5.00 PQ: 0 ANSI: 6
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] 15117800 512-byte logical blocks: (7.74 GB/7.21 GiB)
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] Write Protect is off
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] No Caching mode page found
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] Assuming drive cache: write through
Oct 21 19:36:09 jimmyson-ms7a40 kernel:  sdb:
Oct 21 19:36:09 jimmyson-ms7a40 kernel: sd 10:0:0:0: [sdb] Attached SCSI removable disk
Oct 21 19:36:52 jimmyson-ms7a40 kernel: FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Oct 21 19:36:52 jimmyson-ms7a40 udisksd[3213]: Mounted /dev/sdb at /run/media/jimmyson/STORE N GO on behalf of uid 1000
Oct 21 19:37:28 jimmyson-ms7a40 kernel: usb 3-3.3: USB disconnect, device number 6
Oct 21 19:37:28 jimmyson-ms7a40 kernel: usb 3-3.3.1: USB disconnect, device number 9
Oct 21 19:37:28 jimmyson-ms7a40 kernel: usb 3-3.3.1.1: USB disconnect, device number 11
Oct 21 19:37:28 jimmyson-ms7a40 kernel: usb 3-3.3.2: USB disconnect, device number 10
Oct 21 19:47:01 jimmyson-ms7a40 anacron[2887]: Job `cron.daily' started
Oct 21 19:47:01 jimmyson-ms7a40 anacron[2887]: Job `cron.daily' terminated
Oct 21 19:47:01 jimmyson-ms7a40 anacron[2887]: Normal exit (1 job run)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: usb usb2: root hub lost power or was reset
Oct 21 20:14:11 jimmyson-ms7a40 kernel: [drm] PCIE gen 3 link speeds already enabled
Oct 21 20:14:11 jimmyson-ms7a40 kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F400000000).
Oct 21 20:14:11 jimmyson-ms7a40 kernel: amdgpu 0000:29:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
Oct 21 20:14:11 jimmyson-ms7a40 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Oct 21 20:14:11 jimmyson-ms7a40 kernel: [drm] UVD initialized successfully.
Oct 21 20:14:11 jimmyson-ms7a40 kernel: usb 4-3: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Oct 21 20:14:11 jimmyson-ms7a40 kernel: [drm] VCE initialized successfully.
Oct 21 20:14:11 jimmyson-ms7a40 kernel: SW scheduler is used
Oct 21 20:14:11 jimmyson-ms7a40 kernel: ata5: SATA link down (SStatus 0 SControl 330)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: ata2: SATA link down (SStatus 0 SControl 330)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: ata6: SATA link down (SStatus 0 SControl 330)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: ata9: SATA link down (SStatus 0 SControl 300)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: ata1: SATA link down (SStatus 0 SControl 330)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: usb 1-8: reset full-speed USB device number 2 using xhci_hcd
Oct 21 20:14:11 jimmyson-ms7a40 kernel: hub 4-3:1.0: hub_ext_port_status failed (err = -71)
Oct 21 20:14:11 jimmyson-ms7a40 kernel: OOM killer enabled.
Oct 21 20:14:11 jimmyson-ms7a40 kernel: Restarting tasks ... done.
Oct 21 20:14:11 jimmyson-ms7a40 kernel: PM: suspend exit
Oct 21 20:14:11 jimmyson-ms7a40 bluetoothd[844]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSink/sbc
Oct 21 20:14:11 jimmyson-ms7a40 systemd-sleep[11470]: System returned from sleep state.
Oct 21 20:14:11 jimmyson-ms7a40 bluetoothd[844]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSource/sbc
Oct 21 20:14:11 jimmyson-ms7a40 systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 21 20:14:11 jimmyson-ms7a40 bluetoothd[844]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Oct 21 20:14:11 jimmyson-ms7a40 bluetoothd[844]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Oct 21 20:14:14 jimmyson-ms7a40 systemd[1]: Started User Manager for UID 971.
Oct 21 20:14:14 jimmyson-ms7a40 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@971 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 20:14:14 jimmyson-ms7a40 kernel: audit: type=1130 audit(1634807654.063:110): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@971 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Starting Update XDG user dir configuration...
Oct 21 20:14:14 jimmyson-ms7a40 systemd[1]: Started Session c2 of User lightdm.
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Finished Update XDG user dir configuration.
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Reached target Main User Target.
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Startup finished in 197ms.
Oct 21 20:14:14 jimmyson-ms7a40 audit[11872]: USER_START pid=11872 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:1 res=success'
Oct 21 20:14:14 jimmyson-ms7a40 kernel: audit: type=1105 audit(1634807654.073:111): pid=11872 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/bin/lightdm" hostname=? addr=? terminal=:1 res=success'
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Started D-Bus User Message Bus.
Oct 21 20:14:14 jimmyson-ms7a40 dbus-daemon[11901]: [session uid=971 pid=11901] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.1' (uid=971 pid=11884 comm="/usr/bin/lightdm-gtk-greeter ")
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Starting Accessibility services bus...
Oct 21 20:14:14 jimmyson-ms7a40 dbus-daemon[11901]: [session uid=971 pid=11901] Successfully activated service 'org.a11y.Bus'
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Started Accessibility services bus.
Oct 21 20:14:14 jimmyson-ms7a40 dbus-daemon[11901]: [session uid=971 pid=11901] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=971 pid=11884 comm="/usr/bin/lightdm-gtk-greeter ")
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Starting Virtual filesystem service...
Oct 21 20:14:14 jimmyson-ms7a40 dbus-daemon[11901]: [session uid=971 pid=11901] Successfully activated service 'org.gtk.vfs.Daemon'
Oct 21 20:14:14 jimmyson-ms7a40 systemd[11876]: Started Virtual filesystem service.
Oct 21 20:14:14 jimmyson-ms7a40 ModemManager[524]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:04.0/0000:25:00.0': not supported by any plugin
Oct 21 20:14:14 jimmyson-ms7a40 polkitd[467]: <no filename>:3: action=[Action id='org.freedesktop.DisplayManager.AccountsService.ReadAny']
Oct 21 20:14:14 jimmyson-ms7a40 polkitd[467]: <no filename>:4: subject=[Subject pid=11884 user='lightdm' groups=lightdm seat='seat0' session='c2' local=true active=true]
Oct 21 20:14:14 jimmyson-ms7a40 at-spi-bus-launcher[11908]: dbus-daemon[11908]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=971 pid=11884 comm="/usr/bin/lightdm-gtk-greeter ")
Oct 21 20:14:14 jimmyson-ms7a40 at-spi-bus-launcher[11908]: dbus-daemon[11908]: Successfully activated service 'org.a11y.atspi.Registry'
Oct 21 20:14:14 jimmyson-ms7a40 at-spi-bus-launcher[11935]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Oct 21 20:14:15 jimmyson-ms7a40 mtp-probe[11945]: bus: 3, device: 16 was not an MTP device
Oct 21 20:14:15 jimmyson-ms7a40 upowerd[1574]: treating change event as add on /sys/devices/pci0000:00/0000:00:07.1/0000:2a:00.3/usb3/3-3/3-3.3/3-3.3.1
Oct 21 20:14:15 jimmyson-ms7a40 mtp-probe[12008]: checking bus 3, device 17: "/sys/devices/pci0000:00/0000:00:07.1/0000:2a:00.3/usb3/3-3/3-3.3/3-3.3.1/3-3.3.1.1"
Oct 21 20:14:15 jimmyson-ms7a40 mtp-probe[12008]: bus: 3, device: 17 was not an MTP device
Oct 21 20:14:15 jimmyson-ms7a40 kernel: r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
Oct 21 20:14:15 jimmyson-ms7a40 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp37s0: link becomes ready
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.