summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2023-04-06 03:20:52 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-04-29 01:10:31 +0300
commita23fa7a0da5c33829413a8a6d122665dd146a6df (patch)
treead8f4b7a866bb278079fed9c09ef15e9a0795bdf
parent4a297b517867be096eed318cfd9c3d305152c9dd (diff)
downloadopenbmc-a23fa7a0da5c33829413a8a6d122665dd146a6df.tar.xz
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>
-rw-r--r--meta-phosphor/recipes-core/systemd/systemd/40-hardware-watchdog.conf2
1 files changed, 2 insertions, 0 deletions
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 c323a22d7c..ecc930febd 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