On Wed, 28 Jul 2004, Arkadiusz Miskiewicz wrote:
On Wednesday 28 of July 2004 12:33, Holger Kiehl wrote:Ok, with CONFIG_WATCHDOG_NOWAYOUT the system gets it reset. However now
Without CONFIG_WATCHDOG_NOWAYOUT (or nowayout=1 module option added by my patch just sent to lkml) when /dev/watchdog is closed then watchdog timer is disabled.Do you have CONFIG_WATCHDOG_NOWAYOUT enabled?No this is not set. Must this be set? Actually I want that one can stop the
watchdog gracefully. And this is done by writting a 'V' to /dev/watchdog,
correct?
there is no save way to stop the watchdog gracefully. It no longer honors
the magic letter 'V', but looking at the code of ipmi_watchtog.c I could
find no place where it looks for the magic character 'V'. So I am still not
sure what to do. The reason why I killed the process writting the heartbeat
was that I just wanted to see if the watchdog does work. Or is there a
simpler way to simulate a system hangup?
Thanks,
Holger