Re: [Patch] ALi M7101 watchdog

Tim Hockin (thockin@hockin.org)
Fri, 1 Mar 2002 09:41:03 -0800 (PST)


> It takes notice of the CONFIG_WDT_NOWAYOUT option and will kick the
> watchdog timer when the system goes down for a reboot so it pulls the
> reset (as far as I can tell this is the only way to reboot Cobalt
> machines?)
>
> I have done preliminary testing on a Cobalt Raq 4 and it seems good -
> please CC any comments / questions to me.

The WDT in the 7101 is almost USELESS from user-space. It has a MAXIMUM 1
second timeout, and is tied straight to RESET. If you miss ONE feeding,
you reboot. In our kernel we have a 1/4 second timer to feed the watchdog,
and we still have to hack into some stuff to ensure that it gets met.
There are places where (drivers mostly) think it is OK to spin for multiple
seconds with interrupts off. If you put the responsibility for feeding the
WDT into user-space, I'll bet dollars to dimes you'll start experiencing
random reboots. If I was allowed to, I would have used the WDT for reboot
ONLY, and had it off otherwise - it is WAAAAY finicky.

Tim

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/