IPMCTL-INJECT-ERROR(1) | ipmctl | IPMCTL-INJECT-ERROR(1) |
ipmctl-inject-error - Injects an error or clears a previously injected error
ipmctl set [OPTIONS] -dimm [TARGETS] [PROPERTIES]
Injects an error or clears a previously injected error on one or more PMem module for testing purposes.
-h, -help
-ddrt
-smbus
The -ddrt and -smbus options are mutually exclusive and may not be used together.
-o (text|nvmxml), -output (text|nvmxml)
-dimm [DimmIDs]
This command only supports setting or clearing one type of error at a time.
Clear
Temperature
The injected temperature value will remain until the next reboot
or until it is cleared.
The media temperature is an artificial temperature and will not cause harm to
the part. Although firmware actions due to improper temperature injections
may cause adverse effects on the PMem module.
If the Critical Shutdown Temperature, or higher, is passed in, this may cause
the PMem module firmware to perform a shutdown in order to preserve the part
and data.
The temperature value will be ignored on clear.
Poison
System firmware (BIOS) will not read from any Intel®
Optane™ PMem device
addresses that are known to be poisoned. For any poisoned address, the first
read may result in a hang/fault, but system firmware (BIOS) will mark this
address as poisoned so subsequent attempts to read poisoned addresses will
be rejected with an error. The result of such an error may prevent booting
from a namespace that has poisoned data.
The address must be 256 byte aligned (e.g., 0x10000000, 0x10000100, 0x10000200...).
PoisonType
If the address to poison is not currently allocated as the
specified
memory type, an error is returned.
PackageSparing
PercentageRemaining
FatalMediaError
When media fatal error is injected, BSR Media Disabled status
bit will be set indicating media error, until the fatal error is cleared using
disable trigger input parameter to clear this injected fatal error.
Injecting a Fatal Media error is unsupported on Windows.
Contact Microsoft for assistance in performing this action.
DirtyShutdown
Sets the media temperature on all manageable PMem modules to 50 degrees Celsius.
ipmctl set -dimm Temperature=50
Clears the injected media temperature on all manageable PMem modules.
ipmctl set -dimm Clear=1 Temperature=1
Poison address 0x10000200 on PMem module 1234.
ipmctl set -dimm 1234 Poison=0x10000200
Clears the injected poison of address 0x10000200 on PMem module 1234.
ipmctl set -dimm 1234 Poison=0x10000200 Clear=1
Triggers an artificial package sparing on all manageable PMem modules.
ipmctl set -dimm PackageSparing=1
Sets the life remaining percentage on all manageable PMem modules to 10%.
ipmctl set -dimm PercentageRemaining=10
Clears the injected remaining life percentage on all manageable PMem modules. The value of PercentageRemaining is irrelevant.
ipmctl set -dimm PercentageRemaining=10 Clear=1
Triggers an artificial ADR failure on all manageable PMem modules resulting in a dirty shutdown on each PMem module on the next reboot.
ipmctl set -dimm DirtyShutdown=1
This command is available only when error injection is enabled on the PMem modules in the BIOS. To successfully execute this command, the specified PMem modules must be manageable by the host software.
For each PMem module, the CLI will indicate the status of the operation. If a failure occurs when injecting an error on multiple PMem modules, the process will continue with the remaining PMem modules.
Set temperature on PMem module (DimmID): Success|Error (Code) - (Description) Clear injected temperature on PMem module (DimmID): Success|Error (Code) - (Description)
Poison address (Address) on PMem module (DimmID): Success|Error (Code) - (Description) Clear injected poison of address (Address) on PMem module (DimmID): Success|Error (Code) - (Description)
Trigger package sparing on PMem module (DimmID): Success|Error (Code) - (Description) Clear injected package sparing on PMem module (DimmID): Success|Error (Code) - (Description)
Trigger a spare capacity alarm on PMem module (DimmID): Success|Error (Code) - (Description) Clear injected spare capacity alarm on PMem module (DimmID): Success|Error (Code) - (Description)
Create a media fatal error on PMem module (DimmID): Success|Error (Code) - (Description) Clear injected media fatal error on PMem module (DimmID): Success|Error (Code) - (Description)
2021-02-17 | ipmctl |