Bug 1806705
Summary: | Release python3-dmidecode for aarch64 and i686 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Chris Snyder <csnyder> |
Component: | python-dmidecode | Assignee: | lijiang |
Status: | CLOSED NOTABUG | QA Contact: | Jeff Bastian <jbastian> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.2 | CC: | ruyang, rvr |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-18 08:56:14 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: | 1674330 |
Description
Chris Snyder
2020-02-24 19:25:22 UTC
python-dmidecode does not work on aarch64 systems because it tries to read the raw /dev/mem to find the SMBIOS tables, but /dev/mem is disabled on our aarch64 kernel (it can trigger kernel panics when reading from protected address ranges). The module should really be reading /sys/firmware/dmi/entries/* instead, however, upstream development on this module has been dead for several years. We made an effort to switch tooling away from python-dmidecode a couple years ago, but it looks like subscription-manager still needs work. See the following for more info: * bug 1540294 - update subscription-manager to use dmidecode instead of python-dmidecode * bug 1509938 - python-dmidecode provides no information on aarch64 and raises some warnings * bug 1566707 - update abrt to use dmidecode instead of python-dmidecode * bug 1566708 - update rhn-client-tools to use dmidecode instead of python-dmidecode * bug 1456956 - disable /dev/mem and /dev/port for aarch64 Ideally, dmidecode would have an option to print output in a machine readable format like JSON or XML so other tools like subscription-manager could easily parse it, but at the moment it only has human-readable output. If you just need the system UUID, you can have subscription-manager run `dmidecode -s system-uuid` and read the output. No fancy parsing is necessary for this info. Out of curiosity, why do you need an i686 module? We don't ship RHEL8 for 32-bit x86. This has been disabled for aarch64 and i686 builds, so I would suggest to close as NOTABUG. Thanks. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |