Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 10:58:22 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Sean Kelly <smkelly@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d Makefile     watchdogd src/share/man/man4 Makefile watchdog.4 src/sys/conf         NOTES options src/sys/kern kern_clock.c src/usr.sbin Make
Message-ID:  <20030626105440.G75012@root.org>
In-Reply-To: <20030626095100.1332F37B404@hub.freebsd.org>
References:  <20030626095100.1332F37B404@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Jun 2003, Sean Kelly wrote:
>   Log:
>   - Add a software watchdog facility.
>
>   This commit has two pieces. One half is the watchdog kernel code which lives
>   primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
>   daemon which, when run, will keep the watchdog from firing while the userland
>   is intact and functioning.
>
>   Approved by:    jeff (mentor)

Looks interesting.  Could you make the reset delay a sysctl?  Then the
user daemon could read the kernel's delay setting and adjust its poke
routine accordingly.  Right now the sleep is hardcoded at 1 sec.  Maybe
debug.watchdog.reset and debug.watchdog.deadline or something.

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030626105440.G75012>