6.3-p5 watchdog timer not being disabled

Patrick Lamaizière patfbsd at davenulle.org
Sat Oct 11 04:50:14 PDT 2008

Le Fri, 10 Oct 2008 09:08:47 -0400,
Stephen Clark <sclark46 at earthlink.net> a écrit :

> >> On both of the above platforms this does not work and the platforms
> >> reboot when watchdogd is killed with a kill pid,
> >> after the timeout value (-t) that had been specified to watchdogd
> >> when starting it has elapsed.
> >> t
> >> Am I misunderstanding how this is suppose to work?
> > 
> > No, i have tested on my net5501 on freebsd-current. It works.
> > 
> > Can you try with watchdog -d -t <time> followed by a watchdog -t 0
> > to disable the watchdog ?
> > 
> > There is a problem on the net5501 when you disable and then
> > re-enable the watchdog after the timer has elapsed: the box reboots
> > immediatly. But you can disable the timer.
> > 
> > Regards.
> > 
> You are correct if I kill watchdogd then run watchdog -t 0 the box
> does not reboot. The problem is the with the watchdogd program if it
> is killed with a sigtint or sigterm it is suppose to disable the
> watchdog timer and exit. It is not appear to be disabling the timer,
> because my box is rebooting.

It works fine for me on Current, I don't know why this don't work on
RELENG_6. The code of watchdogd looks to be the same.

Sorry, i can't help more.

More information about the freebsd-stable mailing list