[PATCH skeleton] Re-enable host watchdog

Cyril Bur cyrilbur at gmail.com
Tue Jan 5 11:38:00 AEDT 2016


On Tue, 29 Dec 2015 03:20:35 -0600
OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:

> 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.

Where does one look up workitems? I don't know what a workitem is.

> ---
>  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()
>  		

Interesting that the code was commented... oh well the problem has gone away.

>  
>  if __name__ == '__main__':



More information about the openbmc mailing list