Description of problem: The rdrand instruction is apparently broken on some motherboards with the new Ryzen 3000 CPUs. This issue is supposed to be fixed by BIOS update, but that's not available for all boards yet. json-c seems to use the rdrand in its initialization. On the broken boards it enters an infinite loop. This causes the boot to hang on systems with encrypted storage (due to cryptsetup using json-c?). Please consider disabling the rdrand support in json-c. It doesn't seem to be very useful and causes problems. Alternatively, check first if rdrand is reported in /proc/cpuinfo to make the nordrand option effective for json-c. A similar issue was in systemd (bug #1729268). Version-Release number of selected component (if applicable): json-c-0.13.1-4.fc30
Submitted pull request to disable rdrand support: https://src.fedoraproject.org/rpms/json-c/pull-request/1
PR has been merged, updates are on their way. Thank you!
FEDORA-2019-e06b410ade has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e06b410ade
FEDORA-2019-f806bc58e5 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f806bc58e5
json-c-0.13.1-7.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f806bc58e5
json-c-0.13.1-7.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e06b410ade
it's a terrible idea starting to disable usage of a cpu-instrction which exists since 2011 on Intel CPU#s beasue AMD is too supid to proerply implement it in their new CPU's years later, the same applies to TSX which ins braindead disabled in glibc because of a issue on years old cpus
json-c-0.13.1-7.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
json-c-0.13.1-7.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.