commit | a23fa7a0da5c33829413a8a6d122665dd146a6df | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Apr 05 17:20:52 2023 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 28 22:10:31 2023 +0000 |
tree | ad8f4b7a866bb278079fed9c09ef15e9a0795bdf | |
parent | 4a297b517867be096eed318cfd9c3d305152c9dd [diff] |
meta-phosphor: systemd: Enable watchdog pretimeout This gives us the ability to try and panic the kernel prior to hitting a hardware watchdog that gives us less information about the lockup. It's safe to enable even if you have no pretimeout watchdog in your kernel. Change-Id: I91b0c6f1069a64a657298142cff1b8eeffcb1dbc Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf b/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf index c323a22..ecc930f 100644 --- a/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf +++ b/meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf
@@ -1,3 +1,5 @@ [Manager] RuntimeWatchdogSec=120s +RuntimeWatchdogPreSec=90s +RuntimeWatchdogPreGovernor=panic WatchdogDevice=/dev/watchdog