You are not logged in.

#1 2024-03-30 03:44:41

jthvai
Member
Registered: 2023-11-03
Posts: 13

[SOLVED] Unable to suspend/shutdown after upgrading `linux`

Fixed in linux 6.8.4.arch1-1 or linux-lts 6.6.25-1.

---

A temporary solution is to disable Bluetooth in the UEFI menu, or downgrade to linux 6.8.1 or linux-lts 6.6.22.

This is most likely an issue with the 6.8.2 mainline kernel (and 6.6.23 LTS) and the Intel Corp. AX200/210 Bluetooth chip. A fix has been queued for the next release(s).

See these for more info:
https://bugzilla.kernel.org/show_bug.cgi?id=218651
https://bbs.archlinux.org/viewtopic.php?id=294292

Many thanks to everyone in this thread for getting to the bottom of this big_smile

Edit2:
If you are feeling extra adventurous, you can compile your own linux 6.8.2 with this patch (link). I claim no responsibility for the result.

Edit:
I also had a recent bug where gpg would hang whenever it was required to decrypt anything. The temp solution seems to have also fixed that, so it should be fixed along with this bug.

---

After upgrading xz (5.6.1-1 -> 5.6.1-2) and linux (6.8.2.arch1-1 -> 6.8.2.arch2-1) (among other things, see pacman logs below), I am no longer able to suspend or shutdown. The journal logs for suspending are below; the items in the busy workqueues list seems to change every time I try to suspend. When shutting down, the system appears to reach poweroff.target (vty output) and will then just hang, not actually powering off (at this point I just hold down the power button for a hard shutdown, as it seems most if not all of the pre-shutdown maintenance tasks are done).

Edit: this is a Lenovo ThinkPad X13 Gen 1 + AMD Ryzen 5 PRO 4650U

Journal from an attempted systemctl suspend:

Mar 30 14:28:24 polkitd[1833]: Registered Authentication Agent for unix-process:150952:208437 (system bus name :1.50 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8)
Mar 30 14:28:24 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Mar 30 14:28:24 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Mar 30 14:28:24 systemd-logind[1084]: The system will suspend now!
Mar 30 14:28:24 systemd[1]: Reached target Sleep.
Mar 30 14:28:24 polkitd[1833]: Unregistered Authentication Agent for unix-process:150952:208437 (system bus name :1.50, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_AU.UTF-8) (disconnected from bus)
Mar 30 14:28:24 systemd[1]: Starting System Suspend...
Mar 30 14:28:24 systemd-sleep[151080]: Performing sleep operation 'suspend'...
Mar 30 14:28:24 kernel: PM: suspend entry (s2idle)
Mar 30 14:28:24 kernel: Filesystems sync: 0.030 seconds
Mar 30 14:28:24 kernel: r8152 5-1.1:1.0: load rtl8153b-2 v2 04/27/23 successfully
Mar 30 14:28:44 kernel: Freezing user space processes
Mar 30 14:28:44 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Mar 30 14:28:44 kernel: OOM killer disabled.
Mar 30 14:28:44 kernel: Freezing remaining freezable tasks
Mar 30 14:28:44 kernel: Freezing remaining freezable tasks failed after 20.001 seconds (0 tasks refusing to freeze, wq_busy=1):
Mar 30 14:28:44 kernel: Showing freezable workqueues that are still busy:
Mar 30 14:28:44 kernel: workqueue usb_hub_wq: flags=0x4
Mar 30 14:28:44 kernel:   pwq 18: cpus=9 node=0 flags=0x0 nice=0 active=1 refcnt=2
Mar 30 14:28:44 kernel:     in-flight: 127:hub_event
Mar 30 14:28:44 kernel: workqueue wg-kex-wg0-mullvad: flags=0x24
Mar 30 14:28:44 kernel:   pwq 14: cpus=7 node=0 flags=0x0 nice=0 active=0 refcnt=2
Mar 30 14:28:44 kernel:     inactive: wg_packet_handshake_receive_worker [wireguard]
Mar 30 14:28:44 kernel: workqueue wg-kex-wg0-mullvad: flags=0x6
Mar 30 14:28:44 kernel:   pwq 25: cpus=0-11 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 14:28:44 kernel:     inactive: wg_packet_handshake_send_worker [wireguard]
Mar 30 14:28:44 kernel: Restarting kernel threads ... done.
Mar 30 14:28:44 kernel: OOM killer enabled.
Mar 30 14:28:44 kernel: Restarting tasks ... done.
Mar 30 14:28:44 kernel: random: crng reseeded on system resumption
Mar 30 14:28:44 rtkit-daemon[2602]: The canary thread is apparently starving. Taking action.
Mar 30 14:28:44 rtkit-daemon[2602]: Demoting known real-time threads.
Mar 30 14:28:44 rtkit-daemon[2602]: Successfully demoted thread 30764 of process 30761.
Mar 30 14:28:44 rtkit-daemon[2602]: Successfully demoted thread 30761 of process 30761.
Mar 30 14:28:44 rtkit-daemon[2602]: Successfully demoted thread 2587 of process 2587.
Mar 30 14:28:44 rtkit-daemon[2602]: Successfully demoted thread 2604 of process 2556.
Mar 30 14:28:44 rtkit-daemon[2602]: Successfully demoted thread 2556 of process 2556.
Mar 30 14:28:44 rtkit-daemon[2602]: Demoted 5 threads.
Mar 30 14:28:44 kernel: PM: suspend exit
Mar 30 14:28:44 kernel: PM: suspend entry (s2idle)
Mar 30 14:28:44 kernel: Filesystems sync: 0.030 seconds
Mar 30 14:29:05 kernel: Freezing user space processes
Mar 30 14:29:05 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Mar 30 14:29:05 kernel: OOM killer disabled.
Mar 30 14:29:05 kernel: Freezing remaining freezable tasks
Mar 30 14:29:05 kernel: Freezing remaining freezable tasks failed after 20.005 seconds (0 tasks refusing to freeze, wq_busy=1):
Mar 30 14:29:05 kernel: Showing freezable workqueues that are still busy:
Mar 30 14:29:05 kernel: workqueue usb_hub_wq: flags=0x4
Mar 30 14:29:05 kernel:   pwq 18: cpus=9 node=0 flags=0x0 nice=0 active=1 refcnt=2
Mar 30 14:29:05 kernel:     in-flight: 127:hub_event
Mar 30 14:29:05 kernel: workqueue wg-kex-wg0-mullvad: flags=0x24
Mar 30 14:29:05 kernel:   pwq 18: cpus=9 node=0 flags=0x0 nice=0 active=0 refcnt=2
Mar 30 14:29:05 kernel:     inactive: wg_packet_handshake_receive_worker [wireguard]
Mar 30 14:29:05 kernel: workqueue wg-kex-wg0-mullvad: flags=0x6
Mar 30 14:29:05 kernel:   pwq 25: cpus=0-11 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 14:29:05 kernel:     inactive: wg_packet_handshake_send_worker [wireguard]
Mar 30 14:29:05 kernel: workqueue loop0: flags=0x6
Mar 30 14:29:05 kernel:   pwq 25: cpus=0-11 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 14:29:05 kernel:     inactive: loop_rootcg_workfn [loop]
Mar 30 14:29:05 kernel: workqueue btrfs-delalloc: flags=0xe
Mar 30 14:29:05 kernel:   pwq 26: cpus=0-11 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 14:29:05 kernel:     inactive: btrfs_work_helper [btrfs]
Mar 30 14:29:05 kernel: Restarting kernel threads ... done.
Mar 30 14:29:05 kernel: OOM killer enabled.
Mar 30 14:29:05 rtkit-daemon[2602]: The canary thread is apparently starving. Taking action.
Mar 30 14:29:05 rtkit-daemon[2602]: Demoting known real-time threads.
Mar 30 14:29:05 rtkit-daemon[2602]: Successfully demoted thread 30764 of process 30761.
Mar 30 14:29:05 rtkit-daemon[2602]: Successfully demoted thread 30761 of process 30761.
Mar 30 14:29:05 rtkit-daemon[2602]: Successfully demoted thread 2587 of process 2587.
Mar 30 14:29:05 rtkit-daemon[2602]: Successfully demoted thread 2604 of process 2556.
Mar 30 14:29:05 rtkit-daemon[2602]: Successfully demoted thread 2556 of process 2556.
Mar 30 14:29:05 rtkit-daemon[2602]: Demoted 5 threads.
Mar 30 14:29:05 kernel: Restarting tasks ... done.
Mar 30 14:29:05 kernel: random: crng reseeded on system resumption
Mar 30 14:29:05 kernel: PM: suspend exit
Mar 30 14:29:05 systemd-sleep[151080]: Failed to put system to sleep. System resumed again: Device or resource busy
Mar 30 14:29:05 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 14:29:05 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Mar 30 14:29:05 systemd[1]: Failed to start System Suspend.
Mar 30 14:29:05 systemd[1]: Dependency failed for Suspend.
Mar 30 14:29:05 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Mar 30 14:29:05 systemd[1]: systemd-suspend.service: Consumed 1.949s CPU time.
Mar 30 14:29:05 systemd-logind[1084]: Operation 'suspend' finished.
Mar 30 14:29:05 systemd[1]: Stopped target Sleep.

Relevant -Syu:

[2024-03-29T20:10:40+1100] [PACMAN] Running 'pacman --sync --sysupgrade --noconfirm'
[2024-03-29T20:10:40+1100] [PACMAN] starting full system upgrade
[2024-03-29T20:10:45+1100] [ALPM] running '60-mkinitcpio-remove.hook'...
[2024-03-29T20:10:46+1100] [ALPM] running 'ghc-unregister.hook'...
[2024-03-29T20:10:46+1100] [ALPM] transaction started
[2024-03-29T20:10:46+1100] [ALPM] upgraded alsa-card-profiles (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:46+1100] [ALPM] upgraded xz (5.6.1-1 -> 5.6.1-2)
[2024-03-29T20:10:46+1100] [ALPM] upgraded btrfs-progs (6.7.1-1 -> 6.8-1)
[2024-03-29T20:10:46+1100] [ALPM] upgraded curl (8.6.0-4 -> 8.7.1-3)
[2024-03-29T20:10:46+1100] [ALPM] upgraded haskell-pandoc-lua-marshal (0.2.2-58 -> 0.2.3-1)
[2024-03-29T20:10:46+1100] [ALPM] upgraded haskell-pandoc-lua-engine (0.2.1.1-2 -> 0.2.1.1-3)
[2024-03-29T20:10:47+1100] [ALPM] upgraded libpipewire (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:48+1100] [ALPM] upgraded libreoffice-still (7.6.5-2 -> 7.6.6-1)
[2024-03-29T20:10:50+1100] [ALPM] upgraded linux (6.8.2.arch1-1 -> 6.8.2.arch2-1)
[2024-03-29T20:10:53+1100] [ALPM] upgraded linux-docs (6.8.2.arch1-1 -> 6.8.2.arch2-1)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pandoc-cli (0.1.1.1-84 -> 0.1.1.1-85)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire-audio (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire-alsa (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire-docs (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire-jack (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:53+1100] [ALPM] upgraded pipewire-pulse (1:1.0.4-2 -> 1:1.0.4-3)
[2024-03-29T20:10:54+1100] [ALPM] upgraded python-trove-classifiers (2024.3.3-2 -> 2024.3.25-1)
[2024-03-29T20:10:54+1100] [ALPM] upgraded rust (1:1.77.0-1 -> 1:1.77.1-1)
[2024-03-29T20:10:55+1100] [ALPM] upgraded rust-musl (1:1.77.0-1 -> 1:1.77.1-1)
[2024-03-29T20:10:55+1100] [ALPM] upgraded rust-src (1:1.77.0-1 -> 1:1.77.1-1)
[2024-03-29T20:10:55+1100] [ALPM] transaction completed
[2024-03-29T20:10:56+1100] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2024-03-29T20:10:57+1100] [ALPM] running '30-systemd-daemon-reload-user.hook'...
[2024-03-29T20:10:57+1100] [ALPM] running '30-systemd-udev-reload.hook'...
[2024-03-29T20:12:57+1100] [ALPM-SCRIPTLET] Timed out for waiting the udev queue being empty.
[2024-03-29T20:12:57+1100] [ALPM] running '30-systemd-update.hook'...
[2024-03-29T20:12:57+1100] [ALPM] running '30-update-mime-database.hook'...
[2024-03-29T20:12:58+1100] [ALPM] running '60-depmod.hook'...
[2024-03-29T20:12:59+1100] [ALPM] running '90-mkinitcpio-install.hook'...
[2024-03-29T20:13:00+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2024-03-29T20:13:00+1100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-03-29T20:13:00+1100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
[2024-03-29T20:13:00+1100] [ALPM-SCRIPTLET] ==> Starting build: '6.8.2-arch2-1'
[2024-03-29T20:13:00+1100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2024-03-29T20:13:01+1100] [ALPM-SCRIPTLET]   -> Running build hook: [systemd]
[2024-03-29T20:13:02+1100] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2024-03-29T20:13:02+1100] [ALPM-SCRIPTLET]   -> Running build hook: [microcode]
[2024-03-29T20:13:02+1100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2024-03-29T20:13:03+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-03-29T20:13:03+1100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2024-03-29T20:13:03+1100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2024-03-29T20:13:03+1100] [ALPM-SCRIPTLET]   -> Running build hook: [sd-encrypt]
[2024-03-29T20:13:04+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qat_420xx'
[2024-03-29T20:13:05+1100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2024-03-29T20:13:05+1100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET]   -> Early uncompressed CPIO image generation successful
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ==> Running post hooks
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET]   -> Running post hook: [sbctl]
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] Signing EFI binaries...
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] Generating EFI bundles....
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgfw.efi
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgr.efi
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/memtest.efi
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/systemd/systemd-bootx64.efi
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/LenovoBT.EFI
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/bootx64.efi
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ✓ Signed /boot/vmlinuz-linux
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/fwupd/efi/fwupdx64.efi.signed
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed
[2024-03-29T20:13:06+1100] [ALPM-SCRIPTLET] ==> Post processing done
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET] ==> Starting build: '6.8.2-arch2-1'
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2024-03-29T20:13:07+1100] [ALPM-SCRIPTLET]   -> Running build hook: [systemd]
[2024-03-29T20:13:08+1100] [ALPM-SCRIPTLET]   -> Running build hook: [microcode]
[2024-03-29T20:13:08+1100] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2024-03-29T20:13:09+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-03-29T20:13:10+1100] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2024-03-29T20:13:10+1100] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2024-03-29T20:13:11+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2024-03-29T20:13:14+1100] [ALPM-SCRIPTLET]   -> Running build hook: [sd-encrypt]
[2024-03-29T20:13:15+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qat_420xx'
[2024-03-29T20:13:15+1100] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2024-03-29T20:13:16+1100] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2024-03-29T20:13:19+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-03-29T20:13:19+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2024-03-29T20:13:19+1100] [ALPM-SCRIPTLET]   -> Early uncompressed CPIO image generation successful
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] ==> Running post hooks
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET]   -> Running post hook: [sbctl]
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] Signing EFI binaries...
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] Generating EFI bundles....
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgfw.efi
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgr.efi
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/systemd/systemd-bootx64.efi
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/fwupd/efi/fwupdx64.efi.signed
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/bootx64.efi
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/memtest.efi
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/vmlinuz-linux
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/LenovoBT.EFI
[2024-03-29T20:13:21+1100] [ALPM-SCRIPTLET] ==> Post processing done
[2024-03-29T20:13:21+1100] [ALPM] running 'ghc-register.hook'...
[2024-03-29T20:13:22+1100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-03-29T20:13:22+1100] [ALPM] running 'update-desktop-database.hook'...
[2024-03-29T20:13:22+1100] [ALPM] running 'zz-sbctl.hook'...
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] Generating EFI bundles....
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/systemd/systemd-bootx64.efi
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/vmlinuz-linux
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgfw.efi
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/bootx64.efi
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/bootmgr.efi
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Microsoft/Boot/memtest.efi
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/fwupd/efi/fwupdx64.efi.signed
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed
[2024-03-29T20:13:22+1100] [ALPM-SCRIPTLET] File has already been signed /boot/EFI/Boot/LenovoBT.EFI

Edit: rebooting also doesn't work, with the same behaviour as a shutdown:

reboot logs on the vty

Last edited by jthvai (2024-04-07 11:20:09)

Offline

#2 2024-03-30 05:25:01

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

I have the same issue now with the latest -Syu for both suspend and hibernate. Never encountered this issue before. No hardware has changed. I have NOT tried reboot or shutdown.

journalctl:

Mar 30 01:07:19 systemd[1]: Starting System Suspend...
Mar 30 01:07:19 systemd-sleep[8812]: Performing sleep operation 'suspend'...
Mar 30 01:07:19 kernel: PM: suspend entry (deep)
Mar 30 01:07:19 kernel: Filesystems sync: 0.276 seconds
Mar 30 01:07:39 kernel: Freezing user space processes
Mar 30 01:07:39 kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Mar 30 01:07:39 kernel: OOM killer disabled.
Mar 30 01:07:39 kernel: Freezing remaining freezable tasks
Mar 30 01:07:39 kernel: Freezing remaining freezable tasks failed after 20.007 seconds (0 tasks refusing to freeze, wq_busy=1):
Mar 30 01:07:39 kernel: Showing freezable workqueues that are still busy:
Mar 30 01:07:39 kernel: workqueue events_freezable: flags=0x4
Mar 30 01:07:39 kernel:   pwq 28: cpus=14 node=0 flags=0x0 nice=0 active=0 refcnt=2
Mar 30 01:07:39 kernel:     inactive: pci_pme_list_scan
Mar 30 01:07:39 kernel: workqueue events_freezable_power_efficien: flags=0x86
Mar 30 01:07:39 kernel:   pwq 66: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:39 kernel:     inactive: disk_events_workfn
Mar 30 01:07:39 kernel:   pwq 65: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:39 kernel:     inactive: thermal_zone_device_check
Mar 30 01:07:39 kernel:   pwq 65: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:39 kernel:     inactive: thermal_zone_device_check
Mar 30 01:07:39 kernel: workqueue usb_hub_wq: flags=0x4
Mar 30 01:07:39 kernel:   pwq 42: cpus=21 node=0 flags=0x0 nice=0 active=2 refcnt=3
Mar 30 01:07:39 kernel:     in-flight: 261:hub_event hub_event
Mar 30 01:07:39 kernel: workqueue btrfs-endio-write: flags=0xe
Mar 30 01:07:39 kernel:   pwq 66: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=10
Mar 30 01:07:39 kernel:     inactive: 9*btrfs_work_helper [btrfs]
Mar 30 01:07:39 kernel: Restarting kernel threads ... done.
Mar 30 01:07:39 kernel: OOM killer enabled.
Mar 30 01:07:39 rtkit-daemon[1299]: The canary thread is apparently starving. Taking action.
Mar 30 01:07:39 kernel: Restarting tasks ... done.
Mar 30 01:07:39 kernel: random: crng reseeded on system resumption
Mar 30 01:07:39 kernel: PM: suspend exit
Mar 30 01:07:39 kernel: thermal thermal_zone2: failed to read out thermal zone (-61)
Mar 30 01:07:39 kernel: PM: suspend entry (s2idle)
Mar 30 01:07:39 syncthing[1357]: [PKUVD] INFO: Lost primary connection to 54KBW4H at 192.168.1.100:22000-192.168.1.128:22000/t>
Mar 30 01:07:39 syncthing[1357]: [PKUVD] INFO: Connection to 54KBW4H at 192.168.1.100:22000-192.168.1.128:22000/tcp-server/TLS>
Mar 30 01:07:39 systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 30 01:07:39 rtkit-daemon[1299]: Demoting known real-time threads.
Mar 30 01:07:39 rtkit-daemon[1299]: Demoted 0 threads.
Mar 30 01:07:59 kernel: Filesystems sync: 0.042 seconds
Mar 30 01:07:59 kernel: Freezing user space processes
Mar 30 01:07:59 kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Mar 30 01:07:59 kernel: OOM killer disabled.
Mar 30 01:07:59 kernel: Freezing remaining freezable tasks
Mar 30 01:07:59 kernel: Freezing remaining freezable tasks failed after 20.004 seconds (0 tasks refusing to freeze, wq_busy=1):
Mar 30 01:07:59 kernel: Showing freezable workqueues that are still busy:
Mar 30 01:07:59 kernel: workqueue events_freezable: flags=0x4
Mar 30 01:07:59 kernel:   pwq 28: cpus=14 node=0 flags=0x0 nice=0 active=0 refcnt=2
Mar 30 01:07:59 kernel:     inactive: pci_pme_list_scan
Mar 30 01:07:59 kernel: workqueue events_freezable_power_efficien: flags=0x86
Mar 30 01:07:59 kernel:   pwq 65: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:59 kernel:     inactive: thermal_zone_device_check
Mar 30 01:07:59 kernel:   pwq 65: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:59 kernel:     inactive: thermal_zone_device_check
Mar 30 01:07:59 kernel:   pwq 66: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=2
Mar 30 01:07:59 kernel:     inactive: disk_events_workfn
Mar 30 01:07:59 kernel: workqueue usb_hub_wq: flags=0x4
Mar 30 01:07:59 kernel:   pwq 42: cpus=21 node=0 flags=0x0 nice=0 active=2 refcnt=3
Mar 30 01:07:59 kernel:     in-flight: 261:hub_event hub_event
Mar 30 01:07:59 kernel: workqueue btrfs-endio-write: flags=0xe
Mar 30 01:07:59 kernel:   pwq 66: cpus=0-31 node=0 flags=0x4 nice=0 active=0 refcnt=17
Mar 30 01:07:59 kernel:     inactive: 16*btrfs_work_helper [btrfs]
Mar 30 01:07:59 kernel: workqueue btrfs_discard: flags=0xa0006
Mar 30 01:07:59 kernel:   pwq 64: cpus=0-31 flags=0x4 nice=0 active=0 refcnt=34
Mar 30 01:07:59 kernel:     inactive: btrfs_discard_workfn [btrfs]
Mar 30 01:07:59 kernel: Restarting kernel threads ... done.
Mar 30 01:07:59 kernel: OOM killer enabled.
Mar 30 01:07:59 rtkit-daemon[1299]: The canary thread is apparently starving. Taking action.
Mar 30 01:07:59 rtkit-daemon[1299]: Demoting known real-time threads.
Mar 30 01:07:59 systemd-sleep[8812]: Failed to put system to sleep. System resumed again: Device or resource busy
Mar 30 01:07:59 rtkit-daemon[1299]: Demoted 0 threads.
Mar 30 01:07:59 systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 01:07:59 systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Mar 30 01:07:59 systemd[1]: Failed to start System Suspend.
Mar 30 01:07:59 systemd[1]: Dependency failed for Suspend.
Mar 30 01:07:59 systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Mar 30 01:07:59 systemd[1]: systemd-suspend.service: Consumed 1.485s CPU time.
Mar 30 01:07:59 systemd-logind[876]: Operation 'suspend' finished.
Mar 30 01:07:59 systemd-networkd[534]: enp7s0: Unmanaging interface.
Mar 30 01:07:59 NetworkManager[872]: <info>  [1711775279.4541] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Mar 30 01:07:59 systemd-networkd[534]: wlp5s0: Unmanaging interface.
Mar 30 01:07:59 kernel: Restarting tasks ... done.
Mar 30 01:07:59 kernel: random: crng reseeded on system resumption
Mar 30 01:07:59 kernel: PM: suspend exit
Mar 30 01:07:59 kernel: thermal thermal_zone2: failed to read out thermal zone (-61)
Mar 30 01:07:59 systemd-networkd[534]: lo: Unmanaging interface.
Mar 30 01:07:59 NetworkManager[872]: <info>  [1711775279.4541] device (enp6s0): state change: unavailable -> unmanaged (reason>
Mar 30 01:07:59 systemd-networkd[534]: enp6s0: Unmanaging interface.
Mar 30 01:07:59 systemd-networkd[534]: virbr0: Unmanaging interface.
Mar 30 01:07:59 systemd[1]: Stopped target Sleep.

pacman -Syu log:

[2024-03-29T22:29:51-0400] [PACMAN] Running 'pacman -Syu'
[2024-03-29T22:29:51-0400] [PACMAN] synchronizing package lists
[2024-03-29T22:29:51-0400] [PACMAN] starting full system upgrade
[2024-03-29T22:30:09-0400] [ALPM] running '00-informant.hook'...
[2024-03-29T22:30:10-0400] [ALPM-SCRIPTLET] There are no unread news items
[2024-03-29T22:30:10-0400] [ALPM] running '05-snap-pac-pre.hook'...
[2024-03-29T22:30:10-0400] [ALPM-SCRIPTLET] ==> root: 3212
[2024-03-29T22:30:10-0400] [ALPM] running '50-bootbackup.hook'...
[2024-03-29T22:30:10-0400] [ALPM] running '60-mkinitcpio-remove.hook'...
[2024-03-29T22:30:11-0400] [ALPM] running '71-dkms-remove.hook'...
[2024-03-29T22:30:11-0400] [ALPM] transaction started
[2024-03-29T22:30:11-0400] [ALPM] upgraded adwaita-cursors (45.0-1 -> 46.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded libsysprof-capture (45.2-1 -> 46.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded util-linux-libs (2.39.3-2 -> 2.40-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded glib2 (2.78.4-1 -> 2.80.0-2)
[2024-03-29T22:30:11-0400] [ALPM] upgraded harfbuzz (8.3.1-1 -> 8.4.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded xz (5.6.1-1 -> 5.6.1-2)
[2024-03-29T22:30:11-0400] [ALPM] upgraded xorgproto (2023.2-1 -> 2024.1-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded libx11 (1.8.7-1 -> 1.8.8-2)
[2024-03-29T22:30:11-0400] [ALPM] upgraded librsvg (2:2.57.3-1 -> 2:2.58.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded gtk-update-icon-cache (1:4.12.5-1 -> 1:4.14.1-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded adwaita-icon-theme (45.0-1 -> 46.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded libxkbcommon (1.6.0-1 -> 1.7.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded libxkbcommon-x11 (1.6.0-1 -> 1.7.0-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded alacritty (0.13.1-1 -> 0.13.2-1)
[2024-03-29T22:30:11-0400] [ALPM] upgraded alsa-card-profiles (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:12-0400] [ALPM] upgraded arm-none-eabi-newlib (4.3.0.20230120-1 -> 4.4.0.20231231-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded gsettings-desktop-schemas (45.0-1 -> 46.0-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded coreutils (9.4-3 -> 9.5-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded shadow (4.15.0-1 -> 4.15.1-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded util-linux (2.39.3-2 -> 2.40-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded curl (8.6.0-3 -> 8.7.1-3)
[2024-03-29T22:30:12-0400] [ALPM] installed libei (1.2.1-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded at-spi2-core (2.50.2-1 -> 2.52.0-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded libpipewire (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:12-0400] [ALPM] upgraded pipewire (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:12-0400] [ALPM] upgraded pipewire-audio (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:12-0400] [ALPM] upgraded libwireplumber (0.5.0-1 -> 0.5.0-2)
[2024-03-29T22:30:12-0400] [ALPM] upgraded wireplumber (0.5.0-1 -> 0.5.0-2)
[2024-03-29T22:30:12-0400] [ALPM] upgraded pipewire-jack (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:12-0400] [ALPM] upgraded glib-networking (1:2.78.1-1 -> 1:2.80.0-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded tracker3 (3.6.0-3 -> 3.7.1-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded libpciaccess (0.18-1 -> 0.18.1-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded gstreamer (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:12-0400] [ALPM] upgraded gst-plugins-base-libs (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:12-0400] [ALPM] upgraded gst-plugins-bad-libs (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:12-0400] [ALPM] upgraded audacity (1:3.4.2-3 -> 1:3.4.2-4)
[2024-03-29T22:30:12-0400] [ALPM] upgraded borg (1.2.7-1 -> 1.2.8-1)
[2024-03-29T22:30:12-0400] [ALPM] upgraded btrfs-progs (6.7.1-1 -> 6.8-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded libxmu (1.1.4-1 -> 1.2.0-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded chromium (123.0.6312.58-1 -> 123.0.6312.86-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded dialog (1:1.3_20240101-1 -> 1:1.3_20240307-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded libopenmpt (0.7.5-1 -> 0.7.6-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded libdeflate (1.19-1 -> 1.20-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded libdovi (3.2.0-2 -> 3.3.0-1)
[2024-03-29T22:30:13-0400] [ALPM] upgraded electron27 (27.3.7-2 -> 27.3.8-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded electron28 (28.2.8-1 -> 28.2.9-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded electron29 (29.1.5-1 -> 29.1.6-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded libgoa (3.48.1-1 -> 3.50.0-2)
[2024-03-29T22:30:14-0400] [ALPM] upgraded harfbuzz-icu (8.3.1-1 -> 8.4.0-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded webkit2gtk-4.1 (2.42.5-2 -> 2.44.0-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded tdb (1.4.9-1 -> 1.4.10-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded evolution-data-server (3.50.4-1 -> 3.52.0-2)
[2024-03-29T22:30:14-0400] [ALPM] upgraded exiv2 (0.28.2-1 -> 0.28.2-2)
[2024-03-29T22:30:14-0400] [ALPM] upgraded fwupd-efi (1.5-1 -> 1.5-2)
[2024-03-29T22:30:14-0400] [ALPM] upgraded fzf (0.48.0-1 -> 0.48.1-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded git-delta (0.17.0-1 -> 0.17.0-2)
[2024-03-29T22:30:14-0400] [ALPM] upgraded glibmm (2.66.6-1 -> 2.66.7-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded gtk4 (1:4.12.5-1 -> 1:4.14.1-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded libadwaita (1:1.4.4-1 -> 1:1.5.0-1)
[2024-03-29T22:30:14-0400] [ALPM] upgraded gnome-online-accounts (3.48.1-1 -> 3.50.0-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-util-linux (2.39.3-1 -> 2.40-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-glib2 (2.78.4-1 -> 2.80.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded libgirepository (1.78.1-1 -> 1.80.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gobject-introspection-runtime (1.78.1-1 -> 1.80.0-1)
[2024-03-29T22:30:15-0400] [ALPM] installed qt6pas (6.2.7-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded goverlay (1.0-1 -> 1.1.1-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded graphicsmagick (1.3.42-3 -> 1.3.43-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gst-libav (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gst-plugins-bad (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gst-plugins-base (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gst-plugins-good (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gst-plugins-ugly (1.24.1-1 -> 1.24.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gtksourceview5 (5.10.0-1 -> 5.12.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded libassuan (2.5.6-1 -> 2.5.7-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded gvfs (1.52.2-2 -> 1.54.0-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded jre-openjdk (21.0.2.u13-3 -> 22.u36-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded talloc (2.4.1-1 -> 2.4.2-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded tevent (1:0.15.0-1 -> 1:0.16.1-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded ldb (2:2.8.0-1 -> 2:2.9.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-xz (5.6.1-1 -> 5.6.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-at-spi2-core (2.50.2-1 -> 2.52.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-curl (8.6.0-3 -> 8.7.1-2)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-glib-networking (1:2.78.1-1 -> 1:2.80.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-harfbuzz (8.3.1-1 -> 8.4.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-librsvg (2:2.57.3-1 -> 2:2.58.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-libxkbcommon (1.6.0-1 -> 1.7.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded lib32-libxkbcommon-x11 (1.6.0-1 -> 1.7.0-1)
[2024-03-29T22:30:15-0400] [ALPM] upgraded redland (1:1.0.17-8 -> 1:1.0.17-9)
[2024-03-29T22:30:16-0400] [ALPM] upgraded libreoffice-fresh (24.2.1-5 -> 24.2.2-1)
[2024-03-29T22:30:17-0400] [ALPM] upgraded libvirt (1:10.1.0-1 -> 1:10.1.0-2)
[2024-03-29T22:30:17-0400] [ALPM] upgraded libwbclient (4.19.5-1 -> 4.20.0-1)
[2024-03-29T22:30:17-0400] [ALPM] upgraded linux (6.8.1.arch1-1 -> 6.8.2.arch2-1)
[2024-03-29T22:30:19-0400] [ALPM] upgraded linux-headers (6.8.1.arch1-1 -> 6.8.2.arch2-1)
[2024-03-29T22:30:19-0400] [ALPM] upgraded python-gobject (3.46.0-1 -> 3.48.1-2)
[2024-03-29T22:30:19-0400] [ALPM] upgraded meld (3.22.1-1 -> 3.22.2-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded mercurial (6.7.1-1 -> 6.7.2-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-bash (0.21.0-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-c (0.21.0-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-lua (0.1.0-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-markdown (0.2.3-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-python (0.21.0-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-query (0.2.1-1)
[2024-03-29T22:30:20-0400] [ALPM] installed tree-sitter-vimdoc (2.5.1-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded neovim (0.9.5-2 -> 0.9.5-4)
[2024-03-29T22:30:20-0400] [ALPM] upgraded node-gyp (10.0.1-1 -> 10.1.0-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded prrte (3.0.4-3 -> 3.0.5-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded openmpi (5.0.2-6 -> 5.0.2-7)
[2024-03-29T22:30:20-0400] [ALPM] upgraded pipewire-alsa (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:20-0400] [ALPM] upgraded pipewire-pulse (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:20-0400] [ALPM] upgraded pipewire-x11-bell (1:1.0.4-1 -> 1:1.0.4-3)
[2024-03-29T22:30:20-0400] [ALPM] upgraded python-docutils (1:0.20.1-1 -> 1:0.20.1-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded python-evdev (1.6.1-2 -> 1.7.0-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded python-sentry_sdk (1.43.0-1 -> 1.44.0-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded python-trove-classifiers (2024.3.3-1 -> 2024.3.25-1)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-common (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-alsa (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-dbus (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-jack (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-oss (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-pa (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-pipewire (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-sdl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-opengl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-spice-core (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-audio-spice (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-img (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-x86-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-x86 (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-base (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-block-curl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-block-dmg (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-block-nfs (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-block-ssh (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-chardev-spice (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-qxl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-gpu (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-gpu-gl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-gpu-pci (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-gpu-pci-gl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-vga (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-display-virtio-vga-gl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-usb-host (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-usb-redirect (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-hw-usb-smartcard (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-curses (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-dbus (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-egl-headless (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded vte-common (0.74.2-1 -> 0.76.0-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded vte3 (0.74.2-1 -> 0.76.0-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-gtk (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-sdl (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-ui-spice-app (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-vhost-user-gpu (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-desktop (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-aarch64 (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-alpha-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-alpha (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-arm-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-arm (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-avr (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-cris (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-hppa-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-hppa (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-loongarch64 (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-m68k (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-microblaze-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:20-0400] [ALPM] upgraded qemu-system-microblaze (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-mips (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-nios2 (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-or1k (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-ppc-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-ppc (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-riscv-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-riscv (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-rx (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-s390x-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-s390x (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-sh4 (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-sparc-firmware (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-sparc (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-tricore (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-system-xtensa (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-user (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-emulators-full (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-hw-s390x-virtio-gpu-ccw (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-pr-helper (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qemu-tools (8.2.2-1 -> 8.2.2-2)
[2024-03-29T22:30:21-0400] [ALPM] upgraded qt5-base (5.15.13+kde+r138-1 -> 5.15.13+kde+r142-1)
[2024-03-29T22:30:21-0400] [ALPM] upgraded rebuild-detector (4.4.2-1 -> 4.4.3-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded rust (1:1.77.0-1 -> 1:1.77.1-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded smbclient (4.19.5-1 -> 4.20.0-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded samba (4.19.5-1 -> 4.20.0-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded steam (1.0.0.78-2 -> 1.0.0.79-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded webkit2gtk (2.42.5-2 -> 2.44.0-1)
[2024-03-29T22:30:22-0400] [ALPM] upgraded xf86-input-evdev (2.10.6-3 -> 2.10.6-4)
[2024-03-29T22:30:22-0400] [ALPM] transaction completed
[2024-03-29T22:30:23-0400] [ALPM] running '20-systemd-sysusers.hook'...
[2024-03-29T22:30:23-0400] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-systemd-daemon-reload-user.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-systemd-sysctl.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-systemd-tmpfiles.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-systemd-udev-reload.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-systemd-update.hook'...
[2024-03-29T22:30:24-0400] [ALPM] running '30-update-mime-database.hook'...
[2024-03-29T22:30:25-0400] [ALPM] running '60-depmod.hook'...
[2024-03-29T22:30:26-0400] [ALPM] running '70-dkms-install.hook'...
[2024-03-29T22:30:26-0400] [ALPM-SCRIPTLET] ==> dkms install --no-depmod xone/0.3.r1.g2467407 -k 6.8.2-arch2-1
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 6.8.2-arch2-1 (x86_64)
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] Consult /var/lib/dkms/xone/0.3.r1.g2467407/build/make.log for more information.
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] ==> WARNING: `dkms install --no-depmod xone/0.3.r1.g2467407 -k 6.8.2-arch2-1' exited 10
[2024-03-29T22:30:27-0400] [ALPM] running '90-mkinitcpio-install.hook'...
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET] ==> Starting build: '6.8.2-arch2-1'
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2024-03-29T22:30:27-0400] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2024-03-29T22:30:28-0400] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2024-03-29T22:30:28-0400] [ALPM-SCRIPTLET]   -> Running build hook: [microcode]
[2024-03-29T22:30:28-0400] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2024-03-29T22:30:28-0400] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2024-03-29T22:30:30-0400] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Early uncompressed CPIO image generation successful
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET] ==> Starting build: '6.8.2-arch2-1'
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Running build hook: [microcode]
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2024-03-29T22:30:31-0400] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2024-03-29T22:30:33-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-03-29T22:30:36-0400] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2024-03-29T22:30:37-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2024-03-29T22:30:39-0400] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2024-03-29T22:30:39-0400] [ALPM-SCRIPTLET]   -> Running build hook: [resume]
[2024-03-29T22:30:39-0400] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2024-03-29T22:30:41-0400] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-03-29T22:30:41-0400] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2024-03-29T22:30:41-0400] [ALPM-SCRIPTLET]   -> Early uncompressed CPIO image generation successful
[2024-03-29T22:30:42-0400] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-03-29T22:30:42-0400] [ALPM] running 'detect-old-perl-modules.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gdk-pixbuf-query-loaders-32.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gio-querymodules.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gio-querymodules-32.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'glib-compile-schemas.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gtk4-querymodules.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'gvfsd.hook'...
[2024-03-29T22:30:43-0400] [ALPM] running 'rebuild-detector.hook'...
[2024-03-29T22:30:48-0400] [ALPM-SCRIPTLET] foreign	zoom
[2024-03-29T22:30:48-0400] [ALPM] running 'texinfo-install.hook'...
[2024-03-29T22:30:48-0400] [ALPM] running 'update-desktop-database.hook'...
[2024-03-29T22:30:48-0400] [ALPM] running 'vimdoc.hook'...
[2024-03-29T22:30:49-0400] [ALPM] running 'zz-snap-pac-post.hook'...
[2024-03-29T22:30:49-0400] [ALPM-SCRIPTLET] ==> root: 3213

system info:

$ uname -a
Linux 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux

# system details:
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.2-arch2-1 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
System Version: -CF

Last edited by crazybit (2024-03-30 05:31:45)

Offline

#3 2024-03-30 07:37:13

variousinputs
Member
Registered: 2024-03-30
Posts: 5

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Also having this issue. I am using KDE as a DE, can provide more info if it is needed. Don't want to jump to conclusions and say it was due to downgrading `xz` since KDE 6 is new and it could just be a random package. But +1ing this.

Also, I didn't downgrade `xz`. I simply upgraded it - so the issue might (probably is) completely unrelated. I'm on an Intel Thinkpad.

Last edited by variousinputs (2024-03-30 07:54:42)

Offline

#4 2024-03-30 07:44:03

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

systemctl status systemd-suspend.service

You're both usign btrfs and s2idle, tried the LTS kernel?
Can you still

echo mem | sudo tee /sys/power/state # if this works the system will fall asleep immediately, bypassing systemd!

Edit:

say it was due to downgrading `xz`

what version did you downgrade to? The others simply moved to the latest package version.

Last edited by seth (2024-03-30 07:45:38)

Offline

#5 2024-03-30 08:04:29

variousinputs
Member
Registered: 2024-03-30
Posts: 5

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

@Seth: I'm also using BTRFS. Didn't downgrade xz, just updated it. Sleep seems to work fine for me. Shutdown/reboot does not. I do not use suspend.

Just installed and tired LTS kernel. Works fine! Thanks for the advice, I appreciate it. I don't think this is xz is related. Probably just related to the kernel, but there is understandable paranoia about xz lol.

Also, as a small edit, I waited like 15 minutes and the current, non LTS kernel just never rebooted or shutdown. So, if anyone else is facing this issue - try LTS first.

Last edited by variousinputs (2024-03-30 08:05:24)

Offline

#6 2024-03-30 10:31:19

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,867
Website

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Using the LTS kernel is not a fix because the regression will eventually migrate to that branch if it is not fixed in the mainline kernel. Submit a bug report to the kernel developers if you want this problem fixed.


Juri divino omnia sunt communia

Offline

#7 2024-03-30 15:11:16

variousinputs
Member
Registered: 2024-03-30
Posts: 5

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Head_on_a_Stick wrote:

Using the LTS kernel is not a fix because the regression will eventually migrate to that branch if it is not fixed in the mainline kernel. Submit a bug report to the kernel developers if you want this problem fixed.

Obviously, should I edit my post to specify I meant it was a "band-aid" and not a "fix"?

Offline

#8 2024-03-30 15:11:29

fedcal
Member
Registered: 2024-03-30
Posts: 1

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Similar issue for me. No issues with suspend, just with shutdown. Something hangs during shutdown:

systemd-udevd[387]: 3-4: Worker [396] processing SEQNUM=4195 is taking a long time

I couldn't figure out the cause. I haven't downgraded. I only updated. I'm also using btrfs, so maybe it's related to that. Additionally, I'm experiencing weird behavior with Bluetooth. I'm unsure if these two issues are correlated.

Furthermore, the inconsistency is notable. Sometimes it shuts down properly, sometimes it doesn't.

I would like to submit a bug report, but since I'm not sure of the cause, I'm uncertain which information to provide or where to submit it. If someone with more expertise could do it, it would be greatly appreciated.

Offline

#9 2024-03-30 15:58:48

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Not sure this is kernel upstream related. jthvai upgraded to the same kernel when he started to see this issue: (6.8.2.arch1-1 -> 6.8.2.arch2-1)

echo mem | sudo tee /sys/power/state

does not work:

$ echo mem | sudo tee /sys/power/state
mem
tee: /sys/power/state: Device or resource busy
$ sudo systemctl status systemd-suspend.service
× systemd-suspend.service - System Suspend
     Loaded: loaded (/usr/lib/systemd/system/systemd-suspend.service; static)
     Active: failed (Result: exit-code) since Sat 2024-03-30 01:07:59 EDT; 8h ago
       Docs: man:systemd-suspend.service(8)
    Process: 8812 ExecStart=/usr/lib/systemd/systemd-sleep suspend (code=exited, status=1/FAILURE)
   Main PID: 8812 (code=exited, status=1/FAILURE)
        CPU: 1.485s

Mar 30 01:07:19 threadripper systemd[1]: Starting System Suspend...
Mar 30 01:07:19 threadripper systemd-sleep[8812]: Performing sleep operation 'suspend'...
Mar 30 01:07:59 threadripper systemd-sleep[8812]: Failed to put system to sleep. System resumed again: Device or resource busy
Mar 30 01:07:59 threadripper systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 01:07:59 threadripper systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Mar 30 01:07:59 threadripper systemd[1]: Failed to start System Suspend.
Mar 30 01:07:59 threadripper systemd[1]: systemd-suspend.service: Consumed 1.485s CPU time.

$ sudo systemctl status systemd-hibernate.service
× systemd-hibernate.service - System Hibernate
     Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
     Active: failed (Result: exit-code) since Sat 2024-03-30 01:00:34 EDT; 8h ago
       Docs: man:systemd-hibernate.service(8)
    Process: 8435 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)
   Main PID: 8435 (code=exited, status=1/FAILURE)
        CPU: 5.457s

Mar 30 01:00:09 threadripper systemd[1]: Starting System Hibernate...
Mar 30 01:00:09 threadripper systemd-sleep[8435]: Performing sleep operation 'hibernate'...
Mar 30 01:00:34 threadripper systemd-sleep[8435]: Failed to put system to sleep. System resumed again: Device or resource busy
Mar 30 01:00:34 threadripper systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 01:00:34 threadripper systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
Mar 30 01:00:34 threadripper systemd[1]: Failed to start System Hibernate.
Mar 30 01:00:34 threadripper systemd[1]: systemd-hibernate.service: Consumed 5.457s CPU time.

Offline

#10 2024-03-30 16:04:28

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

There're very few changes between v6.8.2-arch2 and v6.8.2-arch1 https://github.com/archlinux/linux/comm … 8.2-arch2/
Are we sure that 6.8.2.arch1-1 still worked fine?

Offline

#11 2024-03-30 17:49:34

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Hi all

I am experiencing the same issues for months, that is that i can not shutdown or reboot, it just stucks. I do not experience the same problem with linux-lts or linux-zen kernel.

I don't  think there will be the same problems with LTS kernel in future because LTS and "normal" (or zen) kernel have different kernel config settings. Here is the problem.

Here are spme difference between "normal" and zen kernel:

root@laptop /tmp # colordiff main.cfg zen2.cfg
3c3
< # Linux/x86 6.8.2-arch1 Kernel Configuration
---
> # Linux/x86 6.8.2-zen2 Kernel Configuration
29a30
> CONFIG_ZEN_INTERACTIVE=y
200a202
> # CONFIG_SCHED_ALT is not set
264c266,267
< CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
---
> # CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
> CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y
406a410,422
> # CONFIG_MK8SSE3 is not set
> # CONFIG_MK10 is not set
> # CONFIG_MBARCELONA is not set
> # CONFIG_MBOBCAT is not set
> # CONFIG_MJAGUAR is not set
> # CONFIG_MBULLDOZER is not set
> # CONFIG_MPILEDRIVER is not set
> # CONFIG_MSTEAMROLLER is not set
> # CONFIG_MEXCAVATOR is not set
> # CONFIG_MZEN is not set
> # CONFIG_MZEN2 is not set
> # CONFIG_MZEN3 is not set
> # CONFIG_MZEN4 is not set
409a426,447
> # CONFIG_MNEHALEM is not set
> # CONFIG_MWESTMERE is not set
> # CONFIG_MSILVERMONT is not set
> # CONFIG_MGOLDMONT is not set
> # CONFIG_MGOLDMONTPLUS is not set
> # CONFIG_MSANDYBRIDGE is not set
> # CONFIG_MIVYBRIDGE is not set
> # CONFIG_MHASWELL is not set
> # CONFIG_MBROADWELL is not set
> # CONFIG_MSKYLAKE is not set
> # CONFIG_MSKYLAKEX is not set
> # CONFIG_MCANNONLAKE is not set
> # CONFIG_MICELAKE is not set
> # CONFIG_MCASCADELAKE is not set
> # CONFIG_MCOOPERLAKE is not set
> # CONFIG_MTIGERLAKE is not set
> # CONFIG_MSAPPHIRERAPIDS is not set
> # CONFIG_MROCKETLAKE is not set
> # CONFIG_MALDERLAKE is not set
> # CONFIG_MRAPTORLAKE is not set
> # CONFIG_MMETEORLAKE is not set
> # CONFIG_MEMERALDRAPIDS is not set
410a449,453
> # CONFIG_GENERIC_CPU2 is not set
> # CONFIG_GENERIC_CPU3 is not set
> # CONFIG_GENERIC_CPU4 is not set
> # CONFIG_MNATIVE_INTEL is not set
> # CONFIG_MNATIVE_AMD is not set
513,515c556,558
< CONFIG_HZ_300=y
< # CONFIG_HZ_1000 is not set
< CONFIG_HZ=300
---
> # CONFIG_HZ_300 is not set
> CONFIG_HZ_1000=y
> CONFIG_HZ=1000
1142c1185
< CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1
---
> CONFIG_COMPACT_UNEVICTABLE_DEFAULT=0
2891a2935
> CONFIG_VHBA=m
4731a4776
> CONFIG_I2C_NCT6775=m
10252c10297,10300
< # CONFIG_ANDROID_BINDER_IPC is not set
---
> CONFIG_ANDROID_BINDER_IPC=y
> CONFIG_ANDROID_BINDERFS=y
> CONFIG_ANDROID_BINDER_DEVICES=""
> # CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
11755d11802
<

Last edited by Shark (2024-03-30 18:06:18)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#12 2024-03-30 21:27:59

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Fixed?

This seems to be a userspace issue, for me at least.

After doing a sudo pacman -Syu again today, I no longer have this issue. Nothing related to the kernel was upgraded today.

I also had a few bluetooth related shenanigans such as

kernel: Bluetooth: hci0: Reading Intel version command failed (-110)

like fedcal mentioned in his post.

After my -Syu like 1 hour ago, I tried rebooting 3 times, and have tried to hibernate about 5 times. All were successful. Here's hoping it stays that way.

My sudo pacman -Syu log that seems to have "fixed" the issue:

[2024-03-30T16:09:59-0400] [PACMAN] Running 'pacman -Syu'
[2024-03-30T16:09:59-0400] [PACMAN] synchronizing package lists
[2024-03-30T16:09:59-0400] [PACMAN] starting full system upgrade
[2024-03-30T16:10:06-0400] [ALPM] running '00-informant.hook'...
[2024-03-30T16:10:08-0400] [ALPM-SCRIPTLET] There are no unread news items
[2024-03-30T16:10:08-0400] [ALPM] running '05-snap-pac-pre.hook'...
[2024-03-30T16:10:08-0400] [ALPM-SCRIPTLET] ==> root: 3234
[2024-03-30T16:10:08-0400] [ALPM] running 'ghc-unregister.hook'...
[2024-03-30T16:10:08-0400] [ALPM] transaction started
[2024-03-30T16:10:08-0400] [ALPM] upgraded plasma-activities (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:08-0400] [ALPM] upgraded libplasma (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:08-0400] [ALPM] upgraded bluedevil (1:6.0.2-3 -> 1:6.0.3-1)
[2024-03-30T16:10:08-0400] [ALPM] upgraded kdecoration (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:08-0400] [ALPM] upgraded knewstuff (6.0.0-4 -> 6.0.0-5)
[2024-03-30T16:10:09-0400] [ALPM] upgraded breeze (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded breeze-gtk (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded openexr (3.2.3-1 -> 3.2.4-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded libaccounts-glib (1.26-2 -> 1.27-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded discover (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded drkonqi (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded freetds (1.4.10-1 -> 1.4.11-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-foldable1-classes-compat (0.1-67 -> 0.1-69)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-indexed-traversable (0.1.3-59 -> 0.1.3-61)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-unordered-containers (0.2.20-13 -> 0.2.20-14)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-indexed-traversable-instances (0.1.1.2-39 -> 0.1.1.2-40)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-comonad (5.0.8-251 -> 5.0.8-253)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-bifunctors (5.6-67 -> 5.6-69)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-semigroupoids (5.3.7-137 -> 5.3.7-138)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-assoc (1.0.2-256 -> 1.0.2-258)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-these (1.1.1.1-257 -> 1.1.1.1-259)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-semialign (1.2.0.1-155 -> 1.2.0.1-156)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-strict (0.4.0.1-230 -> 0.4.0.1-232)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-witherable (0.4.2-96 -> 0.4.2-97)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-aeson (2.1.2.1-42 -> 2.1.2.1-43)
[2024-03-30T16:10:09-0400] [ALPM] upgraded haskell-regex-tdfa (1.3.2.2-39 -> 1.3.2.2-40)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kactivitymanagerd (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kde-cli-tools (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kde-gtk-config (6.0.2-4 -> 6.0.3-2)
[2024-03-30T16:10:09-0400] [ALPM] upgraded libtommath (1.2.1-1 -> 1.3.0-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kdenlive (24.02.1-1 -> 24.02.1-2)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kglobalacceld (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded layer-shell-qt (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded libkscreen (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kscreenlocker (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kwayland (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kwin (6.0.2-3 -> 6.0.3.1-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded plasma-activities-stats (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded kpipewire (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded libksysguard (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded ksystemstats (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded milou (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded ocean-sound-theme (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:09-0400] [ALPM] upgraded qqc2-breeze-style (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded xdg-desktop-portal-kde (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded plasma-integration (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded plasma5support (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded plasma-workspace (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kdeplasma-addons (6.0.2-4 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kgamma (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kimageannotator (0.7.1-2 -> 0.7.1-3)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kimageannotator-qt5 (0.7.1-2 -> 0.7.1-3)
[2024-03-30T16:10:10-0400] [ALPM] upgraded systemsettings (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kinfocenter (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kmenuedit (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kscreen (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded ksshaskpass (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded ktextaddons (1.5.3-4 -> 1.5.4-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kwallet-pam (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kwayland-integration (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded kwrited (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:10-0400] [ALPM] upgraded lib32-gnutls (3.8.3-1 -> 3.8.4-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded oxygen (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded oxygen-sounds (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-browser-integration (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded polkit-kde-agent (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded powerdevil (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-desktop (6.0.2-4 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-disks (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-firewall (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-nm (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-pa (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-sdk (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-systemmonitor (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-thunderbolt (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-vault (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded plasma-workspace-wallpapers (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded print-manager (1:6.0.2-3 -> 1:6.0.3-1)
[2024-03-30T16:10:11-0400] [ALPM] upgraded python-nest-asyncio (1.6.0-1 -> 1.6.0-2)
[2024-03-30T16:10:11-0400] [ALPM] upgraded python-ipykernel (6.29.3-2 -> 6.29.4-1)
[2024-03-30T16:10:12-0400] [ALPM] upgraded qbittorrent (4.6.3-1 -> 4.6.4-1)
[2024-03-30T16:10:12-0400] [ALPM] upgraded sddm-kcm (6.0.2-3 -> 6.0.3-1)
[2024-03-30T16:10:12-0400] [ALPM] upgraded shellcheck (0.10.0-1 -> 0.10.0-2)
[2024-03-30T16:10:12-0400] [ALPM] upgraded suitesparse (7.6.1-1 -> 7.7.0-1)
[2024-03-30T16:10:12-0400] [ALPM] upgraded svt-hevc (1.5.1-2 -> 1.5.1-3)
[2024-03-30T16:10:12-0400] [ALPM] transaction completed
[2024-03-30T16:10:12-0400] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2024-03-30T16:10:13-0400] [ALPM] running '30-systemd-daemon-reload-user.hook'...
[2024-03-30T16:10:13-0400] [ALPM] running '30-systemd-update.hook'...
[2024-03-30T16:10:13-0400] [ALPM] running '30-update-mime-database.hook'...
[2024-03-30T16:10:13-0400] [ALPM] running 'dbus-reload.hook'...
[2024-03-30T16:10:13-0400] [ALPM] running 'ghc-register.hook'...
[2024-03-30T16:10:14-0400] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-03-30T16:10:14-0400] [ALPM] running 'rebuild-detector.hook'...
[2024-03-30T16:10:16-0400] [ALPM] running 'update-desktop-database.hook'...
[2024-03-30T16:10:16-0400] [ALPM] running 'zz-snap-pac-post.hook'...
[2024-03-30T16:10:17-0400] [ALPM-SCRIPTLET] ==> root: 3235

Last edited by crazybit (2024-03-30 21:30:51)

Offline

#13 2024-03-30 22:33:10

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

@crazybit, might have been unrelated - did you ever check the shutdown/reboot behavior?
@Shark, "I am experiencing the same issues for months, that is that i can not shutdown or reboot, it just stucks." means it's likely not what several people experience right now. Does the system properly shutdown and just not power off or does the entire shutdown process fail? Or is it https://bbs.archlinux.org/viewtopic.php?id=236722 ?

Offline

#14 2024-03-30 22:47:59

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

seth wrote:

@crazybit, might have been unrelated - did you ever check the shutdown/reboot behavior?

Yes, it looked almost exactly like what's in jthvai's screenshot. It would also stop on "Rebooting...".  I just had extra errors like "unable to unmount /home".

FYI: I noticed that if I changed VT's, there would be more logs that happened (time wise) past the "Rebooting." (which is where I found out about the "unable to unmount" if I remember correctly). Literally, I would get the "Rebooting." line, then I would change the VT and get more output for about 10 seconds. After that, nothing on any VT and the main VT would be stuck at "Rebooting."

I had to physically reboot / power off via my physical buttons on my computer case. So basically, cut the power.

Last edited by crazybit (2024-03-30 22:51:37)

Offline

#15 2024-03-30 23:38:34

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

I just had extra errors like "unable to unmount /home".

That typically happens because some process refused to die, did you wait for a long time (90s minimum) to have systemd killed those offenders?

Offline

#16 2024-03-31 00:20:39

jthvai
Member
Registered: 2023-11-03
Posts: 13

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

There're very few changes between v6.8.2-arch2 and v6.8.2-arch1 https://github.com/archlinux/linux/comm … 8.2-arch2/
Are we sure that 6.8.2.arch1-1 still worked fine?

@seth I also thought that was very strange. I am reasonably (~70%?) sure that 6.8.2.arch1-1 worked fine, since I remember an issue with suspending happening first but I had definitely tried shutting down on .2.arch1 (which became .2.arch2 on the next boot) according to my journalctl.

Edit (after finding the solution): the WiFi/BT chip firmware only resets on a full shutdown. I probably only soft rebooted to get to 6.8.2.arch1-1.

I would like to submit a bug report, but since I'm not sure of the cause, I'm uncertain which information to provide or where to submit it. If someone with more expertise could do it, it would be greatly appreciated.

I'm in much of the same bucket, hence this forum thread. I'm not even sure whose bug this is; at this point it seems likely it is the kernel (though the tiny diff between .2.arch1 and .2.arch2 makes that kind of absurd), but I feel that there is a possibility that this is a regression caused by one of the many things that dynamically link to xz, which was updated.

I will test whether the behaviour still exists if I never mount my BTRFS volume (my root is EXT4).
Edit: Yes, the issue still exists before the system even knows there is a BTRFS volume to mount. Seems it has nothing to do with BTRFS.

After doing a sudo pacman -Syu again today,

This has not been fixed for me today sad. I've done 2 shutdowns so far after the update and neither worked.

Last edited by jthvai (2024-04-01 14:12:55)

Offline

#17 2024-03-31 00:28:01

crazybit
Member
Registered: 2021-03-26
Posts: 16

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

seth wrote:

I just had extra errors like "unable to unmount /home".

That typically happens because some process refused to die, did you wait for a long time (90s minimum) to have systemd killed those offenders?

Honestly I do not know and did not take a picture, which I regret. I suspect that I did wait over 90s since I waited on the original VT then had the idea of switching VT then waited again. But whether that was 60s or 200s I cannot say. But this was only one time on one boot. Other times I just booted, waited 30 or so seconds, then tried hibernate for testing purposes and it would do the same thing, get  stuck at "Rebooting.". I did this multiple times.

Note: I tend to always use hibernate (daily), and just also tried suspend for testing. Like i mentioned before, both suspend & hibernate had the same issue getting stuck at "Rebooting.". Now both work, and I'll be using hibernate from now on like usual.

This is my work desktop, so I cannot just reboot / shutdown / test willy nilly.

Offline

#18 2024-03-31 01:07:25

jthvai
Member
Registered: 2023-11-03
Posts: 13

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

A shot in the dark - people with this issue, are you all on AMD CPUs? My friend on an Intel CPU is not having the problem.

Offline

#19 2024-03-31 01:25:41

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

I have two machines with intel cpu running Arch with the same kernel, one of them hangs often when rebooting or shuting down.
https://bbs.archlinux.org/viewtopic.php?pid=2161111

Offline

#20 2024-03-31 01:27:02

jthvai
Member
Registered: 2023-11-03
Posts: 13

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

I have two machines with intel cpu running Arch with the same kernel, one of them hangs often when rebooting or shuting down.
https://bbs.archlinux.org/viewtopic.php?pid=2161111

*quietly puts yet another theory in the bin with a sob*

Are you able to find any meaningful differences between these two machines?

Last edited by jthvai (2024-03-31 01:27:27)

Offline

#21 2024-03-31 02:32:03

variousinputs
Member
Registered: 2024-03-30
Posts: 5

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

jthvai wrote:

A shot in the dark - people with this issue, are you all on AMD CPUs? My friend on an Intel CPU is not having the problem.

I'm using Intel (with integrated graphics). Have this issue.

Also, I'm a filthy liar. LTS kernel does it too. It didn't the first time, but subsequent boots are doing the same thing.

I could always nuke my Arch install and try to reinstall from scratch and see if the issue persists in a clean environment - fwiw I'm using btrfs and luks encryption. Nothing looks out of the ordinary to me in logs. Everything unmounts, and then it literally reaches system power off and just hangs there.

Offline

#22 2024-03-31 02:34:38

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

recent versions of default and lts kernels are buggy
https://www.reddit.com/r/archlinux/comm … _shutdown/

Offline

#23 2024-03-31 02:59:51

jthvai
Member
Registered: 2023-11-03
Posts: 13

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

recent versions of default and lts kernels are buggy
https://www.reddit.com/r/archlinux/comm … _shutdown/

Linking https://bbs.archlinux.org/viewtopic.php?id=294292 (from reddit)

I do have an Intel Corp. AX200 Bluetooth

Last edited by jthvai (2024-03-31 03:00:03)

Offline

#24 2024-03-31 03:02:10

variousinputs
Member
Registered: 2024-03-30
Posts: 5

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

Strangiato wrote:

recent versions of default and lts kernels are buggy
https://www.reddit.com/r/archlinux/comm … _shutdown/

Good catch! I also noticed an open issue in Ubuntu https://bugs.launchpad.net/ubuntu/+sour … ug/2059738

For what it is worth, someone in the Reddit thread said disabling Wi-Fi and Bluetooth in their UEFI fixed the issue. It looks like that might have fixed it for me too. I'm trying with WiFi enabled but Bluetooth disabled (since I don't use Bluetooth all that often) and I tried a few shutdowns and reboots and they all worked with WiFi only.

I'm going to try a few more shutdowns and reboots and see if it still shuts down now. (also if you have a Thinkpad, it's under Security -> I/O Port Access).

Offline

#25 2024-03-31 03:02:57

jthvai
Member
Registered: 2023-11-03
Posts: 13

Re: [SOLVED] Unable to suspend/shutdown after upgrading `linux`

The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-03-30 17:27:01 UTC
Fix now queued for the next release of all affected stable/longterm series

From https://bugzilla.kernel.org/show_bug.cgi?id=218651

Possibly good news?

Offline

Board footer

Powered by FluxBB