From owner-freebsd-current@FreeBSD.ORG Tue Jul 13 20:01:33 2004 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 8D2A616A4CE for ; Tue, 13 Jul 2004 20:01:33 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1966843D1F for ; Tue, 13 Jul 2004 20:01:33 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.0.12] (g4.samsco.home [192.168.0.12]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i6DK6tUM028520; Tue, 13 Jul 2004 14:06:56 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40F43F58.7090207@freebsd.org> Date: Tue, 13 Jul 2004 14:00:24 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerrit Nagelhout References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: "'current@freebsd.org'" Subject: Re: SW_WDOG problem 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: Tue, 13 Jul 2004 20:01:33 -0000 Gerrit Nagelhout wrote: > Hi, > > Were are trying out the new software watchdog on current (from a couple of > weeks ago) and are running into a panic within a panic. What happens is > when the software watchdog tries to panic the system (with interrupts > disabled), > it manages to write out the core file, but then panics again in > pmap_invalidate_range > because interrupts are enabled. > Any ideas on how to work around this? > Thanks, > > Gerrit > > This is from a well known class of problems. There has been talk about disabling the shutdown fsync in the panic case. It's both unsafe (why try to continue to do I/O when you've paniced because the system has gone into an unreliable state) and hard to do correctly without running into these kinds of problems. Scott