Packages using /dev/mem for dmidecode/SMBIOS/ACPI table access

Some packages use dmidecode, but conditionalize that usage based on the availability of a readable /dev/mem. These packages don't access /dev/mem directly, but assume that dmidecode will. We will track these separately from direct users of /dev/mem

(Status 2015/03/19: all high priority packages reviewed and moved here if appropriate. med/low review ongoing.)

Packages using dmidecode application for /dev/mem accesses


Package: dmidecode, code search results

Package importance

Use type

use importance

notes

high

memory access

high

Primary utility used to decode SMBIOS tables. This is used by many other packages for SMBIOS data access, so fixing this package will address many other packages. See this page for other packages that use dmidecode


Package: freeipmi, code search results

Package importance

Use type

use importance

notes

high

open coded SMBIOS table and other ACPI table accesses

high


Package: util-linux, code search results

Package importance

Use type

use importance

notes

high

open coded SMBIOS lookup

low

lscpu utility uses directy SMBIOS table lookup to attempt to identify hypervisor. Uses SMBIOS system table entry, and restricts memory scan to x86. Failure simply results in unidentified hypervisor


Package: open-iscsi, code search results

Package importance

Use type

use importance

notes

high

ACPI table access (iBFT)

?

"iSCSI Boot Firmware Table" direct access. ARM support for this table undecided at this point (3/2015)


Package: systemd, code search results

Package importance

Use type

use importance

notes

high

Reading ACPI table

likely optional

read Firmware Basic Boot Performance Data Record (FPDT) to determine boot time. If table missing or unreadable, timestamps are not available. It's not clear what the consequences of this are, but are unlikely to severe. My laptop (Lenovo T520) does not provide this table.


Package: acpica-unix, code search results

Package importance

Use type

use importance

notes

high

ACPI table access

high

The function AcpiOsMapMemory() is used to map ACPI tables, which are then processed by other functions. This is used in many places, and table addresses are used to identify and pass around tables. Changing this package to use sysfs files could be a lot of work, as it is multi-platform and so both an address based mechanism and a sysfs (or similar) based mechanism would have to co-exist.


Package: ipxe, code search results

Package importance

Use type

use importance

notes

high

open coded SMBIOS access

high

retrieves UUID and other system information, may be used by server to select which image to provide for booting.


Package: libsmbios, code search results

Package importance

Use type

use importance

notes

high

smbios table access

high

library abstractions use memory read/write


Package: lshw, code search results

Package importance

Use type

use importance

notes

high

smbios table access

high

Supports EFI sysfs lookup of SMBIOS table address, then directly accesses SMBIOS tables. SMP detection x86 only.


Package: python-dmidecode, code search results

Package importance

Use type

use importance

notes

med

smbios table access

high

python implementation of DMI decode, uses /dev/mem to access SMBIOS tables


Package: zabbix, code search results

Package importance

Use type

use importance

notes

med

smbios table access

directly parses smbios table contents

LEG/ServerArchitecture/dev-mem/dmidecode-acpi-all (last modified 2017-08-17 12:13:12)