Date: Thu, 14 Nov 2019 17:30:20 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: can the hardware watchdog reboot a hung kernel? Message-ID: <33FF6A8A-C01A-4261-A35A-0E05C96FD04A@cs.huji.ac.il> In-Reply-To: <e601ad2b-dae4-0323-7204-35ae4f0d4d1f@quip.cz> References: <EC4DB495-55D0-44BB-8D6A-0301785FADC7@cs.huji.ac.il> <e601ad2b-dae4-0323-7204-35ae4f0d4d1f@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Nov 2019, at 17:24, Miroslav Lachman <000.fbsd@quip.cz> wrote: >=20 > 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? >=20 > 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. >=20 > Miroslav Lachman the nano reports: aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq = 26 on simplebus0 so there is something there :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33FF6A8A-C01A-4261-A35A-0E05C96FD04A>