Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2015 01:44:34 +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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: t_uemura@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.



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