CPU stalls on shutdown/reboot
Hello everyone!
I recently installed Arch Linux on my PC, and since then I reinstalled it, since I had some stability issues.
However those issues don't seem to go away.
Sometimes when I reboot or shut down my PC, it won't reboot or turn off, instead it gets stuck on this error message that either one of the CPU threads took to long to complete a task, or the whole CPU stalled.
Error message: https://imgur.com/a/CoacXT9
What could be the issue, and how could I fix it?
Thanks in advance!
EDIT: After taking the advice of the people in the comments, I updated the BIOS of my mobo, and tried to find the setting that controls the C6 state, but I couldn't. After updating, the system locked up at first, but after rebooting, I'm not experiencing issues.
I will return to the thread if necessary
EDIT 2: PC crashed, while doing regular things (Journal [Pastebin])
EDIT 3: It is probably relevant, now that I think about it. I am running an NVIDIA GeForce 1050Ti, with the proprietary drivers, and nvidia modules loaded into(?) the initramfs so I can use Wayland
EDIT 4: Now I added a few more kernel arguments, based on the "Ryzen" wiki article and a comment. Now I will have to use the system a bit more to experience how it goes.
Current kernel parameters: loglevel=3 quiet splash nvidia_drm.modeset=1 amd_iommu=off rcu_nocbs=0-11 processor.max_cstate=1
EDIT 5: It seems like Wayland is very unstable in my case (probably due to using an NVIDIA GPU and mixing RAM kits), so I'm switching back to X11 until I can get the planned AMD GPU.
Edited 30 May 2023. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 24 · 96% up
- Kind
- Text
- ID
- 13tx652
17 comments
Deleted before we saved it.
I also had this problem with my Zen CPU. Changing some C-state and power settings fixed the issue just like the wiki says.
Did you install microcode
Yes, I have
amd-ucodeinstalled, because I have a Ryzen 5 5600GNot trying to be pedantic, but did you also actually load it and not just install it? (see here on how to check it).
You can also try updating your BIOS (usually a good idea).
Is this kde plasma perchance?
KDE Plasma, yes
5.27.5, Wayland
Does it still hang if you logout before shutting down?
A stop job is running!
That wouldn't be such a great problem as everything before that xD
Deleted before we saved it.
Try adding `amd_iommu=off` (yes, even if iommu is disabled in bios) to kernel options.
Are you using SDDM? https://bbs.archlinux.org/viewtopic.php?id=277831 Edit: NVM, actually looked at the log.
Deleted before we saved it.