commit | b1ea254e6c3b1578127f97356612dffa85073698 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Jan 14 15:03:22 2022 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Fri Jan 21 10:14:58 2022 +1030 |
tree | 877fc953e617f8a00d8142e48a9cfb81284e1752 | |
parent | e998ba7708af8598addea91e3598e6fa3a0113fa [diff] |
main: Extract a 'source' abstraction The D-Bus set of sink actions will require polling the D-Bus fd and processing any inbound messages. To do this, the polling must happen where we're currently reading from the source file descriptor. In the same manner as the sink abstraction extract a source abstraction to hide the details. process() is then implemented in terms of the abstract source interface. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I629e0d71f30592fa30affac1a920104e8086d8b0
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.
debug-trigger
implements a simple protocol over an LPC KCS device as its trigger source.
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.