Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2010 04:07:47 -0700
From:      Xin LI <delphij@gmail.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org, phk@freebsd.org
Subject:   Re: Watchdog not being disabled while dumping core
Message-ID:  <AANLkTik=-iJ9b1YBvr7_Lcu%2BYkG=am9%2Boqx3_=J3uXrc@mail.gmail.com>
In-Reply-To: <20100823103412.GA21044@icarus.home.lan>
References:  <20100823103412.GA21044@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 23, 2010 at 3:34 AM, Jeremy Chadwick
<freebsd@jdc.parodius.com> wrote:
> PR bin/145183, opened in 2010 (not sure if this is the same):
> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/145183

Speaking for this I think we can do it by issuing an explicit
watchdog(8) command on shutdown (like, set the timeout to several
minutes) in /etc/rc.d/watchdog's shutdown section.  This would be
trivial to implement.  Additionally, I'd personally think init(8)
should be taught about watchdog facility.

For panics, I think we should have the disk driver to "pat" watchdog
rather than disabling it in their write success callback?  Another
thing is that ddb should be able to disable watchdog when it's waiting
for keyboard input (or received first user input) I think.

Cheers,
-- 
Xin LI <delphij@delphij.net> http://www.delphij.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik=-iJ9b1YBvr7_Lcu%2BYkG=am9%2Boqx3_=J3uXrc>