News for hackers. Stuff that matters.
Re:A months-old AMD microcode bug destroyed my weekend by amelius on Tuesday October 29, 2019 @08:32AM (#21386374)
This assumes that you can boot.
Re:A months-old AMD microcode bug destroyed my weekend by drewg123 on Tuesday October 29, 2019 @09:56AM (#21387181)
He could boot. His problem was lockups after boot with wireguard directly calling RDRND & looping on non-random random numbers rather than using an API to get random numbers.
Re:A months-old AMD microcode bug destroyed my weekend by dfox on Tuesday October 29, 2019 @10:53PM (#21394273)
The issue is that Linux’s kernel-only “fast” CSPRNG is just thin wrapper around arch_get_random() (ie. RDRAND) when it is supported.
Re:A months-old AMD microcode bug destroyed my weekend by cremp on Tuesday October 29, 2019 @08:44AM (#21386477)
well, first thing on my list if I can't boot; good 'ol USB live boot to read dmesg and syslog.

Which a live boot, you can install packages such as microcode updates.

Re:A months-old AMD microcode bug destroyed my weekend by LeonM on Tuesday October 29, 2019 @09:44AM (#21387032)
This is a microcode bug which causes a kernel to hang. So simply booting from a different medium is not going to help you.

You'll need to compile a kernel which does not depend on the RDRAND instruction as a source of randomness.

Re:A months-old AMD microcode bug destroyed my weekend by ehvatum on Tuesday October 29, 2019 @01:26PM (#21389713)
It causes systemd to blow up, but you could try doing your microcode update from initrd. Or just get rid of systemd, run your microcode update, and make some Halloween jello shots to take to the no-systemd party (it's going to be even crazier, this year).
Re:A months-old AMD microcode bug destroyed my weekend by pedrocr on Tuesday October 29, 2019 @09:44AM (#21387035)
If the kernel itself doesn't boot, installing the microcode package may not help. It only helps if the problem only occurs after the point at which the kernel loads the microcode. Hopefully that's early enough for most cases.
Re:A months-old AMD microcode bug destroyed my weekend by nemetroid on Tuesday October 29, 2019 @01:30PM (#21389765)
Early load microcode updating happens very early for this precise reason.
Re:A months-old AMD microcode bug destroyed my weekend by throwaway8941 on Tuesday October 29, 2019 @01:50PM (#21390018)
Indeed. At least the Intel driver does it so early in the boot process that the "microcode updated" message is literally the first line in dmesg on a couple of systems I've bothered to check.