Re: NON IRQ DEADLOCK in 2.0.31

Andy Poling (andy@globalauctions.com)
Fri, 14 Nov 1997 01:39:35 -0500 (EST)


> Is there any way to get the machine to automagicly reboot from this?
> This seems very similar to a panic to me, and I have panic=30...

Yes: a watchdog timer. The kernel appears to support two or three different
watchdog cards these days.

The watchdog hardware works like a countdown timer. As long as the system
is healthy, a user process keeps resetting the countdown timer before it can
reach zero. If the system crashes or freezes, the timer reaches zero, and
the watchdog card forces a hardware reset by twiddling the reset line (or
PWROK as I recall) on the motherboard.

They're relatively cheap ISA cards, and, with the hernel support, easy to
install and use...

There's also a "software watchdog" available if you build it into the
kernel. It's less likely to successfully reboot the system in the case of
a true crash... but the price sure is right.

-Andy

Global Auctions
http://www.globalauctions.com