NAME
einj – ACPI Platform Error Interface error injection
SYNOPSIS
einj list
einj inject [-a address] [-C APIC ID] [-P device pci[domain:]bus:slot:function] type
DESCRIPTION
The einj utility provides a command line interface to the ACPI Platform Error Interface (APEI) error injection facility provided by acpi_einj(4).
The list command outputs the set of platform errors that can be injected on the current host.
The inject command injects a single platform error. The type argument specifies the type of error to inject, for example “mem.cor” to inject a correctable memory error. Vendor-specific errors are not supported.
The address argument sets a specific address to use with memory errors.
The APIC ID argument sets a physical processor ID for processor errors.
The device argument sets the target for PCI device errors. The argument must follow the format pci[domain:]bus:slot:function
EXAMPLES
Inject a fatal uncorrectable memory error for the physical address 0x12345678:
einj inject -a 0x12345678 mem.fatal
SEE ALSO
HISTORY
The einj utility first appeared in FreeBSD 16.0.