From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 17:38:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E766F37B401; Wed, 23 Jul 2003 17:38:29 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B3043FB1; Wed, 23 Jul 2003 17:38:29 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003072400382801400amrqte>; Thu, 24 Jul 2003 00:38:28 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA62434; Wed, 23 Jul 2003 17:38:28 -0700 (PDT) Date: Wed, 23 Jul 2003 17:38:26 -0700 (PDT) From: Julian Elischer To: Sean Kelly In-Reply-To: <20030723230315.GA12251@edgemaster.zombie.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Remove "options HW_WDOG"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 00:38:30 -0000 this code WAS used in the interjet. We had modules that linked in and just needed somewhere to hook into.. the hardware watchdog was held off by our software, but we needed to add code to the core-dump routines to routinely call the watchdog hold-off or we could never get a coredump because the watchdog would always go off before the dump was completed. I doubt it is used by anyone any more but It's good that you asked.. I did notice some people were working on the watchdog support for the chipsets that have a watchdog in them so I guess they wil have all their own entrypoints. Julian On Wed, 23 Jul 2003, Sean Kelly wrote: > While working on my software watchdog, it has come to my attention that the > "options HW_WDOG" in FreeBSD does absolutely nothing. does anybody actually > use this code, or can I purge it in favor of the software watchdog? > > /usr/src/sys$ find . -type f |xargs grep HW_WDOG > ./conf/NOTES:options HW_WDOG > ./conf/options:HW_WDOG > ./kern/kern_shutdown.c:#ifdef HW_WDOG > ./kern/kern_shutdown.c:#endif /* HW_WDOG */ > > All the bit in kern/kern_shutdown.c does is: > > watchdog_tickle_fn wdog_tickler = NULL; > > And I can't find that being used anywhere. > > -- > Sean Kelly | PGP KeyID: D2E5E296 > smkelly@FreeBSD.org | http://www.sean-kelly.org/ > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >