Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 22:53:04 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: can the hardware watchdog reboot a hung kernel?
Message-ID:  <a9c4fc76-df3f-3c49-b4bf-0d1d10f64078@grosbein.net>
In-Reply-To: <2AD912BF-97B0-421D-B561-722D74864DC9@cs.huji.ac.il>
References:  <EC4DB495-55D0-44BB-8D6A-0301785FADC7@cs.huji.ac.il> <9cded04a-9ae1-881e-3962-7ef0322e96ed@grosbein.net> <2AD912BF-97B0-421D-B561-722D74864DC9@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
14.11.2019 22:35, Daniel Braniss wrote:

>> It's possible if the hardware has such a watchdog and kernel subsystem watchdog(4) supports it.
>> rc.conf(5) manual page describes watchdogd_enable option.
>>
> 
> yes, but it relys  on user land, what if the kernel is hung? 

No, it does not relay on userland. Well, in part: userland daemon replies to hardware watchdog "host is alive"
and if system hangs and watchdog stops getting replies, it resets the system.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9c4fc76-df3f-3c49-b4bf-0d1d10f64078>