ndctl icon indicating copy to clipboard operation
ndctl copied to clipboard

ndctl list -D enhancements

Open etsaur4 opened this issue 7 years ago • 2 comments

Can we get the following in ndctl list -D.

Basically trying to get all the information via ndctl vs going to several different locations for basic DIMM information.

Since ndctl support upgrading firmware, it would be nice to know what the current firmware version is.

  • FW Version

Basic information from NFIT or from SMBIOS Type 17 tables if they exist.

  • Serial Number
  • Manufacturer

Platform Identification, from SMBIOS Type 17 tables if they exist

  • Part Number
  • Bank Locator
  • Serial number
  • Size (physical capacity) of the DIMM.

etsaur4 avatar Jun 26 '18 21:06 etsaur4

We're planning a verbose option that will include firmware details by default when available. You can get them today with the "--firmware" option if the platform supports the needed _DSM calls. The serial and manufacturer data is already included in the "ACPI representation format" which ndctl calls "id". See the definition of the representation format in section "5.2.25.10 NVDIMM Representation Format"

As for SMBIOS information, I'm reticent to trust it by default since it tends to be inconsistently reliable from one platform vendor to the next.

djbw avatar Jun 26 '18 22:06 djbw

Thanks for the info...

I get the dangers of SMBIOS, but administrators will know if that data is valid. For those vendors that provide a well populated Type 17 table, this info is pretty valuable.

etsaur4 avatar Jul 05 '18 05:07 etsaur4