Konstantin Belousov
2018-Jul-27 13:00 UTC
Ryzen issues on FreeBSD ? (with sort of workaround)
On Fri, Jul 27, 2018 at 12:01:09PM +0100, Pete French wrote:> So, I have been running the patched kernel for quiet a while now, and it > works fine for me, but last night I did hit a surprising issue - the > Linux emulator does not work on Ryzen / Epyc. I tried this on two > machines (both with the patches) and it coredumps when simply running > bash on both of them. I copied the OS over to an Intel machine, and that > works fine. > > I have not tried running with an unpatched kernel on the Ryzen machine > (I dont have one to hand) but I did try applying the sysctls to the > Intel box to see if that wuld cause the Linux binaries to crash. It didn't.I highly doubt that this can be related. BTW, I forgot about the patch. If nothing happens, I will commit it today.
> I highly doubt that this can be related.Well, yes, it suroprised me too :-) Admittedly I dont have a very big samle set - I nly have one Ryzen box and a pair of Epyc boxes in Azure. but I cant make it run on any of them. I take the same OS and run it on Intel and its fine (literally I am cross-mounting /usr/sr and /usr/obj and doing an installworld on the Intel machine - its the same build). Will try and get this onto a USB key and test further though, so that I know the enivironment is the same.> BTW, I forgot about the patch. If nothing happens, I will commit it > today.Ah, thankyou, that would be great. -pete.
So, having been stable for quite sme time, I have had three lockups on my Ryzen in the last week. two were whilst I was in X11, but one happened over the weekend whilst I was looged out, and thus I could get a screenshot of what was on the console when I got in this morning: https://www.twisted.org.uk/~pete/ryzen_crash_img_20180810_104231.jpg Don't know if thats of any help. I noticed a new BIOS came out very recently, and I have updated my motherboard to that today, but these lockups did happen after quite a long period of stability, which surprises me. -pete.