Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired
From: Tony Chung
Date: Wed Apr 03 2013 - 11:07:06 EST
On Tue, Apr 2, 2013 at 9:21 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
>
> What is the exact chip type in your system ? I want to have a look into the
> datasheet; maybe I can find out how it can trigger without causing a reset.
Winbond 83627HF chip
I believe BIOS has watchdog disabled otherwise it would have reboot the box.
However, the timer just start counting.
Comparing to ipmi_watchdog, you can do this:
modprobe ipmi_watchdog ... start_now=0 ...action=<> nowayout=1
So it is possible to load the driver without start counting.
Notice it is an else, so t is actually 0 already (i.e. expired or
never start running):
> + } else {
> + outb_p(0, WDT_EFDR); /* disable to prevent reboot */
--
- Tony Chung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/