FPSportsR7 1700x | GTX 1060 | 16GB•

Not crashing for me after upgrading to latest stable kernel. Ubuntu 16.04

7
SkutoOP•

I don't know of any workaround committed to Linux yet, so you simply haven't encountered the issue -yet-.

0
FPSportsR7 1700x | GTX 1060 | 16GB•

It was crashing with the stock ubuntu kernel... I believe 4.3? With 4.11 I don't get crashes anymore...

2
SkutoOP•

This problem isn't about crashing the kernel (which 4.3 did because it had no support for Ryzen whatsoever), it's about a CPU bug that will cause userland applications to crash on heavy SMT load, and is not worked around in any Linux kernel right now.

Again, updating to the latest kernel won't do anything yet, it's not fixed on Ubuntu 16.04 (which is largely irrelevant to this anyway). If you are stable you simply haven't encountered the problem yet.

AMD's recommended fix so far is disabling SMT or the OPCache.

0
Caemyr•

So, the questions are now: is it limited to Linux (what about Windows MSYS/MinGW or Visual Studio), and if it can be fixed by AGESA/Bios update?

2
SkutoOP•

If it's related to IRET then the problem sits closer to how the OS handles interrupts and the compiler isn't relevant.

As for fixing it with a microcode update, it can for sure be fixed, the question is, can it be fixed without performance impact.

2
Anchor689Ryzen 1700X | Gigabyte AX370 Gaming 5 | RX 480 4GB•

Out of curiosity, what crashing is this in reference to? Been running Linux on my build for a bit over a month now and things have been relatively solid (aside from problems with my Gigabyte AX370 Gaming 5 making running Ubuntu a hassle). Not that it's been a totally problem-free experience, but curious if there is something I just haven't noticed yet.

2
jsabeyAMD Ryzen 1700, ASRock Fatal1ty X370 Pro, 64GB ECC, Ubuntu•

is this related to freezing/deadlocking or the segfaults when compiling? or are they the exact same thing?

2
orondf3431700 @ ~3.5 | AX370-G5 | 2x16 LPX @ 2933,14-17-17-34-54 | HD7770•

Hope this gets fixed soon, I have experienced two segfaults and many deadlocks in compiling the linux kernel

2
SkutoOP•

In the original support topic on amd.com, AMD now recommends either disabling SMT or (if offered by the mainboard) the OPCache (uop cache?): https://community.amd.com/message/2796982

There are some indications the problem is related to handling conditions near the edge of the address space, which is why fiddling with the address space randomization options help too.

Unlike reported earlier here, there's no relation to the GCC version in use nor does using a Ryzen aware GCC help anything.

1
JustFinishedBSG•

That's highly annoying

1