Installation with Zen 2
I’ve seen a few posts about Arch having issues with Ryzen 3rd gen, but they seem to have different answers. Some say it’s fixed, others say there’s a workaround and some say it’s not working at all, google gave me similar results.
Can someone advise if the issue has been fixed? Or how to use the workaround?
My CPU arrives next week, want to make sure I can install/boot my OS without any problems.
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- ceucuj
7 comments
There is a problem with the RdRand x86 instruction on the new ryzen CPUs. Obviously, the issue affects all platforms but it seems Windows doesn't use RdRand for much. Unfortunately for Arch, systemd relies on RdRand and without a working init system it's hard to boot.
So as a temporary measure, a patch for systemd was published and applied downstream to work around the deficiency in these CPUs. The latest systemd package in core has this patch applied. The latest official iso's systemd (07-01) does not.
AMD has acknowledged the issue and has made a BIOS update said to fix the problem available to motherboard vendors. So you'll have to investigate if that update is available to you.
If it is not available to you, you can either wait for either the BIOS update or a new iso, or roll your own iso following instructions from the wiki to use the latest systemd.
Thanks for your answer, glad it’s cleared up now. My CPU and Motherboard aren’t due to arrive till next week, so maybe there will be a new ISO or BIOS update by then, I’ll take a look at the wiki now so I can see what I need to do if that’s not the case.
there's usually a new ISO on the first of every month, so in the worst case, you may have to wait until August 1st.
if you don't have the BIOS update before then and don't want to wait, you could try older ISOs. I remember reading that someone was able to get one to boot on Zen 2, but they didn't say which one.
Would you mind linking me to the wiki page for rolling my own ISO? Things like "build arch", "compile arch", "roll your own ISO" etc. return nothing of relevance. I'm trying to build from Kubuntu, if that makes a difference.
You can make any modification you like to ISO using the original tooling if you can figure out how to get it on your system. Here's a wiki page with details: https://wiki.archlinux.org/index.php/Remastering_the_Install_ISO
If that seems too hard and you just need to install arch on one of these bad CPUs, maybe just find a very old iso instead. Only modern versions of systemd rely on RdRand and require a patch. If you find an ISO old enough that it includes a systemd that does not rely on RdRand then I bet you can install that and just update to the patched systemd from that working system.
It can be bothersome updating really dated arch systems so you might want to find the newest working ISO. I just checked the systemd-stable NEWS and I think RDRAND became preferred in v240 which released in late Dec 2018. So by my guess the dec 2018 or maybe jan 2019 arch isos are probably the most recent.
Here's a list of archived isos https://archive.archlinux.org/iso/ if you want.