---
name: "einj"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/einj"
---

# einj(8)

ACPI Platform Error Interface error injection

## 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)](/acpi_einj/4.md).

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

[acpi\_einj(4)](/acpi_einj/4.md)

## HISTORY

The **einj** utility first appeared in FreeBSD 16.0.
