Skip to content

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.

1 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
ceucuj

Author

41
posts
179
comments
2
media
View profile

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.

6 points

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.

2 points

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.

1 points

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.