Commit Graph

9 Commits

Author SHA1 Message Date
des
38ebab58b2 Add missing El.
MFC after:	1 week
2007-03-29 10:11:22 +00:00
n_hibma
c98f016084 Align the interfaces for the various watchdogs and make the interface
behave as expected.

Also:
- Return an error if WD_PASSIVE is passed in to the ioctl as only
  WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an
  explanation of the difference between WD_ACTIVE and WD_PASSIVE.
- Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've
  lost your sense of humor, than don't add a define.

Specific changes:

i80321_wdog.c
  Don't roll your own passive watchdog tickle as this would defeat the
  purpose of an active (userland) watchdog tickle.

ichwd.c / ipmi.c:
  WD_ACTIVE means active patting of the watchdog by a userland process,
  not whether the watchdog is active. See sys/watchdog.h.

kern_clock.c:
  (software watchdog) Remove a check for WD_ACTIVE as this does not make
  sense here. This reverts r1.181.
2006-12-15 21:44:49 +00:00
maxim
ca4a49d5e9 o Document /dev/fido.
PR:		docs/85425
Approved by:	phk
MFC after:	2 weeks
2006-04-15 17:52:02 +00:00
smkelly
7d7ce7e28f Yield to ru's ninja-like manpage skills and update watchdog(4) to
look more like other manpages. Move some content around, use an EXAMPLES
section, etc.

Submitted by:	ru
2004-06-19 21:17:07 +00:00
smkelly
b852c6211c Add more .Dv markup. 2004-04-29 08:33:12 +00:00
smkelly
265de59c61 Add missing .Dv markup and a comma. 2004-04-29 08:27:38 +00:00
smkelly
137a686eea Fix up a little language. Remove reference to sysctl(9). Fix reference to
watchdog(9) (was watchdogd(9)).
2004-04-28 21:42:36 +00:00
phk
1ea4f5b08e Rename the WATCHDOG option to SW_WATCHDOG and make it use the
generic watchdoc(9) interface.

Make watchdogd(8) perform as watchdog(8) as well, and make it
possible to specify a check command to run, timeout and sleep
periods.

Update watchdog(4) to talk about the generic interface and add
new watchdog(8) page.
2004-02-28 20:56:35 +00:00
smkelly
d45e58ad73 - 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)
2003-06-26 09:50:52 +00:00