Does btrfs support swap partition?

I can only find specific instructions on how to use a swapfile for btrfs, not swap drive. And can’t seem to find anywhere it is stated that a swap drive is not supported on btrfs.

My hybernation does not work, starting to look into this and since I have a swapdrive setup, I want to use that if I can.

If not, I will remove it and follow this tutorial

Using a Swap Partition is pretty straight forward and has nothing to do with the file system of the Root Partition, only if you use a swap file.

Swap - ArchWiki
Power management/Suspend and hibernate - ArchWiki

3 Likes

Yepp, done that. So it should just work without the subvol thing in fstab if I use a partition?
Then I guess there is something wrong.

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="nvidia_drm.modeset=1 quiet splash resume=UUID=5ae8fbf5-a704-41ea-be6d-bf26b38325ed udev.log_priority=3" in

/etc/mkinitcpio.conf
HOOKS="base udev autodetect modconf block keyboard keymap consolefont plymouth filesystems resume"

/etc/fstab

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=AC73-C072                            /boot/efi      vfat    umask=0077 0 2
UUID=700d034d-b99a-482b-880b-9060acf3a6b3 /              btrfs   subvol=/@,defaults,discard=async,ssd 0 0
UUID=700d034d-b99a-482b-880b-9060acf3a6b3 /var/cache     btrfs   subvol=/@cache,defaults,discard=async,ssd 0 0
UUID=700d034d-b99a-482b-880b-9060acf3a6b3 /var/log       btrfs   subvol=/@log,defaults,discard=async,ssd 0 0
UUID=2a875645-5701-4450-bd08-adf1f966a07c /home          btrfs   defaults,discard=async,ssd 0 0
UUID=5ae8fbf5-a704-41ea-be6d-bf26b38325ed none           swap    defaults 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
swapon                                                                                                                                                                                               ✔ 
NAME      TYPE      SIZE USED PRIO
/dev/sda6 partition  38G   0B   -2

I get grub menu when waking up, or sometimes it goes directly to login for a new session…

Configuration is okay. Nothing unusual. mkinitcpio -P and update-grub was run?

Investigate the journal:

journalctl --boot -1 | sed -n -r "/Starting.+Hibernate/,/Finished.+Hibernate/p"

Totally normal if the menu is not hidden.

Explain that. It should load the state from the swap and the session should be recovered.

journalctl --boot -1 | sed -n -r "/Starting.+Hibernate/,/Finished.+Hibernate/p"
Jun 27 15:55:39 bednaManjaro systemd[1]: Starting Hibernate...
Jun 27 15:55:39 bednaManjaro systemd-sleep[14552]: Entering sleep state 'hibernate'...
Jun 27 15:55:39 bednaManjaro kernel: PM: hibernation: hibernation entry

Nothing in boot 0.

That seems strange, so choosing Manjaro 6.1 in grub means it will continue from hibernation?

Ummm, I can’t, that’s kinda why I post this question. xD

Edit
The above boot -1 was me pressing “hibernate” in KDE plasma.
And this is from the boot where it actually went into hibernation from being inactive for +40mins:

journalctl --boot -2 | sed -n -r "/Starting.+Hibernate/,/Finished.+Hibernate/p"
Jun 27 14:56:00 bednaManjaro systemd[1]: Starting Hibernate...
Jun 27 14:56:00 bednaManjaro systemd-sleep[8186]: Entering sleep state 'hibernate'...
Jun 27 14:56:00 bednaManjaro kernel: PM: hibernation: hibernation entry

Exactly the same

Looks like it stucks in the middle. :thinking:

Just to be sure:

file -L /dev/disk/by-uuid/5ae8fbf5-a704-41ea-be6d-bf26b38325ed
cat /sys/power/resume 
file -L /dev/disk/by-uuid/5ae8fbf5-a704-41ea-be6d-bf26b38325ed
/dev/disk/by-uuid/5ae8fbf5-a704-41ea-be6d-bf26b38325ed: block special (8/6)
cat /sys/power/resume
8:6

Edit
The swap partition is at /dev/sda6

Okay, well then there must be a problem with ACPI or some quirk with your device, because the configuration is correct.

Is Hibernation enabled on the Firmware (UEFI Settings)?

Probably, it needs a specific ACPI OSI?

Anyway, it seems to me that Linux is trying to hibernate, but the firmware is blocking.

Yeeeeah, I have Gigabyte AND Nvidia, fk me I guess.
I used to have the lm_sensors settings, but opted to let the MB control my fans instead.

Ok, I prob wont solve that by myself so I’ll go for your tutorial and hope that works instead because as of now, I have 38GB sitting NEVER being used, might as well integrate that into my /.

But since you made that tutorial I might as well ask before starting.
Should I remove my swap partition before or after the creation of the new swapfile?

Edit
Don’t worry about “this might destroy your os” or anything, I have, and will take one more backup of the entire drive in filezilla as a worst case scenario fallback.

Erm… why? If you need just swap, then go for systemd-swap, which dynamically addresses swap space as needed. (But doesn’t work with hibernation)

It won’t make any difference with my tutorial. Really :wink:

Well, no, my swap is not really “needed”, only for himernation, otherwise I would just do it like you describe.
But what triggered this was when the hibernation happened in the +40min case, I actually lost some work I had done. So hibernation is the goal here.

Are yo saying changing it into a file would produce the same result as now? Ie hibernation not working?

I mean I can disable hibernation, but I’d rather not since this feature exists.

Correct. There will be no difference. The only difference will be: you use a file instead of a partition.

Please read again what I wrote. I said, it is firmware related and needs adjustment, because some systems don’t follow exactly the specifications, for example. Anyway, I don’t even know what system you have, so sorry.

1 Like

Always save your work, it’s the first thing they teach you on any IT course.

edit, save, edit, save etc

Hint taken… xD

System:
  Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
    root=UUID=700d034d-b99a-482b-880b-9060acf3a6b3 rw rootflags=subvol=@
    nvidia_drm.modeset=1 quiet splash
    resume=UUID=5ae8fbf5-a704-41ea-be6d-bf26b38325ed udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: X670 AORUS ELITE AX v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: X670 AORUS ELITE AX v: x.x
    serial: <superuser required> UEFI: American Megatrends LLC. v: F9b
    date: 06/01/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: available: 31.09 GiB used: 3.14 GiB (10.1%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4 gen: 5
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB desc: 12x1024 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3325 high: 5437 min/max: 3000/5733 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3000 2: 3000
    3: 4700 4: 3000 5: 3000 6: 3000 7: 4700 8: 2710 9: 2735 10: 3243 11: 3000
    12: 3000 13: 3000 14: 3000 15: 4087 16: 3000 17: 3000 18: 3000 19: 5437
    20: 3000 21: 2536 22: 5223 23: 2729 24: 2713 bogomips: 225243
  Flags: 3dnowprefetch abm adx aes amd_lbr_v2 aperfmperf apic arat avic avx
    avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq
    avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flush_l1d flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt
    gfni ht hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb perfmon_v2 pfthreshold pge pku
    pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good
    sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3
    stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
    v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq
    wbnoinvd wdt x2apic x2avic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3090] vendor: eVga.com. driver: nvidia
    v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: none off: HDMI-A-1
    empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:2204 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x343mm (23.70x13.50")
    s-diag: 693mm (27.28")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Asus VX279
    serial: <filter> built: 2015 res: 1920x1080 hz: 60 dpi: 79 gamma: 1.2
    size: 621x341mm (24.45x13.43") diag: 690mm (27.2") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce RTX
    3090/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA GA102 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:1aef class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 15:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.1.31-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.70 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0e:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp14s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 0f:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp15s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:5 chip-ID: 0e8d:0616
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 4.09 TiB used: 1.47 TiB (35.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 46.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 4B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD30EFRX-68EUZN0 size: 2.73 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A80 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 122 GiB size: 122 GiB (100.00%) used: 58.78 GiB (48.2%)
    fs: btrfs dev: /dev/sda7 maj-min: 8:7 label: N/A
    uuid: 700d034d-b99a-482b-880b-9060acf3a6b3
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 608 KiB (0.1%) fs: vfat dev: /dev/sda5 maj-min: 8:5 label: N/A
    uuid: AC73-C072
  ID-3: /home raw-size: 104.53 GiB size: 104.53 GiB (100.00%)
    used: 8.88 GiB (8.5%) fs: btrfs dev: /dev/sda8 maj-min: 8:8 label: N/A
    uuid: 2a875645-5701-4450-bd08-adf1f966a07c
  ID-4: /media/fil-fitt raw-size: 2.72 TiB size: 2.72 TiB (100.00%)
    used: 1.28 TiB (47.1%) fs: ntfs dev: /dev/sdb2 maj-min: 8:18
    label: Lilla Fil-fitt disken uuid: CE8C0EC38C0EA655
  ID-5: /media/games raw-size: 250 GiB size: 245.02 GiB (98.01%)
    used: 123.78 GiB (50.5%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
    label: Games uuid: ccfef3ee-65e0-45e4-aac2-4604ad2e696d
  ID-6: /var/cache raw-size: 122 GiB size: 122 GiB (100.00%)
    used: 58.78 GiB (48.2%) fs: btrfs dev: /dev/sda7 maj-min: 8:7 label: N/A
    uuid: 700d034d-b99a-482b-880b-9060acf3a6b3
  ID-7: /var/log raw-size: 122 GiB size: 122 GiB (100.00%)
    used: 58.78 GiB (48.2%) fs: btrfs dev: /dev/sda7 maj-min: 8:7 label: N/A
    uuid: 700d034d-b99a-482b-880b-9060acf3a6b3
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 38 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda6 maj-min: 8:6 label: N/A
    uuid: 5ae8fbf5-a704-41ea-be6d-bf26b38325ed
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 480 GiB fs: ntfs label: Games
    uuid: 68A4C531A4C50294
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 201.5 GiB fs: ext4 label: backup
    uuid: 2b1e42bb-fe37-4fa1-991e-aab694b6b16f
  ID-4: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: vfat label: WIN-BOOT
    uuid: 5483-0EFB
  ID-5: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-6: /dev/sda3 maj-min: 8:3 size: 200 GiB fs: ntfs label: windows
    uuid: 6654845D5484323B
  ID-7: /dev/sda4 maj-min: 8:4 size: 633 MiB fs: ntfs label: windows-extra
    uuid: E61A49731A4941B3
  ID-8: /dev/sdb1 maj-min: 8:17 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-9: /dev/sdb3 maj-min: 8:19 size: 10 GiB fs: ext4 label: MISO
    uuid: bd6e3634-1f2f-405f-87a1-5115bda000de
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 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: 2-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 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: 3-2:2 info: Areson USB Device type: mouse,HID
    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: e0ff:0005 class-ID: 0300
  Device-2: 3-3:3 info: Microsoft Sidewinder X4 type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 045e:0768 class-ID: 0300
  Device-3: 3-6:4 info: Integrated Express RGB LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 048d:5702 class-ID: 0300
  Device-4: 3-7:5 info: MediaTek Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 8-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 9-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-10: 9-1:2 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:0608 class-ID: 0900
  Hub-11: 10-0:1 info: Linux Foundation 3.0 root hub ports: N/A 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
Sensors:
  System Temperatures: cpu: 61.8 C mobo: N/A gpu: nvidia temp: 47 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 415 Uptime: 1h 4m wakeups: 0 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
  Packages: pm: pacman pkgs: 1477 libs: 396 tools: pamac,yay pm: flatpak
  pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: yakuake
  inxi: 3.3.27

I’m not sure I understand you though.
I thought you meant I had to set something more in grub or mkinitcpio?
I read through the link you sent but it is above my knowledge, I did check what I understood though, like cpu-microcode, but most of it makes me really scared to touch since I have zero clue what I am doing, like this. :frowning:

It’s not always that easy buddy.

At least here is an example of a working hibernation:

$ journalctl --boot 0 | sed -n -r "/Starting.+Hibernate/,/Finished.+Hibernate/p" 
Jun 27 17:14:35 Elitedesk systemd[1]: Starting Hibernate...
Jun 27 17:14:35 Elitedesk systemd-sleep[3140]: Entering sleep state 'hibernate'...
Jun 27 17:14:35 Elitedesk kernel: PM: hibernation: hibernation entry
Jun 27 17:17:09 Elitedesk kernel: Filesystems sync: 1.037 seconds
Jun 27 17:17:09 Elitedesk kernel: Freezing user space processes
Jun 27 17:17:09 Elitedesk kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Jun 27 17:17:09 Elitedesk kernel: OOM killer disabled.
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0x76d1a000-0x76d1afff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0x77504000-0x77504fff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0x96176000-0x961c0fff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0xa672d000-0xa7c0efff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Marking nosave pages: [mem 0xa7c10000-0xffffffff]
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Basic memory bitmaps created
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Preallocating image memory
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Allocated 1697107 pages for snapshot
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Allocated 6788428 kbytes in 1.02 seconds (6655.32 MB/s)
Jun 27 17:17:09 Elitedesk kernel: Freezing remaining freezable tasks
Jun 27 17:17:09 Elitedesk kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jun 27 17:17:09 Elitedesk kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: interrupt blocked
Jun 27 17:17:09 Elitedesk kernel: ACPI: PM: Preparing to enter system sleep state S4
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: event blocked
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: EC stopped
Jun 27 17:17:09 Elitedesk kernel: ACPI: PM: Saving platform NVS memory
Jun 27 17:17:09 Elitedesk kernel: Disabling non-boot CPUs ...
Jun 27 17:17:09 Elitedesk kernel: smpboot: CPU 1 is now offline
Jun 27 17:17:09 Elitedesk kernel: smpboot: CPU 2 is now offline
Jun 27 17:17:09 Elitedesk kernel: smpboot: CPU 3 is now offline
Jun 27 17:17:09 Elitedesk kernel: smpboot: CPU 4 is now offline
Jun 27 17:17:09 Elitedesk kernel: smpboot: CPU 5 is now offline
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Creating image:
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Need to copy 1661664 pages
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Normal pages needed: 1661664 + 1024, available pages: 6553483
Jun 27 17:17:09 Elitedesk kernel: ACPI: PM: Restoring platform NVS memory
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: EC started
Jun 27 17:17:09 Elitedesk kernel: Enabling non-boot CPUs ...
Jun 27 17:17:09 Elitedesk kernel: x86: Booting SMP configuration:
Jun 27 17:17:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Jun 27 17:17:09 Elitedesk kernel: CPU1 is up
Jun 27 17:17:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Jun 27 17:17:09 Elitedesk kernel: CPU2 is up
Jun 27 17:17:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Jun 27 17:17:09 Elitedesk kernel: CPU3 is up
Jun 27 17:17:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Jun 27 17:17:09 Elitedesk kernel: CPU4 is up
Jun 27 17:17:09 Elitedesk kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Jun 27 17:17:09 Elitedesk kernel: CPU5 is up
Jun 27 17:17:09 Elitedesk kernel: ACPI: PM: Waking up from system sleep state S4
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: interrupt unblocked
Jun 27 17:17:09 Elitedesk kernel: ACPI: EC: event unblocked
Jun 27 17:17:09 Elitedesk kernel: usb usb1: root hub lost power or was reset
Jun 27 17:17:09 Elitedesk kernel: usb usb2: root hub lost power or was reset
Jun 27 17:17:09 Elitedesk kernel: i915 0000:00:02.0: [drm] [ENCODER:111:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
Jun 27 17:17:09 Elitedesk kernel: i915 0000:00:02.0: [drm] [ENCODER:121:DDI D/PHY D] is disabled/in DSI mode with an ungated DDI clock, gate it
Jun 27 17:17:09 Elitedesk kernel: nvme nvme0: 6/0/0 default/read/poll queues
Jun 27 17:17:09 Elitedesk kernel: nvme nvme0: Ignoring bogus Namespace Identifiers
Jun 27 17:17:09 Elitedesk kernel: usb 1-5: reset high-speed USB device number 2 using xhci_hcd
Jun 27 17:17:09 Elitedesk kernel: ata2: SATA link down (SStatus 4 SControl 300)
Jun 27 17:17:09 Elitedesk kernel: usb 1-8: reset full-speed USB device number 3 using xhci_hcd
Jun 27 17:17:09 Elitedesk kernel: usb 2-10: reset SuperSpeed USB device number 2 using xhci_hcd
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: spurious response 0x3:0x2, last cmd=0x205f0015
Jun 27 17:17:09 Elitedesk kernel: e1000e 0000:00:1f.6 eno1: NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x20570100
Jun 27 17:17:09 Elitedesk kernel: snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x20570100
Jun 27 17:17:09 Elitedesk kernel: usb 2-6: reset SuperSpeed USB device number 3 using xhci_hcd
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: Basic memory bitmaps freed
Jun 27 17:17:09 Elitedesk kernel: OOM killer enabled.
Jun 27 17:17:09 Elitedesk kernel: Restarting tasks ... 
Jun 27 17:17:09 Elitedesk kernel: usb usb2-port6: config error
Jun 27 17:17:09 Elitedesk kernel: done.
Jun 27 17:17:09 Elitedesk kernel: PM: hibernation: hibernation exit
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: The canary thread is apparently starving. Taking action.
Jun 27 17:17:09 Elitedesk appimagelauncherd[1347]: Executing deferred operations
Jun 27 17:17:09 Elitedesk appimagelauncherd[1347]: Integrating: /home/user/.zhistory
Jun 27 17:17:09 Elitedesk appimagelauncherd[1347]: ERROR: not an AppImage, skipping
Jun 27 17:17:09 Elitedesk appimagelauncherd[1347]: Cleaning up old desktop integration files
Jun 27 17:17:09 Elitedesk appimagelauncherd[1347]: Updating desktop database and icon caches
Jun 27 17:17:09 Elitedesk systemd-sleep[3140]: System returned from sleep state.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Demoting known real-time threads.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 2326 of process 1618.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 2279 of process 2261.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1933 of process 1878.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1878 of process 1878.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1721 of process 1710.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1710 of process 1710.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1723 of process 1708.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Successfully demoted thread 1708 of process 1708.
Jun 27 17:17:09 Elitedesk rtkit-daemon[1681]: Demoted 8 threads.
Jun 27 17:17:09 Elitedesk dbus-daemon[1116]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Jun 27 17:17:09 Elitedesk systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Jun 27 17:17:09 Elitedesk (udev-worker)[3255]: nvme0: /etc/udev/rules.d/66-maxperfwiz.rules:1 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:1b.0/0000:01:00.0/nvme/nvme0/queue/scheduler}, ignoring: No such file or directory
Jun 27 17:17:09 Elitedesk appimagelauncherd[3279]: which: no gtk-update-icon-cache-3.0 in (/usr/local/bin:/usr/bin)
Jun 27 17:17:09 Elitedesk appimagelauncherd[3285]: Could not parse file "/home/user/.local/share/applications/synology-drive-open-file.desktop": No such file or directory
Jun 27 17:17:09 Elitedesk appimagelauncherd[3292]: which: no update-icon-caches in (/usr/local/bin:/usr/bin)
Jun 27 17:17:09 Elitedesk dbus-daemon[1352]: [session uid=1000 pid=1352] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.73' (uid=1000 pid=3127 comm="/usr/lib/tracker-extract-3")
Jun 27 17:17:09 Elitedesk systemd[1331]: Starting Virtual filesystem metadata service...
Jun 27 17:17:09 Elitedesk dbus-daemon[1352]: [session uid=1000 pid=1352] Successfully activated service 'org.gtk.vfs.Metadata'
Jun 27 17:17:09 Elitedesk systemd[1331]: Started Virtual filesystem metadata service.
Jun 27 17:17:09 Elitedesk systemd[1]: systemd-hibernate.service: Deactivated successfully.
Jun 27 17:17:09 Elitedesk systemd[1]: Finished Hibernate.

And your journal stuck here:

Jun 27 17:14:35 Elitedesk systemd[1]: Starting Hibernate...
Jun 27 17:14:35 Elitedesk systemd-sleep[3140]: Entering sleep state 'hibernate'...
Jun 27 17:14:35 Elitedesk kernel: PM: hibernation: hibernation entry <--- **HERE**
Jun 27 17:17:09 Elitedesk kernel: Filesystems sync: 1.037 seconds
Jun 27 17:17:09 Elitedesk kernel: Freezing user space processes
Jun 27 17:17:09 Elitedesk kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Jun 27 17:17:09 Elitedesk kernel: OOM killer disabled.

It seems it tries to sync the filesystem on your side? Maybe not an ACPI problem? Syncing means here, that it writes all stuff on the RAM Cache to the disk, what was not written yet. Did you reboot after configuring hibernation?

I have these constant errors in journalct -p3. I asked about it sometime ago in the forum but nobody seemed to know.
ACPI…

bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP7._PRW], AE_ALREADY_EXISTS (20220331/dswload2-326)
bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP2._PRW], AE_ALREADY_EXISTS (20220331/dswload2-326)
bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_GPE._L08], AE_ALREADY_EXISTS (20220331/dswload2-326)
bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)
bednaManjaro kernel: hub 10-0:1.0: config failed, hub doesn't have any ports! (err -19)

I googled around the errors but could not find anything substantial.

okay, to put it simple: Linux loads the ACPI Table from your UEFI and executes it. If errors or possible bugs appear, then you will see it like these log entries. In your cases, it loads a named object which already exists, so catalog entries that appear multiple times. It is a bug, but shouldn’t bother normally. It is something for the developer.

On Linux, you can patch the ACPI Tables on runtime, but I guess this above your capabilities.

Yeah, I have no idea.

As you said, my computer “works”, just not all things work and I opted for the “head in the sand” option. xD

Should I report this bug somewhere?

Edit
I downloaded and ran hw-probe from AUR that resulted in this.
No idea if it is of any use for me. :open_mouth: