Clone this repo:

Branches

  1. 92eb222 OWNERS: Update Andrew's preferred email by Andrew Jeffery · 4 months ago master
  2. 5d26ce6 README: Fix header formatting by Andrew Jeffery · 4 months ago
  3. be3dd0e main: Address strncat() overflow warning by Andrew Jeffery · 4 months ago
  4. 1161642 main: Log command read from source by Andrew Jeffery · 2 years, 3 months ago
  5. ea84ad9 main: Be clear about what we failed to open by Andrew Jeffery · 2 years, 3 months ago

BMC Debug Trigger

debug-trigger listens for an external signal that the BMC is in some way unresponsive. When the signal is received it triggers a crash to collect debug data and reboots the system in the hope that it will recover.

Trigger sources

debug-trigger implements a simple protocol over an LPC KCS device as its trigger source.

Debug actions

debug-trigger implements a single action once the trigger event is received, which is to crash the kernel via /proc/sysrq-trigger. For systems with kdump configured this results in collection of system state as context for why the system was externally unresponsive.