Re: watchdog timer programming

Stephane Rochoy <[email protected]> Fri, 27 Sep 2024 08:09:31 +0200
Newsgroups gmane.os.freebsd.devel.hardware
Message-ID <[email protected]>
mike tancsa <[email protected]> writes:

> 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)=20
>> 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.=20
> After I
> start that up, I see in the logs about 25 seconds after it=20
> starts, but
> not always.
>
> Sep 26 11:31:20 mpki2024 kernel: watchdog pre-timeout,=20
> 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 :(

AFAIK, the pre-timeout should trigger reliably. Weird.
--=20
St=C3=A9phane Rochoy
O: Stormshield