This is not the first RNG bug on Zen 2, I recall after I first got mine that some application or other would quit immediately at startup because rdrand always returned -1, i.e. all 1s. It was fixed with a microcode update.
Do we now learn that they fixed "always generate all 1s" with "never generate all 0s"??
EDIT: I've been unable to reproduce the problem on my CPU, FWIW. It's a Ryzen 5 3600.
EDIT2: OK, update, I can reproduce it with rdrand16, rdrand32 is fine but rdrand16 can never generate all 0s. So my CPU does have this problem!
And for the full fail story behind it, fail0verflow hacking the PS3 presentation is great and covers the bug:
<a href="https://youtu.be/DUGGJpn2_zY" rel="nofollow">https://youtu.be/DUGGJpn2_zY
Most of the console hacking talks are great, both informative and entertaining.
That seems impossible (unless maybe you meant to write "predates", and even then it seems to only be about 3 years).
The comic was published on 9 February 2007 [0].
The PS3 was first released in November 2006. I haven't watched the video yet, but its description says "2010 saw the first hacks for the Playstation 3".
jstanley · · focus · HN ↗
Do we now learn that they fixed "always generate all 1s" with "never generate all 0s"??
EDIT: I've been unable to reproduce the problem on my CPU, FWIW. It's a Ryzen 5 3600.
EDIT2: OK, update, I can reproduce it with rdrand16, rdrand32 is fine but rdrand16 can never generate all 0s. So my CPU does have this problem!
yk · · focus · HN ↗
Gander5739 · · focus · HN ↗
lathiat · · focus · HN ↗
Most of the console hacking talks are great, both informative and entertaining.
einsteinx2 · · focus · HN ↗
That presentation is awesome though, worth a watch either way!
adastra22 · · focus · HN ↗
Liquid_Fire · · focus · HN ↗
The comic was published on 9 February 2007 [0].
The PS3 was first released in November 2006. I haven't watched the video yet, but its description says "2010 saw the first hacks for the Playstation 3".
[0] <a href="https://xkcd.com/221/info.0.json" rel="nofollow">https://xkcd.com/221/info.0.json