[PATCH skeleton] Re-enable host watchdog
OpenBMC Patches
openbmc-patches at stwcx.xyz
Tue Dec 29 20:20:35 AEDT 2015
From: Yi Li <adamliyi at msn.com>
This fix is for workitem: 143559. The code is commented out due to a bug.
That bug has been fixed already. I tested on Palmetto and Barreleye, by
repeatly calling "obmcutil poweron / obmcutil poweroff" with a script.
Journalctrl shows no "Watchdog Err" message. So re-enable the host wdt.
---
bin/chassis_control.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/chassis_control.py b/bin/chassis_control.py
index 27e9152..9cee295 100755
--- a/bin/chassis_control.py
+++ b/bin/chassis_control.py
@@ -188,8 +188,8 @@ class ChassisControlObject(Openbmc.DbusProperties,Openbmc.DbusObjectManager):
def host_watchdog_signal_handler(self):
print "Watchdog Error, Hard Rebooting"
- #self.Set(DBUS_NAME,"reboot",1)
- #self.powerOff()
+ self.Set(DBUS_NAME,"reboot",1)
+ self.powerOff()
if __name__ == '__main__':
--
2.6.4
More information about the openbmc
mailing list