Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Ryzen system instability - random hangs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
moult
Retired Dev
Retired Dev


Joined: 31 Mar 2008
Posts: 146
Location: Australia

PostPosted: Tue Dec 12, 2017 10:39 am    Post subject: [SOLVED] Ryzen system instability - random hangs Reply with quote

Just got a brand new desktop a few weeks ago. AMD Ryzen 5 1600X 6-core 3.6Ghz CPU. 4GB NVIDIA Geforce GTC 1050 Ti Graphics. Noticed a couple random freezes where the screen would still display but mouse and keyboard would have no response. Just now experienced a random reboot. UEFI system. Checked /var/log/messages for hints, here are some things I found. Could they be the cause, and what do they mean?

Code:
Dec 12 21:27:29 dooby kernel: [    8.527401] NVRM: Your system is not currently configured to drive a VGA console
Dec 12 21:27:29 dooby kernel: [    8.527401] on the primary VGA device. The NVIDIA Linux graphics driver
Dec 12 21:27:29 dooby kernel: [    8.527401] requires the use of a text-mode VGA console. Use of other console
Dec 12 21:27:29 dooby kernel: [    8.527401] drivers including, but not limited to, vesafb, may result in
Dec 12 21:27:29 dooby kernel: [    8.527401] corruption and stability problems, and is not supported.


Here is the context around the time of the restart just now:

Code:

... snip ...
Dec 12 21:00:06 dooby syslogd 1.5.1: restart.
Dec 12 21:01:22 dooby kernel: [   99.765748] IPv6: ADDRCONF(NETDEV_UP): wlp38s0f3u1: link is not ready
Dec 12 21:01:22 dooby kernel: klogd 1.5.1, ---------- state change ----------
Dec 12 21:01:22 dooby kernel: Loaded 149145 symbols from 189 modules.
Dec 12 21:01:23 dooby kernel: [  101.034496] wlp38s0f3u1: authenticate with 6c:19:8f:c1:16:7c
Dec 12 21:01:24 dooby kernel: [  101.228630] wlp38s0f3u1: send auth to 6c:19:8f:c1:16:7c (try 1/3)
Dec 12 21:01:24 dooby kernel: [  101.275957] wlp38s0f3u1: authenticated
Dec 12 21:01:24 dooby kernel: [  101.277546] wlp38s0f3u1: associate with 6c:19:8f:c1:16:7c (try 1/3)
Dec 12 21:01:24 dooby kernel: [  101.281414] wlp38s0f3u1: RX AssocResp from 6c:19:8f:c1:16:7c (capab=0x411 status=0 aid=4)
Dec 12 21:01:24 dooby kernel: [  101.287248] wlp38s0f3u1: associated
Dec 12 21:01:24 dooby kernel: [  101.287281] IPv6: ADDRCONF(NETDEV_CHANGE): wlp38s0f3u1: link becomes ready
Dec 12 21:27:28 dooby syslogd 1.5.1: restart.
Dec 12 21:27:29 dooby kernel: klogd 1.5.1, log source = /proc/kmsg started.
Dec 12 21:27:29 dooby kernel: Cannot find map file.
Dec 12 21:27:29 dooby kernel: Loaded 149145 symbols from 189 modules.
Dec 12 21:27:29 dooby kernel: [    0.000000] Linux version 4.12.12-gentoo (root@sysresccd) (gcc version 6.4.0 (Gentoo 6.4.0 p1.1) ) #1 SMP Tue Nov 28 09:55:21 AEDT 2017
Dec 12 21:27:29 dooby kernel: [    0.000000] Command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.12.12-gentoo root=UUID=47e3d4e4-129b-4e4f-87a4-b3d5645183fb ro
Dec 12 21:27:29 dooby kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Dec 12 21:27:29 dooby kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Dec 12 21:27:29 dooby kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Dec 12 21:27:29 dooby kernel: [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Dec 12 21:27:29 dooby kernel: [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
Dec 12 21:27:29 dooby kernel: [    0.000000] e820: BIOS-provided physical RAM map:
Dec 12 21:27:29 dooby kernel: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
Dec 12 21:27:29 dooby kernel: [    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Dec 12 21:27:29 dooby kernel: [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009d7ffff] usable
Dec 12 21:27:29 dooby kernel: [    0.000000] BIOS-e820: [mem 0x0000000009d80000-0x0000000009ffffff] reserved
... snip ...


Ideas?
_________________
thinkMoult - I write articles online. You might like some of them.
Planet Larry - do you write a blog and use Gentoo? Get your blog added to the Planet Larry Gentoo user blog aggregator!


Last edited by moult on Tue Jan 16, 2018 8:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sun Dec 17, 2017 10:19 pm    Post subject: Reply with quote

Not directly, but I noticed a little wonkiness on a new UEFI desktop of mine. Simply reinstalling Gentoo fixed it for me. Most likely something was skipped during installation and I overlooked it.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Dec 18, 2017 1:06 am    Post subject: Reply with quote

One thing you may want to keep an eye on, (hopefully is not the issue), if the system is overheating or not. I have experienced multiple times where the system locks up and/or restarts due to overheating. Another possibility could be an hardware issue. My lasts system had it in that it would lock up and reboot on me for no apparent reason, which ended up being a case of one of my memory sticks completely failing (that stick as a whole ended up failing to where the system wouldn't boot with it in).
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Dec 18, 2017 2:35 am    Post subject: Re: System instability - random hangs and now restart Reply with quote

moult wrote:
AMD Ryzen 5 1600X 6-core 3.6Ghz CPU...a couple random freezes

You've check amd ryzen thread? Specially Chiitoo's hint as it perfectly match your case
https://forums.gentoo.org/viewtopic-p-8136240.html#8136240
Back to top
View user's profile Send private message
moult
Retired Dev
Retired Dev


Joined: 31 Mar 2008
Posts: 146
Location: Australia

PostPosted: Thu Dec 28, 2017 10:20 am    Post subject: Reply with quote

Just hung again today and as the Christmas period cools down I decided to do another pastebin with a bit more context: https://pastebin.com/EhQHCxVn

Chiitoo's issue (https://bugzilla.kernel.org/show_bug.cgi?id=196683) does indeed match my case. I will attempt the workarounds and attempt to get a week long uptime before I mark this as solved.
_________________
thinkMoult - I write articles online. You might like some of them.
Planet Larry - do you write a blog and use Gentoo? Get your blog added to the Planet Larry Gentoo user blog aggregator!
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2573
Location: Here and Away Again

PostPosted: Fri Dec 29, 2017 2:40 am    Post subject: ><)))°€ Reply with quote

Which AGESA are you running with?

I got my post 25-week Ryzen finally some time ago, and haven't had any (hard) freezes with this:

Code:
PRIME X370-A BIOS 3401
Update to AGESA 1071 for new upcoming processors

I do however get mini-freezes (around 5 seconds) of the whole desktop (audio keeps going), but I'm not sure it's Ryzen-related...

Tends to happen when there is an SDL-using game running, and I play video stuff. Or some similar things (any hover-tips like from Steam, or LXQt seem to often trigger it).
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
moult
Retired Dev
Retired Dev


Joined: 31 Mar 2008
Posts: 146
Location: Australia

PostPosted: Tue Jan 16, 2018 10:10 am    Post subject: Reply with quote

Solved by disabling state C6 manually with zenstates.py script on the kernel bug page. No more hangs to report.
_________________
thinkMoult - I write articles online. You might like some of them.
Planet Larry - do you write a blog and use Gentoo? Get your blog added to the Planet Larry Gentoo user blog aggregator!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jan 16, 2018 10:31 am    Post subject: Reply with quote

maybe not a bad idea to put "ryzen" in the title, so ryzen users will find easier your thread no?
Back to top
View user's profile Send private message
moult
Retired Dev
Retired Dev


Joined: 31 Mar 2008
Posts: 146
Location: Australia

PostPosted: Tue Jan 16, 2018 8:44 pm    Post subject: Reply with quote

Done
_________________
thinkMoult - I write articles online. You might like some of them.
Planet Larry - do you write a blog and use Gentoo? Get your blog added to the Planet Larry Gentoo user blog aggregator!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum