[Linux] Freezes on Asrock X370 Taichi + C6 enabled |
Post Reply | Page <1 3456> |
Author | ||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
So, these freezes aren't related to RAM after all. It's apparently something to do with how C6 states are handled.
See: https://bugzilla.kernel.org/show_bug.cgi?id=196683 https://community.amd.com/message/2848556#comment-2848556 For now, I built a custom kernel as a workaround (with CONFIG_RCU_NOCB_CPU), and set rcu_nocbs=0-15 parameter, but it really means that CPU is defective or at least doesn't handle power states properly. AMD answered this to similar support request:
Latest ASRock firmware update doesn't seem to contain this fix. Can anyone from ASRock please confirm, if this fix is eventually coming to your firmware too? Edited by shmerl - 01 Mar 2018 at 2:52am |
||
MisterJ
Senior Member Joined: 19 Apr 2017 Status: Offline Points: 1097 |
Post Options
Thanks(0)
|
|
shmerl,this is a user forum and seldom do ASRock people post here. I would suggest you open an ASRock support ticket and ask them. I also suggest you ask AMD (AMD support ticket) and ask them to specify a SPECIFIC AGESA/UEFI/MICRODE that corrects this problem. Latest tells me nothing especially with the way AMD and ASRock release code. Please let us hear how you make out. Thanks and enjoy, John.
|
||
Fat1 X399 Pro Gaming, TR 1950X, RAID0 3xSamsung SSD 960 EVO, G.SKILL FlareX F4-3200C14Q-32GFX, Win 10 x64 Pro, Enermx Platimax 850, Enermx Liqtech TR4 CPU Cooler, Radeon RX580, BIOS 2.00, 2xHDDs WD
|
||
NeoTheFox
Newbie Joined: 02 Feb 2018 Location: Moscow Status: Offline Points: 52 |
Post Options
Thanks(0)
|
|
AFAIK enabling Cool'n'Quiet and/or C6 would make your Linux freeze. Same happens to me, but it looks like ASRock has nothing to do with it - it's a problem somewhere between the Ryzen CPU and Linux kernel. There are multiple bug reports about this issue and even software to mitigate it - http://github.com/qrwteyrutiyoup/ryzen-stabilizator .
Also some Ryzen CPUs segfault when you are compiling heavy software, and these can be RMA'd, as it is a recognized issue. |
||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
I had the segfault issue and already RMA'd the CPU. Many report, that replacements are actually more likely to get the C6 freeze bug. Disabling C6 though is a very crude workaround for these freezes. Using CONFIG_RCU_NOCB_CPU and rcu_nocbs=0-15 is a better one.
Personally, I consider buying Ryzen 2 which hopefully won't have this problem anymore (but can have new ones, haha). And thanks for the suggestions, I'll contact ASRock support directly about it. Edited by shmerl - 01 Mar 2018 at 6:24am |
||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
Browsing around my firmware settings, I found this one:
Advanced > AMD CBS > Zen Common Options > Power Supply Idle Control. I changed it from auto to low, let's see if it will help with stock kernel. |
||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
Still freezing with "low current idle". Testing now with "common current idle".
|
||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
I'm now also seeing this in dmesg:
And so on for all 16 virtual cores. |
||
shmerl
Groupie Joined: 23 Oct 2017 Status: Offline Points: 612 |
Post Options
Thanks(0)
|
|
That C-state 0x0 not supported by HW happens now always, so it's not related to my test above.
With Advanced > AMD CBS > Zen Common Options > Power Supply Idle Control set to "Common current idle" (instead of auto), I didn't get any freezes in a while, so I assume it's a valid workaround. I noticed what changes after it's set in the firmware, using zenstates.py: When set to auto (freezes happen):
when set to Common current idle (no freezes so far):
So apparently it disables package C6 state (while keeping core C6 state enabled)! Hopefully it can shed some light on what the problem is. I wonder if Ryzen 2 will be free of this issue. What exactly is "package" in this context? Is it still part of CPU, or it's something on the motherboard? Edited by shmerl - 07 Mar 2018 at 9:19am |
||
Prodif
Newbie Joined: 11 Apr 2017 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
|
ASRock x370 Taichi (bios v2.36) / Ryzen-1800X / Crucial CT16G4DFD824A x2 / GPU: AMD R9 NANO / SSD NVMe Samsung 960 PRO MZ-V6P1T0BW (M.2) / HDD SATA 3TB x6 / PSU: Corsair AX860i
ps. RedDragon, by AG |
||
Post Reply | Page <1 3456> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |