Re: watchdog timer programming

From: mike tancsa <mike_at_sentex.net>
Date: Thu, 26 Sep 2024 15:56:59 UTC
On 9/25/2024 3:13 AM, Stephane Rochoy wrote:
>>>>
>>>> Any idea how to get this hardware working ?
>>>
>>> Do you know if, at least, the pre-timeout is working?
>>
>>     How do I check that ?
>
> Using --pretimeout and --pretimeout-action. See watchdogd(8) for
> more details.
>
Reverting to the code thats in the tree, I started it up with

watchdogd --pretimeout 10 --pretimeout-action log -t 15

Doesnt seem to work or at least it doesnt make sense to me. After I 
start that up, I see in the logs about 25 seconds after it starts, but 
not always.

Sep 26 11:31:20 mpki2024 kernel: watchdog pre-timeout, WD_SOFT_LOG
Sep 26 11:31:20 mpki2024 kernel: Sep 26 11:31:20 pki2024 kernel: 
watchdog pre-timeout, WD_SOFT_LOG

and then doing a kill -9 does nothing :(

     ---Mike