You are not logged in.

#1 2023-03-17 03:01:04

smj-edison
Member
Registered: 2023-03-17
Posts: 5

Kernel seems to suspend cpu _after_ system resume

Hi! I've been running into a strange issue since I installed Arch Linux a few months ago. Often, when I wake my framework laptop (12th gen) from sleep, the system will freeze up. After digging through the journal, I found these interesting lines (full log here in case I missed something):

Feb 09 07:30:08 mason-laptop systemd-logind[623]: Lid closed.
Feb 09 07:30:09 mason-laptop systemd-logind[623]: The system will suspend now!
# various systems shutting down (NetworkManager, avahi-daemon, dhcpcd, kded5)
Feb 09 07:30:09 mason-laptop kscreenlocker_greet[17030]: kf.kirigami: Failed to find a Kirigami platform plugin
Feb 09 07:30:09 mason-laptop kscreenlocker_greet[17030]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Feb 09 07:30:09 mason-laptop systemd[1]: Reached target Sleep.
Feb 09 07:30:09 mason-laptop kded5[1276]: ktp-kded-module: "screen-saver-away" presence change request: "away" ""
Feb 09 07:30:09 mason-laptop kded5[1276]: ktp-kded-module: plugin queue activation: "away" ""
Feb 09 07:30:09 mason-laptop kded5[1276]: ktp-kded-module: "gabble/jabber/google_2dim_1" requested presence change error: "RequestedPresence 0 cannot be set on yourself"
Feb 09 07:30:09 mason-laptop systemd[1]: Starting System Suspend...
Feb 09 07:30:09 mason-laptop systemd-sleep[17131]: Entering sleep state 'suspend'...
Feb 09 07:30:09 mason-laptop kernel: PM: suspend entry (deep)
Feb 09 07:30:10 mason-laptop kernel: Filesystems sync: 0.074 seconds
# A few hours later, I opened my laptop
Feb 09 13:59:11 mason-laptop kernel: Freezing user space processes ... (elapsed 0.003 seconds) done.
Feb 09 13:59:11 mason-laptop kernel: OOM killer disabled.
Feb 09 13:59:11 mason-laptop kernel: Freezing remaining freezable tasks ... (elapsed 0.043 seconds) done.
Feb 09 13:59:11 mason-laptop kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 09 13:59:11 mason-laptop kernel: ACPI: EC: interrupt blocked
Feb 09 13:59:11 mason-laptop kernel: ACPI: PM: Preparing to enter system sleep state S3
Feb 09 13:59:11 mason-laptop kernel: ACPI: EC: event blocked
Feb 09 13:59:11 mason-laptop kernel: ACPI: EC: EC stopped
Feb 09 13:59:11 mason-laptop kernel: ACPI: PM: Saving platform NVS memory
Feb 09 13:59:11 mason-laptop kernel: Disabling non-boot CPUs ...
Feb 09 13:59:11 mason-laptop kernel: smpboot: CPU 1 is now offline
Feb 09 13:59:11 mason-laptop kernel: smpboot: CPU 2 is now offline
Feb 09 13:59:11 mason-laptop plasmashell[3044]: [3038:3066:0209/135911.971699:ERROR:connection_factory_impl.cc(427)] Failed to connect to MCS endpoint with error -106

It seems to be suspending the cpu after the system starts resuming.

Other info:
Kernel params: loglevel=3 quiet pcie_aspm=off mem_sleep_default=deep nvme.noacpi=1
uname -r: 6.2.6-arch1-1

I tried the kernel param "nvme.noacpi=1" to see if it was an issue of my drive not booting properly, but that didn't fix it. I've looked through both the suspend and framework wiki pages, but I haven't seen anything about my issue so far.

Would anyone know why my laptop could be freezing after resume? Thanks in advance!

Offline

Board footer

Powered by FluxBB