Hello,
I have a problem with the hibernation of my computer (open suse tumbleweed). I configured this one to hibernate automatically after 20 minutes.
It works well the first time but after restarting several things are buggy.
The systemd-sleep process is broken. I can’t close it, kill it.
The network is disconnected: I have to restart the service manually.
And I can no longer turn off my computer: it remains blocked on “reached target system power off”
Where to start to see what’s wrong?
Thanks
@mandragore59va :
Please take a look at the systemd Journal entries for the last power down – you should find something similar to the following –
8665.367359] systemd-logind[1820]: System is powering down.
8665.385342] systemd[1]: Stopping Session 13 of User sddm...
8665.386891] sddm[2006]: Greeter stopped.
8665.407566] systemd[1]: Removed slice Slice /system/modprobe.
8665.407922] systemd[1]: Removed slice Slice /system/systemd-hibernate-resume.
8665.408207] systemd[1]: Stopped target Graphical Interface.
8665.408466] systemd[1]: Stopped target Multi-User System.
8665.413851] cron[1995]: (CRON) INFO (Shutting down)
8665.414238] systemd[1]: Stopped target Login Prompts.
8665.414522] systemd[1]: Stopped target RPC Port Mapper.
8665.414777] systemd[1]: Stopped target Sound Card.
8665.415017] systemd[1]: Stopped target Timer Units.
.
.
.
8665.485905] systemd[1]: Stopped Early Kernel Boot Messages.
8665.486019] systemd[1]: Stopping Machine Check Exception Logging Daemon...
.
.
.
8665.564529] systemd[10843]: Stopped target Basic System.
8665.564660] systemd[10843]: Stopped target Paths.
8665.564749] systemd[10843]: Stopped target Sockets.
8665.564869] systemd[10843]: Stopped target Timers.
8665.564964] systemd[10843]: Stopped Daily Cleanup of User's Temporary Directories.
8665.565058] systemd[10843]: Closed D-Bus User Message Bus Socket.
8665.565137] unknown[2067]: udisks daemon version 2.9.2 exiting
.
.
.
8665.568879] systemd[12121]: Stopped D-Bus User Message Bus.
8665.568960] systemd[12121]: Stopped target Basic System.
8665.569041] systemd[12121]: Stopped target Paths.
8665.569127] systemd[12121]: Stopped target Sockets.
8665.569213] systemd[12121]: Stopped target Timers.
8665.569297] systemd[12121]: Closed D-Bus User Message Bus Socket.
8665.569378] systemd[12121]: Closed PipeWire Multimedia System Socket.
8665.569460] systemd[12121]: Closed Sound System.
8665.569549] systemd[12121]: Removed slice User Application Slice.
8665.569635] systemd[12121]: Reached target Shutdown.
.
.
.
8675.669702] systemd[1]: Stopped Load Kernel Modules.
8675.670411] systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
8675.676311] systemd[1]: systemd-update-utmp.service: Deactivated successfully.
8675.676582] systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
8675.676839] systemd[1]: Stopping Security Auditing Service...
8675.718132] auditd[963]: The audit daemon is exiting.
8675.782429] systemd[1]: auditd.service: Deactivated successfully.
8675.782619] systemd[1]: Stopped Security Auditing Service.
8675.783521] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
8675.783694] systemd[1]: Stopped Create Volatile Files and Directories.
8675.783855] systemd[1]: Stopped target Local File Systems.
8675.785377] systemd[1]: Unmounting /boot/efi...
8675.786881] systemd[1]: Unmounting /home...
8675.789979] systemd[1]: Unmounting /srv...
8675.791891] systemd[1]: Unmounting /tmp...
8675.793187] systemd[1]: Unmounting /var/tmp...
8675.794865] systemd[1]: Stopping Flush Journal to Persistent Storage...
8675.799616] systemd[1]: dev-sda3.swap: Deactivated successfully.
8675.799727] systemd[1]: Deactivated swap /dev/sda3.
What should be happening is:
The system begins to power down.
The Display Manager and multiple user logins are stopped.
Kernel logging is stopped.
The basic system target is reached – basic system services are stopped.
The D-Bus, audio and timer services are stopped.
Kernel modules can no longer be loaded; system auditing is stopped.
The disk partitions are unmounted.
The system powers off.
Any deviations from this behaviour are an indication of what’s going wrong …
here is my logs: https://pastebin.com/XazNaeYi
Can someone help me find what is wrong?
Svyatko:
Post
inxi -aSmPjz
**#** inxi -aSmPjz
**System:**
**Kernel:** 5.18.15-1-default **arch:** x86_64 **bits:** 64 **compiler:** gcc **v:** 12.1.1
**parameters:** BOOT_IMAGE=/boot/vmlinuz-5.18.15-1-default
root=UUID=6955e6cc-9bff-4468-85a2-31c04b560ef1 splash=silent quiet
security=apparmor
resume=/dev/disk/by-uuid/7cbeb704-5b4e-4d31-bf06-4d367bb96b08
mitigations=auto
**Desktop:** KDE Plasma **v:** 5.25.4 **tk:** Qt **v:** 5.15.5 **wm:** kwin_x11 **vt:** 7
**dm:** SDDM **Distro:** openSUSE Tumbleweed 20220806
**Memory:**
**RAM:** **total:** 15.54 GiB **used:** 2.46 GiB (15.8%)
**Array-1:** **capacity:** 128 GiB **slots:** 4 **EC:** None **max-module-size:** 32 GiB
**note:** est.
**Device-1:** DIMM 0 **type:** no module installed
**Device-2:** DIMM 1 **type:** DDR4 **detail:** synchronous unbuffered (unregistered)
**size:** 8 GiB **speed:** 3000 MT/s **volts:** **curr:** 1.2 **min:** 1.2 **max:** 1.2
**width (bits):** **data:** 64 **total:** 64 **manufacturer:** G.Skill
**part-no:** F4-3000C16-8GISB **serial:** N/A
**Device-3:** DIMM 0 **type:** no module installed
**Device-4:** DIMM 1 **type:** DDR4 **detail:** synchronous unbuffered (unregistered)
**size:** 8 GiB **speed:** 3000 MT/s **volts:** **curr:** 1.2 **min:** 1.2 **max:** 1.2
**width (bits):** **data:** 64 **total:** 64 **manufacturer:** G.Skill
**part-no:** F4-3000C16-8GISB **serial:** N/A
**Partition:**
**ID-1:** / **raw-size:** 207.53 GiB **size:** 207.53 GiB (100.00%)
**used:** 23.49 GiB (11.3%) **fs:** btrfs **block-size:** 4096 B **dev:** /dev/dm-0
**maj-min:** 254:0 **mapped:** cr_root
**ID-2:** /boot/efi **raw-size:** 512 MiB **size:** 511 MiB (99.80%)
**used:** 5.1 MiB (1.0%) **fs:** vfat **block-size:** 512 B **dev:** /dev/sdc1
**maj-min:** 8:33
**ID-3:** /home **raw-size:** 232.88 GiB **size:** 232.88 GiB (100.00%)
**used:** 136.18 GiB (58.5%) **fs:** btrfs **block-size:** 4096 B **dev:** /dev/dm-3
**maj-min:** 254:3 **mapped:** cr_home
**ID-4:** /opt **raw-size:** 207.53 GiB **size:** 207.53 GiB (100.00%)
**used:** 23.49 GiB (11.3%) **fs:** btrfs **block-size:** 4096 B **dev:** /dev/dm-0
**maj-min:** 254:0 **mapped:** cr_root
**ID-5:** /var **raw-size:** 207.53 GiB **size:** 207.53 GiB (100.00%)
**used:** 23.49 GiB (11.3%) **fs:** btrfs **block-size:** 4096 B **dev:** /dev/dm-0
**maj-min:** 254:0 **mapped:** cr_root
**Swap:**
**Kernel:** **swappiness:** 60 (default) **cache-pressure:** 100 (default)
**ID-1:** swap-1 **type:** partition **size:** 15.54 GiB **used:** 0 KiB (0.0%)
**priority:** -2 **dev:** /dev/dm-1 **maj-min:** 254:1 **mapped:** cr_swap
Hello my problem is still not solved. After yet another bug I found this in dmesg:
39740.113613] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)[39740.113623] BUG: unable to handle page fault for address: ffffe025861d5d00
[39740.113626] #PF: supervisor instruction fetch in kernel mode
[39740.113630] #PF: error_code(0x0011) - permissions violation
[39740.113633] PGD 43f348067 P4D 43f348067 PUD 43f347067 PMD 80000004342001e3
[39740.113639] Oops: 0011 #1] PREEMPT SMP NOPTI
[39740.113643] CPU: 1 PID: 5250 Comm: systemd-sleep Tainted: G O 5.19.2-1-default #1 openSUSE Tumbleweed 24c74b37999ffcfd2ba6bcaaac88596456681fc3
[39740.113649] Hardware name: Micro-Star International Co., Ltd. MS-7A38/B450M PRO-VDH MAX (MS-7A38), BIOS B.G0 07/26/2022
[39740.113653] RIP: 0010:0xffffe025861d5d00
[39740.113657] Code: ad de 78 1f 72 a0 69 9d ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 <00> 08 00 c0 ff ff 17 00 00 01 00 00 00 00 ad de 22 01 00 00 00 00
[39740.113663] RSP: 0018:ffffbe4a440cbd50 EFLAGS: 00010282
[39740.113666] RAX: ffffe025861d5d00 RBX: 0000000000000000 RCX: 000000002f200001
[39740.113670] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff9d698466cba0
[39740.113673] RBP: ffffe025861d5d40 R08: 0000000000000001 R09: ffffffffbf068e30
[39740.113676] R10: 0000000000000003 R11: ffff9d6cae7fffe8 R12: 0000000000000002
[39740.113679] R13: 0000000000000000 R14: ffffffffbe477cc0 R15: 00000000fffffff8
[39740.113682] FS: 00007f9bb2705b00(0000) GS:ffff9d6caea40000(0000) knlGS:0000000000000000
[39740.113686] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39740.113689] CR2: ffffe025861d5d00 CR3: 0000000271c48000 CR4: 0000000000350ee0
[39740.113693] Call Trace:
[39740.113697] <TASK>
[39740.113700] ? blocking_notifier_call_chain+0x5c/0x80
[39740.113707] ? hibernate.cold+0x62/0x2d9
[39740.113712] ? state_store+0xbf/0xd0
[39740.113718] ? kernfs_fop_write_iter+0x11e/0x1f0
[39740.113723] ? new_sync_write+0xfd/0x190
[39740.113728] ? vfs_write+0x1eb/0x270
[39740.113731] ? ksys_write+0x63/0xe0
[39740.113734] ? do_syscall_64+0x5b/0x80
[39740.113739] ? syscall_exit_to_user_mode+0x17/0x40
[39740.113742] ? do_syscall_64+0x67/0x80
[39740.113746] ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
[39740.113752] </TASK>
[39740.113754] Modules linked in: snd_seq_dummy snd_seq st sr_mod isofs cdrom exfat uas usb_storage rfcomm af_packet nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security nfnetlink ip6table_filter ip6_tables iptable_filter bpfilter vboxnetadp(O) vboxnetflt(O) qrtr vboxdrv(O) cmac algif_hash algif_skcipher af_alg bnep dmi_sysfs intel_rapl_msr intel_rapl_common snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi nls_iso8859_1 btusb snd_hda_intel nls_cp437 btrtl snd_intel_dspcfg snd_intel_sdw_acpi btbcm vfat edac_mce_amd uvcvideo ppdev btintel videobuf2_vmalloc fat snd_usb_audio snd_hda_codec btmtk videobuf2_memops snd_usbmidi_lib snd_hda_core
[39740.113802] videobuf2_v4l2 bluetooth snd_rawmidi snd_hwdep videobuf2_common snd_seq_device r8169 kvm snd_pcm videodev realtek snd_timer mdio_devres snd ecdh_generic mc joydev rfkill irqbypass wmi_bmof soundcore pcspkr efi_pstore i2c_piix4 k10temp libphy tiny_power_button parport_pc gpio_amdpt parport gpio_generic button acpi_cpufreq fuse configfs ip_tables x_tables dm_crypt essiv authenc trusted asn1_encoder tee hid_generic usbhid amdgpu crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_ttm_helper ttm xhci_pci xhci_pci_renesas iommu_v2 xhci_hcd gpu_sched aesni_intel crypto_simd drm_display_helper cryptd cec ccp usbcore rc_core sp5100_tco wmi btrfs blake2b_generic libcrc32c crc32c_intel xor raid6_pq sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua msr efivarfs
[39740.113860] Unloaded tainted modules: edd():1 edd():1 edd():1 amd64_edac():1 kvm_amd():1 amd64_edac():1 amd64_edac():1 kvm_amd():1 kvm_amd():1 pcc_cpufreq():1 amd64_edac():1 amd64_edac():1 kvm_amd():1 pcc_cpufreq():1 amd64_edac():1 kvm_amd():1 pcc_cpufreq():1 kvm_amd():1 pcc_cpufreq():1 amd64_edac():1 amd64_edac():1 kvm_amd():1 pcc_cpufreq():1 kvm_amd():1 amd64_edac():1 pcc_cpufreq():1 kvm_amd():1 amd64_edac():1 pcc_cpufreq():1 fjes():1 amd64_edac():1 kvm_amd():1 pcc_cpufreq():1 kvm_amd():1 amd64_edac():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 kvm_amd():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 fjes():1
[39740.113912] CR2: ffffe025861d5d00
[39740.113915] --- end trace 0000000000000000 ]---
What does it mean ?