commit | db47cd7f6440c810e05e44d0fcc334502e4a9a81 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Jan 13 14:14:41 2022 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Fri Jan 21 10:14:58 2022 +1030 |
tree | 487a3beacabee56a05922aae32161df502d82780 | |
parent | 1d72cfaaed0a436d2c5793525fef0f72a7a84fef [diff] |
process: Lift debug implementation to separate function Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I8f4ed09dfd8a0f034678530e6fc9799d2c8f34b6
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.