sscargal / pmemchk

MIT License
0 stars 1 forks source link

[Rule] [Optane] [ipmctl_show_-a_-dimm] BootStatus & BootStatusRegister #35

Closed sscargal closed 2 years ago

sscargal commented 2 years ago

Analyzer Module: Optane Input File: ipmctlshow-a_-dimm Parameter: BootStatus Applies to: Optane 100 or later Description: This rule should check the value of BootStatus and BootStatusRegister

Expected:

BootStatus=Success

For all other non-Success values, this rule should report an error along with the BootStatusRegister value. Ideally, the BootStatusRegister should be decoded to explain WHY the PMem failed to boot.

Possible Values

BootStatus
           The initialization status of the PMem module as reported by the firmware in the boot status register. One or more
           of:

           •   Unknown - The boot status register cannot be read.

           •   Success - No errors were reported during initialization.

               The following statuses indicate that the media is not functional and, therefore, access to user data and
               operations that require use of the media will fail.

           •   Media Not Ready - The firmware did not complete media training.

           •   Media Error - The firmware detected an error during media training.

           •   Media Disabled - The firmware disabled the media due to a critical issue.

               The following statuses indicate that communication with the firmware is not functional.

           •   FW Assert - The firmware reported an assert during initialization.

       BootStatusRegister
           The raw hex value of the PMem module Boot Status Register of the PMem module