Bug 1806532
Summary: | Do not use --enable-rdrand when building json-c | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rhys Oxenham <roxenham> | ||||
Component: | json-c | Assignee: | Joe Orton <jorton> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ondrej Mejzlik <omejzlik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.1 | CC: | amit, berrange, cfergeau, dwmw2, gbraad, itamar, jorton, miabbott, omejzlik, pbonzini, prkumar, psklenar, rjones, virt-maint | ||||
Target Milestone: | rc | Keywords: | AutoVerified, EasyFix, TestCaseProvided, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-05-18 14:47:00 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1771008, 1894575 | ||||||
Attachments: |
|
Description
Rhys Oxenham
2020-02-24 13:12:34 UTC
We are also experiencing this issue with our OpenShift cluster images that contain RHCOS. A user has reported this on Hyper-V and therefore seems to be a hardware issue: https://github.com/code-ready/crc/issues/1035 See https://bugzilla.redhat.com/show_bug.cgi?id=1745333 for a Fedora bug which seems fairly similar: « 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. » The json-c package in rhel 8.1 is still built with --enable-rdrand, which was disabled in fedora to avoid that bug. The OP of the issue for CRC has, as instructed, updated his system's (mainboard) BIOS and was not able to reproduce the issue after this. It looks like the BIOS might have contained an updated microcode for the Ryzen 3000 series of CPUs which resolved the issue. Regarding this bug, seeing https://src.fedoraproject.org/rpms/json-c/c/a826638ccf5afc?branch=master this seems to have been fixed upstream in json-c 0.14. Upstream issue was https://github.com/json-c/json-c/issues/588 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (json-c bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1601 |