DragonFlyBSD Gets Fix To Be Able To Boot AMD Zen 2 Processors

Written by Michael Larabel in BSD on 11 July 2019 at 07:01 AM EDT. 4 Comments
Separate from the Linux boot issue affecting AMD Ryzen 3000 (Zen 2) processors that has been attributed to RdRand, DragonFlyBSD is the first BSD at least we've seen getting a separate fix to be able to boot these new AMD processors.

DragonFlyBSD lead developer Matthew Dillon who has been mesmerized by the AMD Threadripper performance for the past year now has his hands on new Zen 2 hardware. But it turns out the current DragonFlyBSD releases can't boot with these processors due to a separate problem from what we've seen on the Linux side.

He explained when landing the fix, "Issue load_fs() in the AP bootstrap. It appears that Zen 2 handles %fs in a weird way when the selector isn't loaded, causing the first wrmsr(MSR_FSBASE) to quietly fail, and possibly others too. For good measure, also issue load_ds() and load_es()."

The three-line patch is now present in DragonFlyBSD Git and thus allowing their latest daily images to hopefully boot fine on all new AMD Zen 2 systems. I'll have some Zen 2 + BSD benchmarks in due course.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week