Skip to content

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.

24 points15 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
24 · 96% up
Kind
Text
ID
13tx652

Author

49
posts
29
comments
5
media
View profile

17 comments

unknown author1 hidden

Deleted before we saved it.

6 points

I also had this problem with my Zen CPU. Changing some C-state and power settings fixed the issue just like the wiki says.

2 points

Did you install microcode

2 points

Yes, I have amd-ucode installed, because I have a Ryzen 5 5600G

1 points

Not 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).

3 points
unknown author

Deleted before we saved it.

1 points

Try adding `amd_iommu=off` (yes, even if iommu is disabled in bios) to kernel options.

1 points
unknown author

Deleted before we saved it.

-12 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.