diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-01-20 06:53:55 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-20 06:56:50 +0300 |
commit | 58d51ef5015b7f49e926f2e1cea7a463531e0c27 (patch) | |
tree | 1832c760e46c7cf637618ae05373dbe74f334124 /meta-phosphor/common/recipes-phosphor/chassis | |
parent | 9e206396d08360bf8248e571d07337cd75ad8fe0 (diff) | |
download | openbmc-58d51ef5015b7f49e926f2e1cea7a463531e0c27.tar.xz |
openpower-p9: disable host watchdog
Hostboot currently does not have IPMI support enabled on P9
systems. Therefore, we need to disable the host watchdog.
Temporary workaround to be removed with openbmc/openbmc#993.
Change-Id: I875a3927af6ec34d2caf4c694b0a89c35a2bff74
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/chassis')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/chassis/files/skeleton-0001-Temporarily-disable-watchdog-support.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/files/skeleton-0001-Temporarily-disable-watchdog-support.patch b/meta-phosphor/common/recipes-phosphor/chassis/files/skeleton-0001-Temporarily-disable-watchdog-support.patch new file mode 100644 index 0000000000..d75f8c7ebc --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/chassis/files/skeleton-0001-Temporarily-disable-watchdog-support.patch @@ -0,0 +1,33 @@ +From 8f6ee172bf6d0a347696ecfb000eeb686245db90 Mon Sep 17 00:00:00 2001 +From: Patrick Williams <patrick@stwcx.xyz> +Date: Thu, 19 Jan 2017 21:27:51 -0600 +Subject: [PATCH] Temporarily disable watchdog support + +Hostboot does not support IPMI on P9 systems yet, so they do +not send the watchdog updates. Disable the watchdog until +they support. + +Change-Id: I03e5dca06f1eecfb24b35161f81190c23bf39b7f +Signed-off-by: Patrick Williams <patrick@stwcx.xyz> +--- + chassis_control.py | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/chassis_control.py b/chassis_control.py +index 3637d82..f475ecd 100644 +--- a/chassis_control.py ++++ b/chassis_control.py +@@ -199,9 +199,7 @@ class ChassisControlObject(DbusProperties, DbusObjectManager): + self.softReboot() + + def host_watchdog_signal_handler(self): +- print "Watchdog Error, Hard Rebooting" +- self.Set(DBUS_NAME, "reboot", 1) +- self.powerOff() ++ print "Watchdog Error, ignoring due to Hostboot not supporting IPMI." + + def emergency_shutdown_signal_handler(self, message): + print "Emergency Shutdown!" +-- +2.10.2 + |