can the hardware watchdog reboot a hung kernel?

Daniel Braniss danny at cs.huji.ac.il
Thu Nov 14 15:30:24 UTC 2019



> On 14 Nov 2019, at 17:24, Miroslav Lachman <000.fbsd at quip.cz> wrote:
> 
> Daniel Braniss wrote on 2019/11/14 15:52:
>> hi,
>> I have serveral hundred Nano-pi NEO running, and sometimes they hang, since there is no console
>> available, the only solution is to do a power cycle - not so easy since they are distributed in three buildings :-)
>> I am looking at the watchdog stuff, but it seems that what I want is not supported, i.e.
>> 	reboot the kernel when hung
>> wishful thinking?
> 
> There is watchdog and watchdogd in base. I never tried it but there are some solutions which need support in BIOS / board where watchdog is communicating with HW and if OS freezes, HW don't get reply from OS and issue reboot after timeout.
> I don't know if Nano-pi has this support or not.
> 
> Miroslav Lachman

the nano reports:
	aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 26 on simplebus0

so there is something there :-)



More information about the freebsd-hackers mailing list