Random Freeze, trying to figure out how to fix
so I've had this issue for a while. essentially, I get a random freeze that causes the computer to slow down, then stop, then turn off all perephials(mouse, keyboard, monitor, etc.) and then the ram light on my motherboard comes on. I think it may have something to do with having a Ryzen CPU. I had the same issue when I have fedora install, except now it only happens every other day, as opposed to every few hours. Oh yeah, it's not hardware based either, as I am dual booting windows and have yet to experience it in that environment. I have gnome as my default environment, and I've noticed it doesn't happen when I boot from the arch usb, and that as long as I don't log in, it doesn't do it no matter how long I leave it in that state. I'm going to try using i3 for a couple days and see if it makes a difference.
So any idea what could be causing this? it seems like a segfault.
hardware:
ryzen 5
rog strix x370 f motherboard
16gb ddr4 2800? Gskills ripjaws ram
gigabyte 1080 windforce
1 tb western digital hdd
256 gb samsung pro ssd
Edited 31 Oct 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 79vsxs
4 comments
Yeah, it's a problem with Ryzen on Linux only.
Try disabling c-states in the bios. You can also try disabling c6 state with this tool.
If it doesn't work you'll need to compile a custom kernel with CONFIG_RCU_NOCB_CPU enabled and then add "rcu_nocbs=0-11" (or amount of cores/threads you have) to the kernel boot parameters.
https://bugzilla.kernel.org/show_bug.cgi?id=196683
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690085
okay, this may be a stupid question. I'm following along the custom kernel config directions on the ABS manpage. I searched the x86_64 config file and didn't see that line, so do I just add it? or am I supposed to just modify the already existing config parameters.
also how will I know if I also need to change linux.install in the pkgbuild? they weren't very clear on that.
Have you looked in the journal?
I just checked the logs for when it shutdown yesterday, and it looks like it just stopped. everything was normal then the next thing it list is me rebooting it.