Watchdog not being disabled while dumping core

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Aug 23 11:08:50 UTC 2010


In message <20100823103412.GA21044 at icarus.home.lan>, Jeremy Chadwick writes:

>It was brought to my attention that on FreeBSD with a hardware watchdog
>in use (e.g. ichwd(4) + watchdogd(8)), once the kernel panics, it's
>quite possible for the watchdog to fire (reboot the system) once the
>panic has happened.  This issue basically inhibits the ability for a
>system with a hardware watchdog in place to be able to successfully
>complete doadump().

The good news is that the watchdog hopefully gets your system back
on the air, even if the dumping hangs.

If it is decided to reset/disarm the watchdog before a dump, please
make that a sysctl tunable.



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-stable mailing list