From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 2 13:45:59 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B28910656C3 for ; Thu, 2 Apr 2009 13:45:59 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n75.bullet.mail.sp1.yahoo.com (n75.bullet.mail.sp1.yahoo.com [98.136.44.51]) by mx1.freebsd.org (Postfix) with SMTP id 1E7B48FC1F for ; Thu, 2 Apr 2009 13:45:58 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [69.147.84.145] by n75.bullet.mail.sp1.yahoo.com with NNFMP; 02 Apr 2009 13:45:58 -0000 Received: from [69.147.84.34] by t8.bullet.mail.sp1.yahoo.com with NNFMP; 02 Apr 2009 13:45:58 -0000 Received: from [127.0.0.1] by omp210.mail.sp1.yahoo.com with NNFMP; 02 Apr 2009 13:45:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 807237.87676.bm@omp210.mail.sp1.yahoo.com Received: (qmail 8403 invoked by uid 60001); 2 Apr 2009 13:45:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238679958; bh=NU0mm5ub2bn1Sx7xJVVKkRRRj+fDn6I4McoNrQ3i544=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=n0PUmr8jzNYdYqjp2KEpxSTg67z9NGa4zr47NQv+G8yhtJ1uHoJNooqihg12gd+xsZ3TBXkfV9WQ3Cp8P4aiQUaK4LqqF2QC0uaQ4dL6z4UWybfL7meWq6f6KPUFvfqQft6SP+mbHL6xS2mvMuvprWs2k6jniByqYSLtkSYLvZE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=P5VEbZIndIdeh89YC/TVUcm6dZL/AJAwoc77j5xp4sR2mXwPc9BK4+L8bjO9NHHZqox4zfj3Vc6z/+drBvjSzr52bmbeBqS/1yjzCOG3l+8meEMOYB0yOf1+i57q054OFdrezLjwClgoqUvVG4flWB/ptX/TCL6ruBLDHF4rfFs=; Message-ID: <630898.7304.qm@web45805.mail.sp1.yahoo.com> X-YMail-OSG: nA90GHgVM1mxT3_bbuH0uMOQn6hI5OeJEsxM6IVaeZ3CalI5W3jHr5TII9wbocKdO6hJrH_ZrstmVKnUnFMO3X1.unhg5cnruw7ntABN37It9Mng26.751q4wa9Y9y_7e720aX7zycC_uY6MGQ_60IP7108mArEJ7nUui5ZHpL08g91yylUEQKSYGrrvOlOf50IWzy1q3U61ZlSFU6jrlcXMfYyHImyB7kVrsxgVxQ0emk9P1TZbW95BODgn60INwGCqYQUjDvnqXhFjfqTQvsu_fG3EfYYfTYXws5i5VqIcU8UFKssfxBJdDHXNYmph6OB8srcyvRp02KL1wdAq5g-- Received: from [58.71.34.137] by web45805.mail.sp1.yahoo.com via HTTP; Thu, 02 Apr 2009 06:45:56 PDT X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1 Date: Thu, 2 Apr 2009 06:45:56 -0700 (PDT) From: Won De Erick To: freebsd-hackers@FreeBSD.org, Andriy Gapon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: watchdog: hw+sw? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 13:46:00 -0000 --- On Thu, 4/2/09, Andriy Gapon wrote: > > I have some vague thoughts on using SW_WATCHDOG and a > hardware watchdog together. > I think this could be useful but I am not sure how to > implement this. > The idea is this: timeout for SW_WATCHDOG is smaller than > timeout for hw wd; when > some freeze happens sw wd logic kicks in first, stops hw wd > and produces either > panic or ddb prompt; if the freeze is so severe that sw wd > can't run (e.g. > hardware is messed up badly) then hw wd performs its duty. > I am mostly interested in having this in unattended mode > where kernel dump could > be useful for later analysis but the system should recover > in reasonable time. > > Suggestions, opinions? That is interesting! I've been longing for that kind of tool that works with FreeBSD. You might as well want to see/try how the 'bmc-panic' mentioned in the following link is related to your project. http://ipmiutil.sourceforge.net/ Good luck.