Skip to content

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.

2 points4 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
2 · 100% up
Kind
Text
ID
79vsxs

Author

8
posts
19
comments
0
media
View profile

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

3 points

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.

1 points

Have you looked in the journal?

1 points

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.

1 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.