[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
Thu Sep 17 01:44:34 UTC 2015


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

            Bug ID: 203166
           Summary: [wbwd][patch] Stop watchdog timer in attach routine if
                    it is already started
           Product: Base System
           Version: 10.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: t_uemura at macome.co.jp
          Keywords: patch

Created attachment 161137
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161137&action=edit
Patch to fix the issue.

According to comments in wbwd.c, the wbwd watchdog timer may be started before
the wbwd driver is attaching.

If so, watchdogd(8) must be started to prevent unnecessary reboot before the
watchdog fires, even if the machine is booting directly to single user mode.

Attached patch works around this. When the timer is already started, then
attach routine stops it.

Please someone fix the issue. Thanks.

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


More information about the freebsd-bugs mailing list