You are not logged in.

#1 2022-04-11 04:28:21

LyCC
Member
Registered: 2012-09-05
Posts: 174

Unable to suspend, systemd-suspend.service killed

Hi, after the recent update from previous week, I am unable to suspend the PC after resuming from a suspend (in other words, the first time it works, then not any more), the system GUI just hangs.
After this, I can restart sddm from a new terminal, but suspend still doesn't work, nor does poweroff (it reaches the poweroff message, but it doesn't turn the system off).
Any ideas regarding

Apr 11 00:29:57 ArchPC kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
Apr 11 00:29:57 ArchPC kernel: BUG: unable to handle page fault for address: ffffa04453fcd520

Thanks.

The full log:

Apr 11 00:29:49 ArchPC kmix[1324]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
Apr 11 00:29:49 ArchPC kmix[1324]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
Apr 11 00:29:49 ArchPC kded5[1182]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
Apr 11 00:29:49 ArchPC kded5[1182]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
Apr 11 00:29:50 ArchPC kwin_x11[1185]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3829, resource id: 85998831, major code: 18 (ChangeProperty), minor code: 0
Apr 11 00:29:50 ArchPC krunner[5515]: This is SMPlayer v. 22.2.0 (revision 10060) running on Linux
Apr 11 00:29:50 ArchPC systemd[1130]: app-smplayer-3a506841e42a42d5b106c65f1f465bd6.scope: Consumed 6min 45.511s CPU time.
Apr 11 00:29:52 ArchPC kded5[1182]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
Apr 11 00:29:52 ArchPC kded5[1182]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
Apr 11 00:29:52 ArchPC kmix[1324]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
Apr 11 00:29:52 ArchPC kmix[1324]: org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
Apr 11 00:29:56 ArchPC kscreenlocker_greet[28648]: Qt: Session management error: networkIdsList argument is NULL
Apr 11 00:29:56 ArchPC systemd[1]: Reached target Sleep.
Apr 11 00:29:56 ArchPC systemd[1]: Starting System Suspend...
Apr 11 00:29:56 ArchPC systemd-sleep[28656]: Entering sleep state 'suspend'...
Apr 11 00:29:56 ArchPC kernel: PM: suspend entry (deep)
Apr 11 00:29:56 ArchPC kernel: Filesystems sync: 0.002 seconds
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/ldac
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSink/aptx_hd
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx_hd
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSink/aptx
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aac
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSink/sbc
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/sbc
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSink/sbc_xq
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/sbc_xq
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/faststream
Apr 11 00:29:57 ArchPC bluetoothd[686]: Endpoint unregistered: sender=:1.65 path=/MediaEndpoint/A2DPSource/faststream_duplex
Apr 11 00:29:57 ArchPC bluetoothd[686]: Player unregistered: sender=:1.65 path=/media_player0
Apr 11 00:29:57 ArchPC kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
Apr 11 00:29:57 ArchPC kernel: BUG: unable to handle page fault for address: ffffa04453fcd520
Apr 11 00:29:57 ArchPC kernel: #PF: supervisor instruction fetch in kernel mode
Apr 11 00:29:57 ArchPC kernel: #PF: error_code(0x0011) - permissions violation
Apr 11 00:29:57 ArchPC kernel: PGD d1001067 P4D d1001067 PUD 140d97063 PMD 153e4b063 PTE 8000000153fcd163
Apr 11 00:29:57 ArchPC kernel: Oops: 0011 [#1] PREEMPT SMP NOPTI
Apr 11 00:29:57 ArchPC kernel: CPU: 7 PID: 28656 Comm: systemd-sleep Tainted: P           OE     5.17.1-arch1-1 #1 0ea933cb6bfe82a8dc16ab834a4bccdd297f98b7
Apr 11 00:29:57 ArchPC kernel: Hardware name: Gigabyte Technology Co., Ltd. B450M DS3H/B450M DS3H-CF, BIOS F50 11/27/2019
Apr 11 00:29:57 ArchPC kernel: RIP: 0010:0xffffa04453fcd520
Apr 11 00:29:57 ArchPC kernel: Code: 00 00 00 00 00 00 01 00 00 00 00 e0 0e 91 02 00 00 00 00 e0 0e 91 45 a0 ff ff 00 e0 0e 91 02 00 00 00 00 00 00 00 01 00 00 00 <00> 90 db 47 02 00 00 00 00 90 db 47 45 a0 ff ff 00 90 db 47 02 00
Apr 11 00:29:57 ArchPC kernel: RSP: 0018:ffffb638c803fd08 EFLAGS: 00010213
Apr 11 00:29:57 ArchPC kernel: RAX: ffffa04453fcd520 RBX: ffffa04453fcde00 RCX: ffffffff99452eb8
Apr 11 00:29:57 ArchPC kernel: RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffa04400d3aba0
Apr 11 00:29:57 ArchPC kernel: RBP: 0000000000000000 R08: 0000000000000005 R09: ffffb638c803fcd0
Apr 11 00:29:57 ArchPC kernel: R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000
Apr 11 00:29:57 ArchPC kernel: R13: 0000000000000003 R14: ffffffff9945a640 R15: 0000000000000006
Apr 11 00:29:57 ArchPC kernel: FS:  00007f7809a19e80(0000) GS:ffffa0470e9c0000(0000) knlGS:0000000000000000
Apr 11 00:29:57 ArchPC kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 11 00:29:57 ArchPC kernel: CR2: ffffa04453fcd520 CR3: 0000000113154000 CR4: 00000000003506e0
Apr 11 00:29:57 ArchPC kernel: Call Trace:
Apr 11 00:29:57 ArchPC kernel:  <TASK>
Apr 11 00:29:57 ArchPC kernel:  ? blocking_notifier_call_chain_robust+0x61/0xd0
Apr 11 00:29:57 ArchPC kernel:  ? pm_notifier_call_chain_robust+0x19/0x30
Apr 11 00:29:57 ArchPC kernel:  ? pm_suspend.cold+0x12d/0x342
Apr 11 00:29:57 ArchPC kernel:  ? state_store+0x71/0xd0
Apr 11 00:29:57 ArchPC kernel:  ? kernfs_fop_write_iter+0x119/0x1b0
Apr 11 00:29:57 ArchPC kernel:  ? new_sync_write+0x159/0x1f0
Apr 11 00:29:57 ArchPC kernel:  ? vfs_write+0x1eb/0x280
Apr 11 00:29:57 ArchPC kernel:  ? ksys_write+0x67/0xe0
Apr 11 00:29:57 ArchPC kernel:  ? do_syscall_64+0x59/0x80
Apr 11 00:29:57 ArchPC kernel:  ? exc_page_fault+0x72/0x170
Apr 11 00:29:57 ArchPC kernel:  ? entry_SYSCALL_64_after_hwframe+0x44/0xae
Apr 11 00:29:57 ArchPC kernel:  </TASK>
Apr 11 00:29:57 ArchPC kernel: Modules linked in: rfcomm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq snd_seq_device eeprom xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bridge stp llc bnep vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(POE) nvidia(POE) intel_rapl_msr intel_rapl_common edac_mce_amd snd_hda_codec_realtek wmi_bmof gigabyte_wmi btusb kvm_amd snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel btrtl kvm xfs snd_intel_dspcfg btbcm snd_intel_sdw_acpi btintel snd_hda_codec irqbypass btmtk libcrc32c crct10dif_pclmul mousedev crc32_pclmul snd_hda_core bluetooth ghash_clmulni_intel snd_hwdep aesni_intel snd_pcm crypto_simd ecdh_generic cryptd joydev snd_timer rfkill rapl sp5100_tco snd ccp r8168(OE) i2c_piix4 pcspkr k10temp soundcore
Apr 11 00:29:57 ArchPC kernel:  rng_core wmi gpio_amdpt gpio_generic pinctrl_amd mac_hid acpi_cpufreq sg crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid uas usb_storage xhci_pci sr_mod crc32c_intel cdrom xhci_pci_renesas
Apr 11 00:29:57 ArchPC kernel: CR2: ffffa04453fcd520
Apr 11 00:29:57 ArchPC kernel: ---[ end trace 0000000000000000 ]---
Apr 11 00:29:57 ArchPC kernel: RIP: 0010:0xffffa04453fcd520
Apr 11 00:29:57 ArchPC kernel: Code: 00 00 00 00 00 00 01 00 00 00 00 e0 0e 91 02 00 00 00 00 e0 0e 91 45 a0 ff ff 00 e0 0e 91 02 00 00 00 00 00 00 00 01 00 00 00 <00> 90 db 47 02 00 00 00 00 90 db 47 45 a0 ff ff 00 90 db 47 02 00
Apr 11 00:29:57 ArchPC kernel: RSP: 0018:ffffb638c803fd08 EFLAGS: 00010213
Apr 11 00:29:57 ArchPC kernel: RAX: ffffa04453fcd520 RBX: ffffa04453fcde00 RCX: ffffffff99452eb8
Apr 11 00:29:57 ArchPC kernel: RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffa04400d3aba0
Apr 11 00:29:57 ArchPC kernel: RBP: 0000000000000000 R08: 0000000000000005 R09: ffffb638c803fcd0
Apr 11 00:29:57 ArchPC kernel: R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000
Apr 11 00:29:57 ArchPC kernel: R13: 0000000000000003 R14: ffffffff9945a640 R15: 0000000000000006
Apr 11 00:29:57 ArchPC kernel: FS:  00007f7809a19e80(0000) GS:ffffa0470e9c0000(0000) knlGS:0000000000000000
Apr 11 00:29:57 ArchPC kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 11 00:29:57 ArchPC kernel: CR2: ffffa04453fcd520 CR3: 0000000113154000 CR4: 00000000003506e0
Apr 11 00:29:57 ArchPC kernel: audit: type=1130 audit(1649626197.031:172): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Apr 11 00:29:57 ArchPC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Apr 11 00:29:57 ArchPC systemd[1]: systemd-suspend.service: Main process exited, code=killed, status=9/KILL
Apr 11 00:29:57 ArchPC bluetoothd[686]: Failed to set mode: Failed (0x03)
Apr 11 00:29:57 ArchPC systemd[1]: systemd-suspend.service: Failed with result 'signal'.
Apr 11 00:29:57 ArchPC systemd[1]: Failed to start System Suspend.
Apr 11 00:29:57 ArchPC systemd[1]: Dependency failed for Suspend.
Apr 11 00:29:57 ArchPC systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Apr 11 00:29:57 ArchPC systemd-logind[691]: Operation 'sleep' finished.
Apr 11 00:29:57 ArchPC systemd[1]: Stopped target Sleep.
Apr 11 00:29:57 ArchPC kded5[1182]: kf.bluezqt: PendingCall Error: "Failed"
Apr 11 00:29:57 ArchPC kscreenlocker_greet[28648]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Apr 11 00:29:57 ArchPC kscreenlocker_greet[28648]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:42:9: Unable to assign [undefined] to bool
Apr 11 00:29:57 ArchPC kscreenlocker_greet[28648]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:549: TypeError: Cannot read property 'longName' of undefined

Last edited by LyCC (2022-04-11 04:43:17)

Offline

#2 2022-05-30 13:37:31

archqt
Member
Registered: 2015-04-29
Posts: 203

Re: Unable to suspend, systemd-suspend.service killed

Same problem for me. It start sleeping and 1 second after (or 10 it depends) it wakes up. So i can't suspend my laptop, i have to stop it.

Last edited by archqt (2022-05-30 13:38:05)

Offline

#3 2022-05-30 19:36:30

Mike616
Member
Registered: 2021-01-21
Posts: 9

Re: Unable to suspend, systemd-suspend.service killed

I'm seeing similar suspend issues on any kernel greater than 5.16.6. No idea how to fix it but I'm stuck using the older kernel. This is also being discussed here.

The only solution I've found so far is to downgrade the kernel (and Nvidia drivers with it).

Offline

#4 2022-05-31 07:21:57

archqt
Member
Registered: 2015-04-29
Posts: 203

Re: Unable to suspend, systemd-suspend.service killed

Not a solution, but it seems like stopping the Bluetooth solves the problem for now

Offline

#5 2022-06-11 08:31:05

Mike616
Member
Registered: 2021-01-21
Posts: 9

Re: Unable to suspend, systemd-suspend.service killed

I just updated to the latest kernel (5.18.3) and this problem is still there. Disabling bluetooth does allow the machine to sleep, however. I've added two systemd services to disable and enable bluetooth on suspend/resume.

[Unit]
Description=Disable Bluetooth before Suspend
Before=suspend.target

[Service]
ExecStart=/usr/bin/bluetooth off

[Install]
WantedBy=suspend.target
[Unit]
Description=Enable Bluetooth on Resume
After=suspend.target

[Service]
ExecStart=/usr/bin/bluetooth on

[Install]
WantedBy=suspend.target

Offline

#6 2022-06-14 19:19:46

willy9
Member
Registered: 2009-04-14
Posts: 56

Re: Unable to suspend, systemd-suspend.service killed

Also affected here, except on LTS kernel. I see some bugs are already reported upstream, so here's hoping it the fix will land shortly.
I will use your systemd service in between, thanks for this smile


Skrooge, a personal finances manager for the Plasma Desktop
http://skrooge.org

Offline

Board footer

Powered by FluxBB