Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2011 10:40:39 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        KOT MATPOCKuH <matpockuh@gmail.com>, FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: named crashes on assertion in rbtdb.c on sparc64/SMP
Message-ID:  <20110715084039.GL95673@alchemy.franken.de>
In-Reply-To: <4E1F8A75.5060304@FreeBSD.org>
References:  <CALmdT0VFC7kBxaEqLuFVWkLk3o2hLe29tsx3dgn17tuTNaTRLA@mail.gmail.com> <20110707154958.GK14797@alchemy.franken.de> <CALmdT0V_MG7abrGyp-JodsP3Bun-C863VGqTkSAdewnFbiA-%2Bg@mail.gmail.com> <20110708181102.GA95673@alchemy.franken.de> <CALmdT0UnAkjNK2MScU8rjMQ%2BieqUtER6FrEwaDCiQ3cynKfBQw@mail.gmail.com> <20110708193236.GB95673@alchemy.franken.de> <CALmdT0USJ%2BPqyK7UUr3TRDSM2wfCGZ-MNsoU5Htf%2B9Tt0XEZRg@mail.gmail.com> <CALmdT0VLQpT0ihU7TA5bwcomRVsYQdw_aqNJwq2uMUos207drg@mail.gmail.com> <20110714232126.GK95673@alchemy.franken.de> <4E1F8A75.5060304@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <matpockuh@gmail.com>:
> >>>> 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




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