Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2009 07:19:34 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        freebsd-hackers@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: watchdog: hw+sw?
Message-ID:  <200904031419.n33EJYb8069855@ambrisko.com>
In-Reply-To: <20090403084601.108111xg6o3b49ms@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger writes:
| Quoting Doug Ambrisko <ambrisko@ambrisko.com> (from Thu, 2 Apr 2009  
| 16:16:34 -0700 (PDT)):
| 
| > This worked well for us so I think it is a good idea.  Also some HW
| > watchdogs can be told to generate an NMI which can also produce a kernel
| > dump/ddb prompt.  I've also implemented some rough code to put an
| > simplified back-trace into the IPMI event log in-case a disk or disk
| > I/O sub-system died.
| 
| Somewhat related... I have 2 32bit systems with zfs which lock up  
| after a while. The lockup is strictly related to the disks. I can  
| still ping the system just fine, and the HW watchdog seems to still  
| work as intended (or it does not work at all anymore, as there's not  
| automatic reset), but as soon as I want to do something which involves  
| disks (access a webpage located on the zfs disks), I'm lost. The only  
| way to get some useful work done again is to reset manually. Your  
| paragraph above implies that the WD notices that there's a problem  
| with disks.

Yep, isn't that fun :-(
 
| While I know how to teach our watchdogd how to detect this (-e  
| option), we do not have support for this in the basesystem yet. Do you  
| have a patch for /etc/rc.d/watchdogd which allows to specify commands  
| to run via rc.conf or some patch which tells watchdogd to check a file?

We start watchdogd manually with our own rc.d script mainly since
I noticed Dell pe2650's do false triggers :-(  Also I wanted to check 
that our app. is functioning so we'd need to start after that.  It 
would be good to add flags option to the stock start-up scripts. 
Just having watchdogd running without checking on anything real tends
to be useless since it is usually swapped in and can run just fine
without depending on much of the system.

Doug A.



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