can the hardware watchdog reboot a hung kernel?

Miroslav Lachman 000.fbsd at quip.cz
Thu Nov 14 15:24:11 UTC 2019


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


More information about the freebsd-hackers mailing list