Date: Wed, 8 Jun 2005 03:38:50 GMT From: KOIE Hidetaka <koie@suri.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/82014: wachdog is fire shuttingdown. Message-ID: <200506080338.j583cobr073660@www.freebsd.org> Resent-Message-ID: <200506080340.j583e9pn001923@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82014
>Category: bin
>Synopsis: wachdog is fire shuttingdown.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 08 03:40:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KOIE Hidetaka
>Release: CURRENT
>Organization:
Suri giken
>Environment:
FreeBSD sakura.suri.co.jp 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Wed Jun 8 11:21:58 JST 2005 koie@sakura.suri.co.jp:/usr/obj/usr/src/sys/SAKURA i386
>Description:
I try watchdogd. wachdogd does not stop the timer in the kernel when exitting, kernel panics during long shutdown process.
>How-To-Repeat:
1. make kernel with SW_WATCHDOG
2. reboot
3. /usr/sbin/watchdogd -d
4. SIGINT
5. panic after 15 secs.
>Fix:
watchdog_onoff(int onoff)
{
if (onoff)
timeout |= WD_ACTIVE;
else
timeout = WD_TO_NEVER; /*FIX*/
return watchdog_patpat();
}
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506080338.j583cobr073660>
