dmi_decode

Firmware Test Suite - dmi_decode test

This test parses the output from the dmidecode tool and checks for any warnings, errors or bad default values in the Desktop Management Interface (DMI) tables. The test scans all know DMI types. Example output:

Test DMI/SMBIOS tables for errors.
--------------------------------------------------------------------------------
Test 1 of 1: Test DMI/SMBIOS tables for errors.
PASSED: Test 1, Entry @ 0xdae9d000 'Unknown (Type 134)'
PASSED: Test 1, Entry @ 0xdae9d02a 'Processor Information (Type 4)'
PASSED: Test 1, Entry @ 0xdae9d0b4 'Cache Information (Type 7)'
PASSED: Test 1, Entry @ 0xdae9d0d1 'Cache Information (Type 7)'
PASSED: Test 1, Entry @ 0xdae9d0ee 'Cache Information (Type 7)'
PASSED: Test 1, Entry @ 0xdae9d10b 'Cache Information (Type 7)'
PASSED: Test 1, Entry @ 0xdae9d128 'Unknown (Type 129)'
PASSED: Test 1, Entry @ 0xdae9d149 'Physical Memory Array (Type 16)'
PASSED: Test 1, Entry @ 0xdae9d162 'Memory Device (Type 17)'
PASSED: Test 1, Entry @ 0xdae9d1c4 'Memory Device (Type 17)'
PASSED: Test 1, Entry @ 0xdae9d226 'Memory Device Mapped Address (Type 20)'
PASSED: Test 1, Entry @ 0xdae9d24b 'Memory Device Mapped Address (Type 20)'
PASSED: Test 1, Entry @ 0xdae9d270 'Memory Device Mapped Address (Type 20)'
PASSED: Test 1, Entry @ 0xdae9d295 'Memory Array Mapped Address (Type 19)'
PASSED: Test 1, Entry @ 0xdae9d2b6 'Unknown (Type 134)'
PASSED: Test 1, Entry @ 0xdae9d2c5 'BIOS Information (Type 0)'
PASSED: Test 1, Entry @ 0xdae9d301 'System Information (Type 1)'
PASSED: Test 1, Entry @ 0xdae9d35f 'Base Board Information (Type 2)'
PASSED: Test 1, Entry @ 0xdae9d3b4 'Chassis Information (Type 3)'
PASSED: Test 1, Entry @ 0xdae9d40c 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d435 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d45e 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d48a 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d4b6 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d4ee 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d515 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d53d 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d55e 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d57c 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d59a 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d5b8 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d5d6 'Port Connector Information (Type 8)'
PASSED: Test 1, Entry @ 0xdae9d5f4 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d612 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d630 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d64e 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d66c 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d68a 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d6a9 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d6c8 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d6e9 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d707 'System Slot Information (Type 9)'
PASSED: Test 1, Entry @ 0xdae9d72a 'System Slot Information (Type 9)'
PASSED: Test 1, Entry @ 0xdae9d74c 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d76d 'On Board Devices (Type 10)'
PASSED: Test 1, Entry @ 0xdae9d793 'System Configuration Options (Type 12)'
PASSED: Test 1, Entry @ 0xdae9d79a 'BIOS Language Information (Type 13)'
PASSED: Test 1, Entry @ 0xdae9d7b7 'Portable Battery (Type 22)'
PASSED: Test 1, Entry @ 0xdae9d7f0 'Inactive (Type 126)'
PASSED: Test 1, Entry @ 0xdae9d80c '32-bit Memory Error Information (Type 18)'
PASSED: Test 1, Entry @ 0xdae9d825 'Built-in Pointing Device (Type 21)'
PASSED: Test 1, Entry @ 0xdae9d82e 'Built-in Pointing Device (Type 21)'
PASSED: Test 1, Entry @ 0xdae9d837 'Unknown (Type 131)'
PASSED: Test 1, Entry @ 0xdae9d85d 'Unknown (Type 136)'
PASSED: Test 1, Entry @ 0xdae9d865 'Unknown (Type 130)'
PASSED: Test 1, Entry @ 0xdae9d87b 'Unknown (Type 131)'
PASSED: Test 1, Entry @ 0xdae9d8bd 'Unknown (Type 135)'
PASSED: Test 1, Entry @ 0xdae9d909 'Unknown (Type 133)'
PASSED: Test 1, Entry @ 0xdae9d91e 'System Event Log (Type 15)'
PASSED: Test 1, Entry @ 0xdae9d971 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9d9b6 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9d9e7 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9da28 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9da3b 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9da50 'Hardware Security (Type 24)'
PASSED: Test 1, Entry @ 0xdae9da57 'Unknown (Type 132)'
PASSED: Test 1, Entry @ 0xdae9da60 'Unknown (Type 135)'
PASSED: Test 1, Entry @ 0xdae9da74 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9da98 'Unknown (Type 140)'
PASSED: Test 1, Entry @ 0xdae9dac5 'End of Table (Type 127)'

================================================================================
70 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
================================================================================

Examples:

sudo fwts dmi_decode - 

..runs the test on your machine and dumps the output to stdout.

sudo fwts dmi_decode

..runs the test on your machine and appends the output to results.log.

Explanation of test results

Certain test results may require a little more explanation. This section will try and give some context to specific test failures.

Error ID

Explanation

NoSMBIOSorDMIentry

No SMBIOS or DMI entry points found. Best to check SMBIOS entry points with the fwts smbios test.

DMIBadStructCount

Wrong DMI structures count. Could be a mis-configured DMI table

DMIBadStructLength

Bad DMI structure size.

DMIOutOfSpec

A value is outside of the valid values allowed in the specification.

DMIBadIndex

A DMI string is not correctly terminated.

DMIChecksum

Bad DMI structure checksum.

DMIAssetTag

A DMI Asset Tag has been left as the default 1234567890 and should have been defined.

DMIUUID

A DMI UUID has been left as the default 0A0A0A0A-0A0A-0A0A-0A0A-0A0A0A0A0A0A and should have been defined.

DMIBadDefault

A DMI field has been left as the default 'To Be Filled By O.E.M.' and should have been defined.

DMIInvalidHardwareEntry

A DMI device definition does not match to actual hardware.

FirmwareTestSuite/Reference/dmi_decode (last edited 2016-01-11 07:24:36 by anthonywong)