[Bug 203166] [wbwd][patch] Stop watchdog timer in attach routine if it is already started

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 21 20:29:29 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203166

--- Comment #1 from Ed Maste <emaste at 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.


More information about the freebsd-bugs mailing list