no suspend to RAM

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

no suspend to RAM

Post by Aexoh5oo »

I am unable to suspend to RAM on my Acer Swift 1 SF114-34. It starts the suspend but after a screen flicker it returns to previous power-on state. If screen-lock-on-suspend is selected it goes to the lock screen.

I am using the 5.10.0-1023-oem kernel to get graphics hardware support, see: viewtopic.php?f=59&t=347819.

The machine will hibernate (enabled) to disc.

Code: Select all

$ inxi -Fxxxrz
System:
  Kernel: 5.10.0-1023-oem x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2 
  tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Acer product: Swift SF114-34 v: V1.07 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: JSL model: Labatt_JL v: V1.07 serial: <filter> UEFI: Insyde v: 1.07 
  date: 03/21/2021 
Battery:
  ID-1: BAT0 charge: 47.5 Wh condition: 47.5/47.9 Wh (99%) volts: 12.8/11.4 
  model: Murata KT0030401 AP18C4K type: Li-ion serial: <filter> status: Full 
  cycles: 5 
CPU:
  Topology: Quad Core model: Intel Pentium Silver N6000 bits: 64 type: MCP 
  arch: N/A L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8908 
  Speed: 756 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 773 2: 800 
  3: 800 4: 768 
Graphics:
  Device-1: Intel vendor: Acer Incorporated ALI driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:4e71 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics (JSL) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel vendor: Acer Incorporated ALI driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 chip ID: 8086:4dc8 
  Sound Server: ALSA v: k5.10.0-1023-oem 
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 
  chip ID: 8086:4df0 
  IF: wlp0s20f3 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 58.44 GiB (24.5%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN530 SDBPNPZ-256G-1014 size: 238.47 GiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: 21103900 scheme: GPT 
Partition:
  ID-1: / size: 91.81 GiB used: 27.44 GiB (29.9%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 26.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages ulyssa main upstream import backport
  2: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
Info:
  Processes: 218 Uptime: 1d 23h 50m Memory: 7.58 GiB used: 1.25 GiB (16.5%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: zsh 
  v: 5.8 running in: xfce4-terminal inxi: 3.0.38 
Here is an extract from dmesg during a suspend:

Code: Select all

[524269.068309] PM: suspend entry (deep)
[524269.070089] Filesystems sync: 0.001 seconds
[524269.188087] Freezing user space processes ... (elapsed 0.003 seconds) done.
[524269.191786] OOM killer disabled.
[524269.191789] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[524269.193535] printk: Suspending console(s) (use no_console_suspend to debug)
[524269.439375] ACPI: EC: interrupt blocked
[524269.559164] ACPI: Preparing to enter system sleep state S3
[524269.560619] ACPI: EC: event blocked
[524269.560620] ACPI: EC: EC stopped
[524269.560621] PM: Saving platform NVS memory
[524269.560748] Disabling non-boot CPUs ...
[524269.561494] IRQ 136: no longer affine to CPU1
[524269.562515] smpboot: CPU 1 is now offline
[524269.564875] IRQ 133: no longer affine to CPU2
[524269.564899] IRQ 137: no longer affine to CPU2
[524269.565915] smpboot: CPU 2 is now offline
[524269.567712] IRQ 132: no longer affine to CPU3
[524269.567731] IRQ 134: no longer affine to CPU3
[524269.567740] IRQ 135: no longer affine to CPU3
[524269.568773] smpboot: CPU 3 is now offline
[524269.572097] ACPI: Low-level resume complete
[524269.572235] ACPI: EC: EC started
[524269.572236] PM: Restoring platform NVS memory
[524269.573141] Enabling non-boot CPUs ...
[524269.573195] x86: Booting SMP configuration:
[524269.573196] smpboot: Booting Node 0 Processor 1 APIC 0x2
[524269.573963] CPU1 is up
[524269.573997] smpboot: Booting Node 0 Processor 2 APIC 0x4
[524269.574780] CPU2 is up
[524269.574911] smpboot: Booting Node 0 Processor 3 APIC 0x6
[524269.575719] CPU3 is up
[524269.576118] ACPI: Waking up from system sleep state S3
[524269.579204] ACPI: EC: interrupt unblocked
[524269.838462] ACPI: EC: event unblocked
[524269.878904] nvme nvme0: 4/0/0 default/read/poll queues
[524270.087690] usb 1-8: reset full-speed USB device number 5 using xhci_hcd
[524270.363583] usb 1-4: reset high-speed USB device number 3 using xhci_hcd
[524270.522518] acpi LNXPOWER:02: Turning OFF
[524270.523757] OOM killer enabled.
[524270.523761] Restarting tasks ... done.
[524270.527124] thermal thermal_zone4: failed to read out thermal zone (-61)
[524270.528361] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[524270.876343] PM: suspend exit
I can see nothing obviously wrong. It just wakes up as soon as it has slept. It would help me if I could see a log from a machine doing suspend correctly then the difference/fault might become clear, hopefully someone can help me there.

Are there any other logs to check or diagnostics to run?
Thank you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: no suspend to RAM

Post by mikeflan »

Howdy. See if these help you:
viewtopic.php?f=18&t=345862
viewtopic.php?f=90&t=348316
If not, then type this in a terminal:

Code: Select all

inxi -Fxxxrz
Post the output in "Code" tags. The button that inserts these tags is marked </>
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

Good morning,
The inxi result is in my first post. Also note that I can hibernate which is similar and I guess harder. The other reports are not identical in that I see but a few milliseconds between each suspend log line. This suggest to me that something prevents it from getting to suspend rather that an instant wake up.

/proc/acpi/wakeup could be interesting, does the machine wake up in a millisecond as a result of one of the entries in this pseudo file?

Code: Select all

$ cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
PEG0	  S4	*disabled
PEGP	  S4	*disabled
PEG1	  S4	*disabled
PEGP	  S4	*disabled
PEG2	  S4	*disabled
PEGP	  S4	*disabled
XHCI	  S4	*enabled   pci:0000:00:14.0
XDCI	  S4	*disabled
HDAS	  S4	*disabled  pci:0000:00:1f.3
CNVW	  S4	*disabled  pci:0000:00:14.3
RP01	  S4	*disabled
PXSX	  S4	*disabled
RP02	  S4	*disabled
PXSX	  S4	*disabled
RP03	  S4	*disabled
PXSX	  S4	*disabled
RP04	  S4	*disabled
PXSX	  S4	*disabled
RP05	  S4	*enabled   pci:0000:00:1c.0
PXSX	  S4	*disabled  pci:0000:01:00.0
RP06	  S4	*disabled
PXSX	  S4	*disabled
RP07	  S4	*disabled
PXSX	  S4	*disabled
RP08	  S4	*disabled
PXSX	  S4	*disabled
RP09	  S4	*disabled
PXSX	  S4	*disabled
RP10	  S4	*disabled
PXSX	  S4	*disabled
RP11	  S4	*disabled
PXSX	  S4	*disabled
RP12	  S4	*disabled
PXSX	  S4	*disabled
RP13	  S4	*disabled
PXSX	  S4	*disabled
RP14	  S4	*disabled
PXSX	  S4	*disabled
RP15	  S4	*disabled
PXSX	  S4	*disabled
RP16	  S4	*disabled
PXSX	  S4	*disabled
RP17	  S4	*disabled
PXSX	  S4	*disabled
RP18	  S4	*disabled
PXSX	  S4	*disabled
RP19	  S4	*disabled
PXSX	  S4	*disabled
RP20	  S4	*disabled
PXSX	  S4	*disabled
RP21	  S4	*disabled
PXSX	  S4	*disabled
RP22	  S4	*disabled
PXSX	  S4	*disabled
RP23	  S4	*disabled
PXSX	  S4	*disabled
RP24	  S4	*disabled
PXSX	  S4	*disabled
AWAC	  S4	*disabled
pci:0000:00:14.0 is USB. pci:0000:00:1c.0 is the PCI bridge. not much help there.

A log from a successful suspend would help me as I might see what I am missing.
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: no suspend to RAM

Post by mikeflan »

A log from a successful suspend would help me as I might see what I am missing.
I am on LM 19.3 Cinnamon.

Code: Select all

$ dmesg -T | tail -50
[Mon May  3 02:38:41 2021] usb usb3: root hub lost power or was reset
[Mon May  3 02:38:41 2021] usb usb4: root hub lost power or was reset
[Mon May  3 02:38:41 2021] usb usb1: root hub lost power or was reset
[Mon May  3 02:38:41 2021] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[Mon May  3 02:38:41 2021] sd 0:0:0:0: [sda] Starting disk
[Mon May  3 02:38:41 2021] sd 1:0:0:0: [sdb] Starting disk
[Mon May  3 02:38:41 2021] sd 2:0:0:0: [sdc] Starting disk
[Mon May  3 02:38:41 2021] sd 3:0:0:0: [sdd] Starting disk
[Mon May  3 02:38:41 2021] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[Mon May  3 02:38:41 2021] tpm tpm0: TPM is disabled/deactivated (0x7)
[Mon May  3 02:38:41 2021] usb 4-4: Disable of device-initiated U1 failed.
[Mon May  3 02:38:41 2021] usb 4-4: Disable of device-initiated U2 failed.
[Mon May  3 02:38:41 2021] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[Mon May  3 02:38:41 2021] ata6: SATA link down (SStatus 0 SControl 300)
[Mon May  3 02:38:41 2021] ata5.00: configured for UDMA/100
[Mon May  3 02:38:41 2021] usb 4-4: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[Mon May  3 02:38:41 2021] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:41 2021] ata1.00: configured for UDMA/133
[Mon May  3 02:38:41 2021] usb 1-1: reset high-speed USB device number 2 using ehci-pci
[Mon May  3 02:38:41 2021] usb 2-1: reset high-speed USB device number 2 using ehci-pci
[Mon May  3 02:38:41 2021] usb 3-6: reset low-speed USB device number 3 using xhci_hcd
[Mon May  3 02:38:41 2021] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 10
[Mon May  3 02:38:42 2021] usb 3-4: reset high-speed USB device number 2 using xhci_hcd
[Mon May  3 02:38:42 2021] usb 3-12: reset low-speed USB device number 4 using xhci_hcd
[Mon May  3 02:38:43 2021] usb 3-13: reset high-speed USB device number 5 using xhci_hcd
[Mon May  3 02:38:45 2021] OOM killer enabled.
[Mon May  3 02:38:45 2021] Restarting tasks ... 
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] done.
[Mon May  3 02:38:45 2021] PM: suspend exit
[Mon May  3 02:38:45 2021] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 64
[Mon May  3 02:38:46 2021] ata4: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:46 2021] ata2: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:46 2021] ata3: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:49 2021] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:49 2021] ata4.00: configured for UDMA/133
[Mon May  3 02:38:51 2021] ata2: COMRESET failed (errno=-16)
[Mon May  3 02:38:51 2021] ata3: COMRESET failed (errno=-16)
[Mon May  3 02:38:56 2021] ata2: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:56 2021] ata3: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:57 2021] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:57 2021] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:58 2021] ata3.00: configured for UDMA/133
[Mon May  3 02:38:59 2021] ata2.00: configured for UDMA/133
[Mon May  3 02:38:59 2021] e1000e: eno1 NIC Link is Down
[Mon May  3 02:39:03 2021] e1000e: eno1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[Mon May  3 02:39:03 2021] e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO
[Mon May  3 02:39:03 2021] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready

Code: Select all

$ journalctl -rb -1

[A lot of stuff deleted here]

-- Logs begin at Wed 2019-12-25 02:04:47 CST, end at Tue 2021-05-04 07:39:15 CDT. --
May 01 21:42:28 mike-linuxmint systemd-journald[463]: Journal stopped
May 01 21:42:28 mike-linuxmint systemd-shutdown[1]: Sending SIGTERM to remaining processes...
May 01 21:42:28 mike-linuxmint systemd-shutdown[1]: Syncing filesystems and block devices.
May 01 21:42:28 mike-linuxmint kernel: printk: systemd-shutdow: 62 output lines suppressed due to ratelimiting
May 01 21:42:28 mike-linuxmint systemd[1]: Shutting down.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping LVM2 metadata daemon...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
May 01 21:42:28 mike-linuxmint systemd[1]: Starting Power-Off...
May 01 21:42:28 mike-linuxmint systemd[1]: Reached target Final Step.
May 01 21:42:28 mike-linuxmint systemd[1]: Started Shuts down the "live" preinstalled system cleanly.
May 01 21:42:28 mike-linuxmint systemd[1]: Starting Shuts down the "live" preinstalled system cleanly...
May 01 21:42:28 mike-linuxmint systemd[1]: Reached target Shutdown.
May 01 21:42:28 mike-linuxmint systemd[1]: Removed slice system-clean\x2dmount\x2dpoint.slice.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Clean the /media/mike/main1 mount point.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Create Static Device Nodes in /dev.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Remount Root and Kernel File Systems.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Local File Systems (Pre).
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Clean the /media/mike/main1 mount point...
May 01 21:42:28 mike-linuxmint systemd[1]: Reached target Unmount All Filesystems.
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounted /media/mike/main1.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Clean the /media/mike/bu1 mount point.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Clean the /media/mike/bu1 mount point...
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounted /media/mike/bu1.
May 01 21:42:28 mike-linuxmint systemd[1]: Deactivated swap /swapfile.
May 01 21:42:28 mike-linuxmint systemd[1]: Deactivating swap /swapfile...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Swap.
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounted /run/user/1000.
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounting /run/user/1000...
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounted /run/user/1000/doc.
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounting /media/mike/bu1...
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounting /media/mike/main1...
May 01 21:42:28 mike-linuxmint systemd[1]: Unmounting /run/user/1000/doc...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Local File Systems.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Create Volatile Files and Directories.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Network Time Synchronization.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Update UTMP about System Boot/Shutdown.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Load/Save Random Seed.
May 01 21:42:28 mike-linuxmint systemd[1]: Removed slice User and Session Slice.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target User and Group Name Lookups.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Network Time Synchronization...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Local Encrypted Volumes.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Load/Save Random Seed...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Load Kernel Modules.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Apply Kernel Variables.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Update UTMP about System Boot/Shutdown...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target System Initialization.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed D-Bus System Message Bus Socket.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed ACPID Listen Socket.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed UUID daemon activation socket.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed Avahi mDNS/DNS-SD Stack Activation Socket.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed CUPS Scheduler.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed Syslog Socket.
May 01 21:42:28 mike-linuxmint systemd[1]: Closed Socket activation for snappy daemon.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Sockets.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Forward Password Requests to Plymouth Directory Watch.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Slices.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped ACPI Events Check.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped CUPS Scheduler.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Paths.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Basic System.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Login Service.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped D-Bus System Message Bus.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping D-Bus System Message Bus...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Network Manager.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Raise network interfaces.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped WPA supplicant.
May 01 21:42:28 mike-linuxmint NetworkManager[1106]: <info>  [1619923348.5023] exiting (success)
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Network Name Resolution.
May 01 21:42:28 mike-linuxmint NetworkManager[1106]: <info>  [1619923348.4966] caught SIGTERM, shutting down normally.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Network Manager...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Network Name Resolution...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Raise network interfaces...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping WPA supplicant...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Network.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped target Remote File Systems.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Permit User Sessions.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Login Service...
May 01 21:42:28 mike-linuxmint systemd[1]: Stopping Permit User Sessions...
May 01 21:42:28 mike-linuxmint systemd[1]: Removed slice User Slice of mike.
May 01 21:42:28 mike-linuxmint systemd[1]: Stopped Session c2 of user mike.
May 01 21:42:27 mike-linuxmint systemd[1]: Stopped MySQL Community Server.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped ACPI event daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Started Show Plymouth Power Off Screen.
May 01 21:42:25 mike-linuxmint systemd[1]: Starting Show Plymouth Power Off Screen...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Light Display Manager.
May 01 21:42:25 mike-linuxmint lightdm[1212]: Error: can't open /lib/modules/5.4.0-72-generic/updates/dkms
May 01 21:42:25 mike-linuxmint systemd[1]: Removed slice system-postgresql.slice.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped PostgreSQL Cluster 10-main.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Create final runtime dir for shutdown pivot root.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Modem Manager.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Network Manager Wait Online.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Network is Online.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped LSB: VirtualBox Linux kernel module.
May 01 21:42:25 mike-linuxmint virtualbox[30883]:    ...done.
May 01 21:42:25 mike-linuxmint NetworkManager[1106]: <info>  [1619923345.4324] modem-manager: ModemManager no longer available
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted Mount unit for core18, revision 1988.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted Mount unit for snapd, revision 11588.
May 01 21:42:25 mike-linuxmint ModemManager[1107]: <info>  ModemManager is shut down
May 01 21:42:25 mike-linuxmint systemd-tmpfiles[31067]: [/run/finalrd-libs.conf:6] Duplicate line for path "/run/initramfs/lib64", ignoring.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted Mount unit for snapd, revision 11402.
May 01 21:42:25 mike-linuxmint kernel: VBoxPciLinuxLinuxUnload
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped CUPS Scheduler.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Ubuntu system adjustments.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted Mount unit for core18, revision 1997.
May 01 21:42:25 mike-linuxmint systemd[1]: Removed slice system-postfix.slice.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Host and Network Name Lookups.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Postfix Mail Transport Agent (instance -).
May 01 21:42:25 mike-linuxmint postfix/master[1727]: terminating on signal 15
May 01 21:42:25 mike-linuxmint postfix/postfix-script[30966]: stopping the Postfix mail system
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Disk Manager.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped User Manager for UID 1000.
May 01 21:42:25 mike-linuxmint systemd[1]: user@1000.service: Killing process 4283 (dbus-launch) with signal SIGKILL.
May 01 21:42:25 mike-linuxmint systemd[1]: user@1000.service: Killing process 9991 (pool) with signal SIGKILL.
May 01 21:42:25 mike-linuxmint systemd[1735]: pam_unix(systemd-user:session): session closed for user mike
May 01 21:42:25 mike-linuxmint virtualbox[30883]:  * Unloading VirtualBox kernel modules...
May 01 21:42:25 mike-linuxmint systemd[1734]: Received SIGRTMIN+24 from PID 30941 (kill).
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped System Logging Service.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounting Mount unit for snapd, revision 11402...
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounting Mount unit for core18, revision 1988...
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounting Mount unit for snapd, revision 11588...
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounting Mount unit for core18, revision 1997...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Snap Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped LSB: Speech Dispatcher.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped LSB: Record successful boot for GRUB.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Clean the /media/mike/mapbu1 mount point.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped LSB: disk temperature monitoring daemon.
May 01 21:42:25 mike-linuxmint systemd[1734]: Starting Exit the Session...
May 01 21:42:25 mike-linuxmint systemd[1734]: Reached target Shutdown.
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed D-Bus User Message Bus Socket.
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed REST API socket for snapd user session agent.
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed GnuPG network certificate management daemon.
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed GnuPG cryptographic agent and passphrase cache.
May 01 21:42:25 mike-linuxmint systemd[1734]: Closed GnuPG cryptographic agent (ssh-agent emulation).
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped target Sockets.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped target Paths.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped target Timers.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped target Basic System.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Bluetooth OBEX service.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Samba NMB Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Samba NMB Daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Availability of block devices.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Samba Winbind Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Clean the /media/mike/mapbu1 mount point...
May 01 21:42:25 mike-linuxmint systemd[1]: Removed slice system-getty.slice.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping CUPS Scheduler...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Samba Winbind Daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target System Time Synchronized.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Tool to automatically collect and submit kernel crash signatures.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Save/Restore Sound Card State.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Samba SMB Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Make remote CUPS printers available locally.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Authorization Manager.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Accounts Service.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted /run/user/1000/gvfs.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped PackageKit Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped RealtimeKit Scheduling Policy Service.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Daemon for power management.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted /home/mike/.cache/doc.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted /home/mike/.gvfs.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Getty on tty1.
May 01 21:42:25 mike-linuxmint unknown[4306]: xdg-desktop-portal-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Manage, Install and Generate Color Profiles.
May 01 21:42:25 mike-linuxmint rsyslogd[1095]:  [origin software="rsyslogd" swVersion="8.32.0" x-pid="1095" x-info="http://www.rsyslog.com"] exiting on si
May 01 21:42:25 mike-linuxmint speech-dispatcher[30895]:  * speech-dispatcher disabled; edit /etc/default/speech-dispatcher
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Regular background program processing daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Dispatcher daemon for systemd-networkd.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped irqbalance daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Self Monitoring and Reporting Technology (SMART) Daemon.
May 01 21:42:25 mike-linuxmint systemd[1]: Unmounted /media/mike/mapbu1.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping LSB: Speech Dispatcher...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Portal service.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service - disk device monitor.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Accounts Service...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping LSB: Record successful boot for GRUB...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Authorization Manager...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped OpenVPN service.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Tool to automatically collect and submit kernel crash signatures...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Getty on tty1...
May 01 21:42:25 mike-linuxmint systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Trigger anacron every hour.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Daily Cleanup of Temporary Directories.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Regular background program processing daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Manage, Install and Generate Color Profiles...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Create final runtime dir for shutdown pivot root...
May 01 21:42:25 mike-linuxmint udisksd[1115]: udisks daemon version 2.7.6 exiting
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Message of the Day.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Ubuntu system adjustments...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Daemon for power management...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Initialize hardware monitoring sensors.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping ACPI event daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Daily apt download activities.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Daily apt upgrade and clean activities.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Discard unused blocks once a week.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Timers.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Light Display Manager...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Samba SMB Daemon...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped flatpak session helper.
May 01 21:42:25 mike-linuxmint systemd[1734]: flatpak-session-helper.service: Failed with result 'exit-code'.
May 01 21:42:25 mike-linuxmint systemd[1734]: flatpak-session-helper.service: Main process exited, code=exited, status=1/FAILURE
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped D-Bus User Message Bus.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service - Apple File Conduit monitor.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped sandboxed app permission store.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Availability of block devices...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Portal service (GTK+/GNOME implementation).
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping PackageKit Daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping LSB: VirtualBox Linux kernel module...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping System Logging Service...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Snap Daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Wait until snapd is fully seeded.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Disk Manager...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem metadata service.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Modem Manager...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Login Prompts.
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: avahi-daemon 0.7 exiting.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping PostgreSQL Cluster 10-main...
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped Virtual filesystem service - digital camera monitor.
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped PostgreSQL RDBMS.
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: Leaving mDNS multicast group on interface eno1.IPv4 with address 192.168.1.103.
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service...
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: Leaving mDNS multicast group on interface eno1.IPv6 with address 2600:1700:d581:5730:42b0:34ff:fe3e:d8
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Bluetooth OBEX service...
May 01 21:42:25 mike-linuxmint blkdeactivate[30884]: Deactivating block devices:
May 01 21:42:25 mike-linuxmint avahi-daemon[26435]: Got SIGTERM, quitting.
May 01 21:42:25 mike-linuxmint snapd[1092]: main.go:155: Exiting on terminated signal.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping LSB: disk temperature monitoring daemon...
May 01 21:42:25 mike-linuxmint lightdm[1484]: pam_unix(lightdm:session): session closed for user mike
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Portal service...
May 01 21:42:25 mike-linuxmint obexd[2285]: Terminating
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping D-Bus User Message Bus...
May 01 21:42:25 mike-linuxmint org.gtk.vfs.Daemon[4284]: A connection to the bus can't be made
May 01 21:42:25 mike-linuxmint ntfs-3g[2888]: Unmounting /dev/sdd2 (mapbu)
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
May 01 21:42:25 mike-linuxmint smartd[1081]: smartd is exiting (exit status 0)
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Portal service (GTK+/GNOME implementation)...
May 01 21:42:25 mike-linuxmint ModemManager[1107]: <info>  Caught signal, shutting down...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem metadata service...
May 01 21:42:25 mike-linuxmint smartd[1081]: Device: /dev/sdd [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD40EFRX_68N32N0-WD_WCC7K4FZ50PX.a
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopped target Default.
May 01 21:42:25 mike-linuxmint smartd[1081]: Device: /dev/sdc [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD121KRYZ_01W0RB0-8CJMNGJE.ata.sta
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service - disk device monitor...
May 01 21:42:25 mike-linuxmint smartd[1081]: Device: /dev/sdb [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD80EFAX_68LHPN0-7SHG3G3C.ata.stat
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
May 01 21:42:25 mike-linuxmint smartd[1081]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.SanDisk_SDSSDH3_512G-192432800647.ata.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Make remote CUPS printers available locally...
May 01 21:42:25 mike-linuxmint smartd[1081]: smartd received signal 15: Terminated
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service - Apple File Conduit monitor...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping sandboxed app permission store...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping MySQL Community Server...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping flatpak session helper...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping irqbalance daemon...
May 01 21:42:25 mike-linuxmint systemd[1734]: Stopping Virtual filesystem service - digital camera monitor...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Postfix Mail Transport Agent (instance -)...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Postfix Mail Transport Agent.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Self Monitoring and Reporting Technology (SMART) Daemon...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Dispatcher daemon for systemd-networkd...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Multi-User System.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Graphical Interface.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped Stop ureadahead data collection 45s after completed startup.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping User Manager for UID 1000...
May 01 21:42:25 mike-linuxmint systemd[1]: Removed slice system-systemd\x2dcoredump.slice.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Save/Restore Sound Card State...
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping Session c2 of user mike.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopped target Sound Card.
May 01 21:42:25 mike-linuxmint systemd[1]: Stopping RealtimeKit Scheduling Policy Service...
May 01 21:42:25 mike-linuxmint systemd-logind[1085]: System is powering down.
May 01 21:42:25 mike-linuxmint cinnamon-session[1755]: WARNING: t+82546.14504s: Attempting to shutdown using systemd...
May 01 21:42:25 mike-linuxmint cinnamon-session[1755]: WARNING: t+82546.14487s: Requesting system shutdown...
May 01 21:42:24 mike-linuxmint cinnamon-session[1755]: WARNING: t+82545.19286s: Resuming logout sequence...
May 01 21:42:24 mike-linuxmint cinnamon-session[1755]: WARNING: t+82545.19280s: Finished playing logout sound
May 01 21:42:24 mike-linuxmint cinnamon-session[1755]: WARNING: t+82545.10109s: Playing logout sound '/usr/share/mint-artwork/sounds/logout.ogg'
May 01 21:42:24 mike-linuxmint polkitd(authority=local)[1164]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.63, object path /
May 01 21:40:38 mike-linuxmint kernel: NVRM: API mismatch: the client has the version 450.119.03, but
                                       NVRM: this kernel module has the version 450.102.04.  Please
                                       NVRM: make sure that this kernel module and all NVIDIA driver
                                       NVRM: components have the same version.
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

Thank you for that, I'm digesting. Your dmesg report does not go back to the start of suspend, the first sign of a suspend is "PM: suspend entry ..."


I tried an S2idle suspend:

Code: Select all

# echo s2idle > /sys/power/mem_sleep
This also woke itself up but after 5 seconds. I say woke but I have no evidence it slept, the power meter showed double the power during the process, definitely no lull. From dmesg:

Code: Select all

[Tue May  4 14:29:58 2021] PM: suspend entry (s2idle)
[Tue May  4 14:29:58 2021] Filesystems sync: 0.001 seconds
[Tue May  4 14:29:58 2021] Freezing user space processes ... (elapsed 0.003 seconds) done.
[Tue May  4 14:29:58 2021] OOM killer disabled.
[Tue May  4 14:29:58 2021] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[Tue May  4 14:29:58 2021] printk: Suspending console(s) (use no_console_suspend to debug)
[Tue May  4 14:29:58 2021] PM: suspend debug: Waiting for 5 second(s).
[Tue May  4 14:30:03 2021] nvme nvme0: 4/0/0 default/read/poll queues
[Tue May  4 14:30:04 2021] OOM killer enabled.
[Tue May  4 14:30:04 2021] Restarting tasks ... 
[Tue May  4 14:30:04 2021] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[Tue May  4 14:30:04 2021] done.
[Tue May  4 14:30:04 2021] thermal thermal_zone4: failed to read out thermal zone (-61)
[Tue May  4 14:30:04 2021] PM: suspend exit
What does the "PM: suspend debug: Waiting for 5 second(s)" mean?
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: no suspend to RAM

Post by mikeflan »

I don't know the answer to your question.

See if this is enough. I have more if needed:

Code: Select all

[Mon May  3 02:38:37 2021] PM: suspend entry (deep)
[Mon May  3 02:38:37 2021] Filesystems sync: 0.011 seconds
[Mon May  3 02:38:37 2021] Freezing user space processes ... (elapsed 0.002 seconds) done.
[Mon May  3 02:38:37 2021] OOM killer disabled.
[Mon May  3 02:38:37 2021] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[Mon May  3 02:38:37 2021] printk: Suspending console(s) (use no_console_suspend to debug)
[Mon May  3 02:38:37 2021] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[Mon May  3 02:38:37 2021] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[Mon May  3 02:38:37 2021] sd 2:0:0:0: [sdc] Stopping disk
[Mon May  3 02:38:37 2021] sd 0:0:0:0: [sda] Stopping disk
[Mon May  3 02:38:37 2021] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
[Mon May  3 02:38:37 2021] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[Mon May  3 02:38:37 2021] sd 3:0:0:0: [sdd] Stopping disk
[Mon May  3 02:38:37 2021] sd 1:0:0:0: [sdb] Stopping disk
[Mon May  3 02:38:37 2021] e1000e: EEE TX LPI TIMER: 00000011
[Mon May  3 02:38:40 2021] snd_hdac_bus_update_rirb: 69 callbacks suppressed
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000020:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000032:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000037:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000062:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000020:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000043:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000075:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000072:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000076:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:40 2021] snd_hda_intel 0000:02:00.1: spurious response 0x80000065:0x0, last cmd=0x4f2f01
[Mon May  3 02:38:41 2021] ACPI: Preparing to enter system sleep state S3
[Mon May  3 02:38:41 2021] PM: Saving platform NVS memory
[Mon May  3 02:38:41 2021] Disabling non-boot CPUs ...
[Mon May  3 02:38:41 2021] smpboot: CPU 1 is now offline
[Mon May  3 02:38:41 2021] smpboot: CPU 2 is now offline
[Mon May  3 02:38:41 2021] smpboot: CPU 3 is now offline
[Mon May  3 02:38:41 2021] IRQ 35: no longer affine to CPU4
[Mon May  3 02:38:41 2021] smpboot: CPU 4 is now offline
[Mon May  3 02:38:41 2021] IRQ 40: no longer affine to CPU5
[Mon May  3 02:38:41 2021] smpboot: CPU 5 is now offline
[Mon May  3 02:38:41 2021] IRQ 18: no longer affine to CPU6
[Mon May  3 02:38:41 2021] IRQ 32: no longer affine to CPU6
[Mon May  3 02:38:41 2021] IRQ 33: no longer affine to CPU6
[Mon May  3 02:38:41 2021] smpboot: CPU 6 is now offline
[Mon May  3 02:38:41 2021] IRQ 25: no longer affine to CPU7
[Mon May  3 02:38:41 2021] IRQ 26: no longer affine to CPU7
[Mon May  3 02:38:41 2021] IRQ 27: no longer affine to CPU7
[Mon May  3 02:38:41 2021] smpboot: CPU 7 is now offline
[Mon May  3 02:38:41 2021] ACPI: Low-level resume complete
[Mon May  3 02:38:41 2021] PM: Restoring platform NVS memory
[Mon May  3 02:38:41 2021] Enabling non-boot CPUs ...
[Mon May  3 02:38:41 2021] x86: Booting SMP configuration:
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 1 APIC 0x2
[Mon May  3 02:38:41 2021] CPU1 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 2 APIC 0x4
[Mon May  3 02:38:41 2021] CPU2 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 3 APIC 0x6
[Mon May  3 02:38:41 2021] CPU3 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 4 APIC 0x1
[Mon May  3 02:38:41 2021] CPU4 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 5 APIC 0x3
[Mon May  3 02:38:41 2021] CPU5 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 6 APIC 0x5
[Mon May  3 02:38:41 2021] CPU6 is up
[Mon May  3 02:38:41 2021] smpboot: Booting Node 0 Processor 7 APIC 0x7
[Mon May  3 02:38:41 2021] CPU7 is up
[Mon May  3 02:38:41 2021] ACPI: Waking up from system sleep state S3
[Mon May  3 02:38:41 2021] pci 0000:00:05.0: disabled boot interrupts on device [8086:6f28]
[Mon May  3 02:38:41 2021] usb usb2: root hub lost power or was reset
[Mon May  3 02:38:41 2021] usb usb3: root hub lost power or was reset
[Mon May  3 02:38:41 2021] usb usb4: root hub lost power or was reset
[Mon May  3 02:38:41 2021] usb usb1: root hub lost power or was reset
[Mon May  3 02:38:41 2021] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[Mon May  3 02:38:41 2021] sd 0:0:0:0: [sda] Starting disk
[Mon May  3 02:38:41 2021] sd 1:0:0:0: [sdb] Starting disk
[Mon May  3 02:38:41 2021] sd 2:0:0:0: [sdc] Starting disk
[Mon May  3 02:38:41 2021] sd 3:0:0:0: [sdd] Starting disk
[Mon May  3 02:38:41 2021] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[Mon May  3 02:38:41 2021] tpm tpm0: TPM is disabled/deactivated (0x7)
[Mon May  3 02:38:41 2021] usb 4-4: Disable of device-initiated U1 failed.
[Mon May  3 02:38:41 2021] usb 4-4: Disable of device-initiated U2 failed.
[Mon May  3 02:38:41 2021] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[Mon May  3 02:38:41 2021] ata6: SATA link down (SStatus 0 SControl 300)
[Mon May  3 02:38:41 2021] ata5.00: configured for UDMA/100
[Mon May  3 02:38:41 2021] usb 4-4: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[Mon May  3 02:38:41 2021] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:41 2021] ata1.00: configured for UDMA/133
[Mon May  3 02:38:41 2021] usb 1-1: reset high-speed USB device number 2 using ehci-pci
[Mon May  3 02:38:41 2021] usb 2-1: reset high-speed USB device number 2 using ehci-pci
[Mon May  3 02:38:41 2021] usb 3-6: reset low-speed USB device number 3 using xhci_hcd
[Mon May  3 02:38:41 2021] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 10
[Mon May  3 02:38:42 2021] usb 3-4: reset high-speed USB device number 2 using xhci_hcd
[Mon May  3 02:38:42 2021] usb 3-12: reset low-speed USB device number 4 using xhci_hcd
[Mon May  3 02:38:43 2021] usb 3-13: reset high-speed USB device number 5 using xhci_hcd
[Mon May  3 02:38:45 2021] OOM killer enabled.
[Mon May  3 02:38:45 2021] Restarting tasks ... 
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] pci 0000:06:00.0: PCI bridge to [bus 07]
[Mon May  3 02:38:45 2021] done.
[Mon May  3 02:38:45 2021] PM: suspend exit
[Mon May  3 02:38:45 2021] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 64
[Mon May  3 02:38:46 2021] ata4: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:46 2021] ata2: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:46 2021] ata3: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:49 2021] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:49 2021] ata4.00: configured for UDMA/133
[Mon May  3 02:38:51 2021] ata2: COMRESET failed (errno=-16)
[Mon May  3 02:38:51 2021] ata3: COMRESET failed (errno=-16)
[Mon May  3 02:38:56 2021] ata2: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:56 2021] ata3: link is slow to respond, please be patient (ready=0)
[Mon May  3 02:38:57 2021] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:57 2021] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[Mon May  3 02:38:58 2021] ata3.00: configured for UDMA/133
[Mon May  3 02:38:59 2021] ata2.00: configured for UDMA/133
[Mon May  3 02:38:59 2021] e1000e: eno1 NIC Link is Down
[Mon May  3 02:39:03 2021] e1000e: eno1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[Mon May  3 02:39:03 2021] e1000e 0000:00:19.0 eno1: 10/100 speed: disabling TSO
[Mon May  3 02:39:03 2021] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.735:1696): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/nvidia/nvidia-application-profiles-450.119.03-rc" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.771:1697): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/8192/comm" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.819:1698): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=8192 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.819:1699): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=8192 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.823:1700): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.823:1701): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/devices" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.823:1702): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/driver/nvidia/params" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.827:1703): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/dev/nvidiactl" pid=8192 comm="soffice.bin" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.827:1704): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/devices/system/memory/block_size_bytes" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 04:29:29 2021] audit: type=1400 audit(1620133913.827:1705): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=8192 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:32:16 2021] kauditd_printk_skb: 45 callbacks suppressed
[Mon May  3 08:32:16 2021] audit: type=1400 audit(1620148481.196:1751): apparmor="ALLOWED" operation="unlink" profile="libreoffice-soffice" name="/run/user/1000/at-spi2-6IS220/socket" pid=8191 comm="soffice.bin" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
[Mon May  3 08:32:16 2021] audit: type=1400 audit(1620148481.196:1752): apparmor="ALLOWED" operation="rmdir" profile="libreoffice-soffice" name="/run/user/1000/at-spi2-6IS220/" pid=8191 comm="soffice.bin" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.325:1753): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/nvidia/nvidia-application-profiles-450.119.03-rc" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.325:1754): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/22167/comm" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.337:1755): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=22167 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1756): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=22167 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1757): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1758): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/devices" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1759): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/driver/nvidia/params" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1760): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/dev/nvidiactl" pid=22167 comm="soffice.bin" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1761): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/devices/system/memory/block_size_bytes" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 08:50:51 2021] audit: type=1400 audit(1620149596.341:1762): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=22167 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:04:06 2021] kauditd_printk_skb: 45 callbacks suppressed
[Mon May  3 12:04:06 2021] audit: type=1400 audit(1620161191.415:1808): apparmor="ALLOWED" operation="unlink" profile="libreoffice-soffice" name="/run/user/1000/at-spi2-W1C520/socket" pid=22166 comm="soffice.bin" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
[Mon May  3 12:04:06 2021] audit: type=1400 audit(1620161191.415:1809): apparmor="ALLOWED" operation="rmdir" profile="libreoffice-soffice" name="/run/user/1000/at-spi2-W1C520/" pid=22166 comm="soffice.bin" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.168:1810): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/nvidia/nvidia-application-profiles-450.119.03-rc" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.168:1811): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/29374/comm" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.204:1812): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=29374 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.204:1813): apparmor="ALLOWED" operation="sendmsg" profile="libreoffice-soffice" pid=29374 comm="soffice.bin" family="unix" sock_type="dgram" protocol=0 requested_mask="send" denied_mask="send" addr=none peer_addr="@7661722F72756E2F6E76696469612D786472697665722D35636663383031330000000000000000000000000000000000000000000000000000000000000000" peer="unconfined"
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1814): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1815): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/devices" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1816): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/driver/nvidia/params" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1817): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/dev/nvidiactl" pid=29374 comm="soffice.bin" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1818): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/devices/system/memory/block_size_bytes" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[Mon May  3 12:07:41 2021] audit: type=1400 audit(1620161406.208:1819): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/modules" pid=29374 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

Thank you very much for your log. I have these extra lines but I do not know what they mean or if it matters.

Code: Select all

...
[524269.439375] ACPI: EC: interrupt blocked
...
[524269.560619] ACPI: EC: event blocked
[524269.560620] ACPI: EC: EC stopped
...
The time is the same on either side of the suspend so the system clock does not know the machine has been asleep until after wake up, that makes looking for a break in time impossible. Otherwise I see nothing in the log that suggests a problem.
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: no suspend to RAM

Post by mikeflan »

Sure wish I could help you.
The machine will hibernate (enabled) to disc.
So you can hibernate, but not suspend. I only select suspend on this desktop. Suspend worked right away and I have kept at it.

Hibernate is a deeper sleep if I remember right. But it still wakes up fast for you??
Maybe someday I will try hibernate on this desktop, but not tonight. I have a lot of stuff running on 3 workspaces and don't want to rock the boat. My uptime right now is only 3.5 days. I often to 2 weeks or more with just suspend about 2-3 times per day.
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

mikeflan wrote: Wed May 05, 2021 8:16 pm Sure wish I could help you.
I have solved this! I will write an explanation when I have more time. It was a result of a lead you gave me so although only in a small way you did help. Thank you for taking an interest.

mikeflan wrote: Wed May 05, 2021 8:16 pm So you can hibernate, but not suspend. I only select suspend on this desktop. Suspend worked right away and I have kept at it.
Suspend to RAM uses a small amount of power to keep the RAM active. Saving to HDD does not so lasts longer on a laptop. Some old desktop power supplies use significant power when the computer is "off". With hibernate one can boot to an alternative OS (if multi boot) and then resume back to Mint,
mikeflan wrote: Wed May 05, 2021 8:16 pm Hibernate is a deeper sleep if I remember right. But it still wakes up fast for you??
Maybe someday I will try hibernate on this desktop, but not tonight. I have a lot of stuff running on 3 workspaces and don't want to rock the boat. My uptime right now is only 3.5 days. I often to 2 weeks or more with just suspend about 2-3 times per day.
Wake-up from hibernate takes as long as a full boot but I don't have to retype my ssh pass phrase and everything is where it was left so slight saving of my time over a full boot. Saving to disc will wear an SSD (and HDD) but work it out and it might only mean a life of 50 years not 100. If you have working suspend to RAM don't worry unless you want go away and unplug at the mains or hop between OSes. Hibernate needs enabling as it is problematic [Search for instructions]. Coming from a Solaris background I am used to uptimes in years.
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

The solution is file /proc/acpi/wakeup. As installed mine has two lines with "enabled":

Code: Select all

$ grep enabled /proc/acpi/wakeup
XHCI	  S4	*enabled   pci:0000:00:14.0
RP05	  S4	*enabled   pci:0000:00:1c.0
XHCI corresponds to USB. RP05 I don't know, well it is the "PCI bridge: Intel Corporation Device 4dbc (rev 01)" but that does not tell me. Flipping the state of these allows the machine to suspend. USB enabled wakes the machine when the mouse is moved. RP05 enabled appears to wake it instantly such that it not to sleep.

To flip an enabled/disabled state echo a first column word into the pseudo file:

Code: Select all

# echo XHCI > /proc/acpi/wakeup
# echo RP05 > /proc/acpi/wakeup
These values do not persist when powered off so to make active on boot write a service:

Code: Select all

# cat > /etc/systemd/system/disable.wakeup.service << EOF
[Unit]
Description=Disable devices as wakeup

[Service]
ExecStart=/bin/sh -c "echo XHCI > /proc/acpi/wakeup; echo RP05 > /proc/acpi/wakeup"
Type=oneshot

[Install]
WantedBy=multi-user.target
EOF
# systemctl enable disable.wakeup.service
This is a specific fix for the one machine so I use explicit values, for a generic solution set ExecStart:

Code: Select all

ExecStart=/bin/sh -c "awk '/enabled/{print $1}' /proc/acpi/wakeup | xargs -n 1 echo >> /proc/acpi/wakeup"
I can not find documentation on /proc/acpi/wakeup [I did not say it does not exist...]. I now have the odd situation where no device is listed in wakeup so why does the machine wake up at all? It does when the lid is opened, there must be more to wake-up than /proc/acpi/wakeup. Column 2 lists the S-state from which it wakes, S4 in my case all the way, but as the machine is powered off the devices can not wake it from S4, why is S4 listed? This is why I could hibernate with the same settings?

I am left puzzled as to how this is supposed to work. /proc/acpi/wakeup fails the "mother of all tests", that is I can not imagine my mother spending the three weeks [off and on] I have to find this solution. Has my machine guessed wrongly because it is newer that the OS?
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: no suspend to RAM

Post by mikeflan »

Thanks for posting all that. We sure haven't wrestled this one all the way to the ground.
On my LM 19.3 I see this:

Code: Select all

$xed /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
PWRB	  S4	*enabled   platform:PNP0C0C:00
BR1A	  S4	*enabled   pci:0000:00:01.0
BR1B	  S4	*disabled
BR2A	  S4	*enabled   pci:0000:00:02.0
BR3A	  S4	*enabled   pci:0000:00:03.0
XHCI	  S3	*enabled   pci:0000:00:14.0
GBEM	  S4	*enabled   pci:0000:00:19.0
EHC2	  S3	*enabled   pci:0000:00:1a.0
RP01	  S4	*enabled   pci:0000:00:1c.0
RP02	  S4	*enabled   pci:0000:00:1c.1
RP03	  S4	*disabled
RP04	  S4	*enabled   pci:0000:00:1c.3
RP05	  S4	*enabled   pci:0000:00:1c.4
RP06	  S4	*disabled
RP07	  S4	*disabled
RP08	  S4	*disabled
EHC1	  S3	*enabled   pci:0000:00:1d.0
PS2M	  S3	*disabled  pnp:00:02
PS2K	  S3	*enabled   pnp:00:03
QRP0	  S4	*disabled
QR1A	  S4	*disabled
QR1B	  S4	*disabled
QR2A	  S4	*disabled
QR3A	  S4	*disabled
QR3C	  S4	*disabled
After I suspend moving the mouse does not wake it. Pushing any key does wake it. Pushing the start/stop buttom wakes it also.
Aexoh5oo
Level 1
Level 1
Posts: 14
Joined: Tue Jun 12, 2018 6:14 am

Re: no suspend to RAM

Post by Aexoh5oo »

Pressing any key also wakes my machine, I failed to notice because the lid was closed.
You have RP05 enabled which was the problem for me, plus many others enabled.

It is working for me but I can't say it is solved in general as I don't understand what triggers wake up. Asking the question knowing the answer finds similar problems but /proc/acpi/wakeup is arcane and writing services is not user friendly in these GUI driven times.
Locked

Return to “Hardware Support”