fsck could take more than 5 minutes to run,
then the computer reboot as soon as the driver was loaded.
Signed-off-by: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog
infrastructure.
Added a new max_timeout variable so we can change it if needed.
Signed-off-by: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c | 74 ++
1 files changed, 58 insertions(+), 16 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers
y (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 majord...@vger.kernel.org
More majordo
Guenter Roeck wrote:
> On Sun, Mar 31, 2013 at 10:59:32PM -0700, Tony Chung wrote:
>> Observed that the w83627hf watchdog timer start counting during reboot.
>> If the system load the driver after 5 minutes, it rebooted immediately
>> because of timer expired.
>> For exam
infrastructure.
Added a new max_timeout variable so we can change it if needed.
Signed-off-by: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c | 74 ++
1 files changed, 58 insertions(+), 16 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers
: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog/w83627hf_wdt.c
index 8fd..7eaa226 100644
--- a/drivers/watchdog/w83627hf_wdt.c
+++ b/drivers/watchdog/w83627hf_wdt.c
How about this?
- t &= ~0xC0; /* disable keyboard & mouse turning off
- watchdog */
+ t &= ~0xE0; /* clear timeout occurred and disable keyboard
+& mouse turning off watchdog */
Thanks
Observed that the w83627hf watchdog timer start counting during reboot.
If the system load the driver after 5 minutes, it rebooted immediately because
of timer expired.
For example, fsck took more than 5 minutes to run, then reboot will occurred.
Signed-off-by: Tony Chung
---
drivers/watchdog
infrastructure.
Added a new max_timeout variable so we can change it if needed.
Signed-off-by: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c | 74 ++
1 files changed, 58 insertions(+), 16 deletions(-)
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers
The current maximum of 255 seconds is insufficient.
For example, crash dump could take 5+ minutes.
Signed-off-by: Tony Chung
---
drivers/watchdog/w83627hf_wdt.c | 73 ++
1 files changed, 57 insertions(+), 16 deletions(-)
diff --git a/drivers/watchdog
10 matches
Mail list logo