Bug 1509938
Summary: | python-dmidecode provides no information on aarch64 and raises some warnings | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukáš Doktor <ldoktor> |
Component: | python-dmidecode | Assignee: | lijiang |
Status: | CLOSED WONTFIX | QA Contact: | Mike Gahagan <mgahagan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.4 | CC: | jbastian, lijiang, yselkowi |
Target Milestone: | rc | ||
Target Release: | 7.6 | ||
Hardware: | aarch64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-27 00:46:52 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: | 1498541, 1540294, 1566707, 1566708, 1568722 |
Description
Lukáš Doktor
2017-11-06 11:55:47 UTC
This would be due to access to /dev/mem is only allowed on x86. I think /sys/firmware/dmi is the proper pseudofile to use. The /sys/firmware/dmi tree is actually a series of files, one per DMI type, that make parsing much easier. For example: [root@hp-moonshot-03-c01 ~]# strings /sys/firmware/dmi/entries/1-0/raw \jKY ProLiant m400 Server CN7506VB0T 721717-B21 ProLiant [root@hp-moonshot-03-c01 ~]# strings /sys/firmware/dmi/entries/4-0/raw ` ` A Proc 1 AppliedMicro X-Gene see bug 1456956, "/dev/mem" is disabled for aarch64. It doesn't try to read "/sys/firmware/dmi/tables/DMI" and "/sys/firmware/dmi/tables/smbios_entry_point". (In reply to lijiang from comment #4) > see bug 1456956, "/dev/mem" is disabled for aarch64. It doesn't try to read > "/sys/firmware/dmi/tables/DMI" and > "/sys/firmware/dmi/tables/smbios_entry_point". In addition, Our previous submission of patch has never responded, and it looks like the upstream doesn't maintain the project(python-dmidecode). So i recommend dmidecode. |