Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2015 20:29:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203166] [wbwd][patch] Stop watchdog timer in attach routine if it is already started
Message-ID:  <bug-203166-8-mAHOEj8rID@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203166-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203166-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203166

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
We definitely need something like this change.

I'm a little worried that this introduces a window in normal operation though
where the watchdog is ineffective, between wbwd attach and watchdogd starting
up. For example we may have a driver which intermittently hangs in attach, and
we'd want the watchdog to reset the system in that case.

A few ideas from IRC discussion:
- we could pat the watchdog once at attach time so that we don't reboot in
cases where multiuser system startup takes a while after wbwd attaching
- watchdog disabling could happen when the system enters single user mode
- we ought to have a tunable or other configuration to control this, as some
system vendors etc. may not want the watchdog disabled

In any case I think it's probably better to have this change than not.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203166-8-mAHOEj8rID>