From owner-freebsd-current@FreeBSD.ORG Fri Jul 15 08:40:41 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6191065676; Fri, 15 Jul 2011 08:40:41 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0AF8FC13; Fri, 15 Jul 2011 08:40:40 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p6F8ed2g068867; Fri, 15 Jul 2011 10:40:39 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p6F8eddK068866; Fri, 15 Jul 2011 10:40:39 +0200 (CEST) (envelope-from marius) Date: Fri, 15 Jul 2011 10:40:39 +0200 From: Marius Strobl To: Doug Barton Message-ID: <20110715084039.GL95673@alchemy.franken.de> References: <20110707154958.GK14797@alchemy.franken.de> <20110708181102.GA95673@alchemy.franken.de> <20110708193236.GB95673@alchemy.franken.de> <20110714232126.GK95673@alchemy.franken.de> <4E1F8A75.5060304@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E1F8A75.5060304@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: KOT MATPOCKuH , FreeBSD Current Subject: Re: named crashes on assertion in rbtdb.c on sparc64/SMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 15 Jul 2011 08:40:41 -0000 On Thu, Jul 14, 2011 at 05:31:49PM -0700, Doug Barton wrote: > On 07/14/2011 16:21, Marius Strobl wrote: > > On Thu, Jul 14, 2011 at 09:53:42AM +0400, KOT MATPOCKuH wrote: > >> 2011/7/11 KOT MATPOCKuH : > >>>> Oops, sorry, I forgot to revert the previous patch when test-compiling. > >>>> Please re-fetch sparc64_isc_atomic.h.diff2 and try again. > >>> I started named from ports (dns/bind96) at Sat Jul ?9 10:08:41 MSD, > >>> and it worked properly till Sun Jul 10 22:25:41 MSD. > >>> At 22:25:41 I restarted bind from base system with your > >>> sparc64_isc_atomic.h.diff2. > >>> From this moment till today, 15:57:05 he crashed 3 times: > >>> Jul 10 23:19:19 sunrise kernel: pid 45352 (named), uid 53: exited on signal 6 > >>> Jul 11 14:52:20 sunrise kernel: pid 52032 (named), uid 53: exited on signal 6 > >>> Jul 11 15:14:15 sunrise kernel: pid 71300 (named), uid 53: exited on signal 6 > >>> > >>> To make to ensure proper operation of bind from ports, I ran it again > >>> at 15:57:05, and, I think, we need to wait several days. > >> And from that time till now bind from ports never died and works properly... > >> > > > > Okay. > > Doug, could you please disable the use of atomic operations for sparc64 > > in the in-tree BIND via the following patch in order to match what the > > vendor source does? > > http://people.freebsd.org/~marius/sparc64_isc_disable_atomic.diff > > If you use the port and do 'make configure' are the values in config.h > the same as the ones in your patch? If so, that's likely to be the > right answer, and I'll go ahead and apply your patch. > The generated config.h and platform.h for sparc64 are these: http://people.freebsd.org/~marius/bind96_config.h http://people.freebsd.org/~marius/bind96_platform.h Marius