Cannot suspend to RAM or hibernate

Hello,

since the last update, I cannot supend my machine to RAM via systemctl suspend. The screen turns black shortly and lock screen is presented directly.
Errors messages:

|05.10.2023 20:37:27:222|systemd-sleep|Not an EFI boot, passing HibernateLocation via EFI variable is not possible.|
|---|---|---|
|05.10.2023 20:37:27:223|systemd-sleep|No valid 'resume=' option found, refusing to hibernate.|
|05.10.2023 20:37:27:225|systemd|systemd-suspend.service: Failed with result 'exit-code'.|
|05.10.2023 20:37:27:242|systemd|Failed to start System Suspend.|
|05.10.2023 20:37:27:244|systemd|Dependency failed for Suspend.|

I have a LUKS partition with Manjaro (6.1 LTS Kernel), a Windows partition and a swap file. I cannot remember have to add a resume= option before. echo mem> /sys/power/state still works.

Where do I have to add the resume option and does it need to be pointed at /swapfile?

System info
System:
  Kernel: 6.1.55-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=a356a729-fb17-abcde rw quiet
    cryptdevice=UUID=de981536-abcde:luks-de981536-abcde
    root=/dev/mapper/luks-de981536-abcde apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20BE00B2GE v: ThinkPad T540p
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20BE00B2GE v: 0B98417 WIN serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: GMET90WW (2.38 ) date: 04/13/2020
Battery:
  ID-1: BAT0 charge: 42.9 Wh (100.0%) condition: 42.9/56.2 Wh (76.4%)
    volts: 12.3 min: 10.8 model: SANYO 45N1769 type: Li-ion serial: <filter>
    status: full
Memory:
  System RAM: total: 16 GiB note: est. available: 15.34 GiB
    used: 3.51 GiB (22.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-4210M bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 2593 high: 2594 min/max: 800/3200 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2594 2: 2593 3: 2594
    4: 2594 bogomips: 20760
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
    rdtscp rep_good sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid xsave xsaveopt xtopology xtpr
  
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
    driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports:
    active: DP-3,DP-4 off: eDP-1 empty: DP-1, DP-2, DP-5, HDMI-A-1, HDMI-A-2,
    VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 2-12:6 chip-ID: 04f2:b39a
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1200 s-dpi: 96 s-size: 1014x317mm (39.92x12.48")
    s-diag: 1062mm (41.83")
  Monitor-1: not-matched mapped: DP-2-1 pos: primary,right res: 1920x1200
    hz: 60 dpi: 94 size: 518x324mm (20.39x12.76") diag: 611mm (24.05") modes: N/A
  Monitor-2: not-matched mapped: DP-2-2 pos: left res: 1920x1200 hz: 60
    dpi: 94 size: 518x324mm (20.39x12.76") diag: 611mm (24.05") modes: N/A
  Monitor-3: eDP-1 note: disabled model: LG Display 0x038e built: 2013
    res: 1920x1200 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
    device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus x11:
    drv: crocus inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.1.8-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    device-ID: 8086:0416 memory: 1.46 GiB unified: yes
  API: Vulkan v: 1.3.264 layers: N/A device: 0 type: integrated-gpu
    name: Intel HD Graphics 4600 (HSW GT2) driver: mesa intel
    v: 23.1.8-manjaro1.1 device-ID: 8086:0416 surfaces: xcb,xlib
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 8
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  API: ALSA v: k6.1.55-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.80 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin 4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: kernel
    port: 4080 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:08b2 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
  Device-1: luks-de981536-abcde maj-min: 254:0
    type: LUKS dm: dm-0 size: 201.62 GiB
  Components:
  p-1: sda2 maj-min: 8:2 size: 201.63 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 232.89 GiB used: 161.17 GiB (69.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 4B6Q scheme: MBR
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GU90N rev: LU20
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 201.62 GiB size: 197.4 GiB (97.91%)
    used: 161.17 GiB (81.6%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-de981536-abcde label: N/A
    uuid: a356a729-fb17-480d-bd1c-733ac57dca75
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: file size: 16 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 31.16 GiB fs: ntfs label: Windows
    uuid: 9474E3C674E3A966
  ID-2: /dev/sda3 maj-min: 8:3 size: 100 MiB fs: ntfs
    label: System-reserviert uuid: 4C14DFA714DF91F6
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-3: 2-0:1 info: hi-speed hub with single TT ports: 15 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 2-7:2 info: Validity Sensors VFS 5011 fingerprint sensor
    type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 138a:0017 class-ID: ff00 serial: <filter>
  Hub-4: 2-9:3 info: Lenovo ThinkPad Ultra Dock Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 17ef:1010
    class-ID: 0900
  Hub-5: 2-9.2:5 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Hub-6: 2-9.3:7 info: Texas Instruments TUSB8041 4-Port Hub ports: 4
    rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0451:8142
    class-ID: 0900
  Device-1: 2-9.3.3:9 info: CHERRY Strait 3.0 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 046a:0180 class-ID: 0300
  Hub-7: 2-9.3.4:10 info: Texas Instruments TUSB8041 4-Port Hub ports: 4
    rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0451:8142
    class-ID: 0900
  Hub-8: 2-9.3.4.1:11 info: ST-Ericsson Hub ports: 5 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA chip-ID: 04cc:1122
    class-ID: 0900
  Device-1: 2-9.3.4.1.5:12 info: MosArt Speedlink Nobela Deskset
    type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 062a:9010 class-ID: 0301
  Hub-9: 2-9.4:8 info: Lenovo ThinkPad Ultra Dock Hub ports: 3 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 2mA chip-ID: 17ef:100f
    class-ID: 0900
  Device-1: 2-12:6 info: Chicony Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 04f2:b39a class-ID: 0e02
  Hub-10: 3-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-11: 3-5:2 info: Lenovo ThinkPad Ultra Dock Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 17ef:1010
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2077
Info:
  Processes: 235 Uptime: 18m wakeups: 2 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 2524
  pm: pacman pkgs: 2509 libs: 500 tools: pamac pm: appimage pkgs: 0 pm: flatpak
  pkgs: 9 pm: snap pkgs: 6 Shell: fish v: 3.6.1 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.30

You may have set your firmware to boo the machine in a different mode - Bios or legacy or whatever it is called in your firmware settings.

and

speaks to this as well (IMO).

There has to be such an option in the Grub config.
Without it, hibernation doesn’t work.

What I would immediately try is:
booting a different kernel - to see, whether not only the new and likely updated one causes this. …

1 Like

Thanks for your suggestions. :slight_smile:

Kernel 5.15 LTS also did not help.
I was already in Legacy BIOS Mode, in UEFI Only Mode it did not boot.
Adding resume=UUID= to GRUB_CMDLINE_LINUX_DEFAULT= in grub config also did not help.

Suspend to RAM is more important to me. For that, resume= should not play a role at all or am I wrong?

No, you are not.
This should work in any case without special setup.
It should.

… we have no system info to go on - please provide it if you want support

1 Like

Welcome to the forum.

These links may prove beneficial in the meantime Power Management (ArchWiki), How to Find System Information and How to Request Support. Cheers.

1 Like

Thx for the hints @Nachlese and @soundofthunder.
I added sysinfo in the initial post.
I already read through the Arch Wiki regarding Power Management, but I wasn’t smart enough to come up with a solution.

For reference:- Placing your system information between three backticks – before and after – like this:

```
Pasted command output here.
```
… would produce:

Pasted command output here.

While I acknowledge the attempt to minimize the flow, this markdown effectively translates to a scrollable container similar to html’s <pre> for preformatted text, which enhances readability.

Hopefully, someone can help soon with the actual issue. Cheers.

1 Like