From owner-freebsd-arm@FreeBSD.ORG Wed Feb 17 02:30:36 2010 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C441065697; Wed, 17 Feb 2010 02:30:36 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id E1EB28FC26; Wed, 17 Feb 2010 02:30:35 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o1H2UYvX086604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Feb 2010 03:30:34 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.3/8.14.3) with ESMTP id o1H2UQmE069608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Feb 2010 03:30:26 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o1H2UQkZ075080; Wed, 17 Feb 2010 03:30:26 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o1H2UQOX075079; Wed, 17 Feb 2010 03:30:26 +0100 (CET) (envelope-from ticso) Date: Wed, 17 Feb 2010 03:30:26 +0100 From: Bernd Walter To: Doug Barton Message-ID: <20100217023026.GS43625@cicely7.cicely.de> References: <20100215213907.GA43625@cicely7.cicely.de> <20100216183951.GI43625@cicely7.cicely.de> <4B7AE7BA.406@FreeBSD.org> <20100216185614.GK43625@cicely7.cicely.de> <4B7AEBC0.5050506@FreeBSD.org> <20100216211327.GO43625@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100216211327.GO43625@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: arm@FreeBSD.org, Bernd Walter , ticso@cicely.de, current@FreeBSD.org Subject: Re: bind fails with sig11 on start / pthread failure on ARM? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 02:30:36 -0000 On Tue, Feb 16, 2010 at 10:13:27PM +0100, Bernd Walter wrote: > On Tue, Feb 16, 2010 at 11:02:24AM -0800, Doug Barton wrote: > > On 2/16/2010 10:56 AM, Bernd Walter wrote: > > >> Wow, that was fast. :) It sure looks like that's the problem. Can you > > >> try compiling ports/dns/bind96 without threads and see if that works for > > >> you? If it does then it would be good to follow up on > > >> freebsd-arm@FreeBSD.org and see if the problem can be addressed. > > > > > > I'd send it before I saw your mail. > > > > Yeah, I figured that when I got your other reply just now. :) I > > received the trace message to the list in the same mail download as my > > message to the list, which I thought was quite impressive on your part. :) > > > > > Compiling however will take some time. > > > > No problem, let us know how it works out. Mmm - the port (without thread and without XML) works fine: [78]Please.tell.me.who.am.I# host -a www.freebsd.org 127.0.0.1 Trying "www.freebsd.org" Using domain server: Name: 10.1.1.9 Address: 10.1.1.9#53 Aliases: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2501 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 5 ;; QUESTION SECTION: ;www.freebsd.org. IN ANY ;; ANSWER SECTION: www.freebsd.org. 3600 IN MX 0 . www.freebsd.org. 3600 IN AAAA 2001:4f8:fff6::21 www.freebsd.org. 3600 IN A 69.147.83.33 ;; AUTHORITY SECTION: freebsd.org. 3544 IN NS ns3.isc-sns.info. freebsd.org. 3544 IN NS ns2.isc-sns.com. freebsd.org. 3544 IN NS ns1.isc-sns.net. ;; ADDITIONAL SECTION: ns2.isc-sns.com. 87978 IN A 38.103.2.1 ns1.isc-sns.net. 87978 IN A 72.52.71.1 ns1.isc-sns.net. 87978 IN AAAA 2001:470:1a::1 ns3.isc-sns.info. 3546 IN A 63.243.194.1 ns3.isc-sns.info. 3546 IN AAAA 2001:5a0:10::1 Received 284 bytes from 10.1.1.9#53 in 135 ms Feb 17 02:21:48 Please named[28754]: starting BIND 9.6.1-P3 Feb 17 02:21:48 Please named[28754]: built with '--localstatedir=/var' '--disable-linux-caps' '--with-randomdev=/dev/random' '--with-openssl=/usr' '--without-libxml2' '--without-idn' '--disable-threads' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=arm-portbld-freebsd9.0' 'build_alias=arm-portbld-freebsd9.0' 'CC=cc' 'CFLAGS=-O -pipe -mcpu=arm9' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CXX=c++' 'CXXFLAGS=-O -pipe -mcpu=arm9' Feb 17 02:21:54 Please named[28754]: max open files (957) is smaller than max sockets (4096) Feb 17 02:21:57 Please named[28754]: command channel listening on 127.0.0.1#953 Feb 17 02:21:57 Please named[28754]: command channel listening on ::1#953 Feb 17 02:22:05 Please named[28754]: running [75]Please.tell.me.who.am.I# sockstat | grep named root named 28754 3 dgram -> /var/run/logpriv root named 28754 20 tcp4 127.0.0.1:53 *:* root named 28754 21 tcp4 127.0.0.1:953 *:* root named 28754 22 tcp6 ::1:953 *:* root named 28754 512 udp4 127.0.0.1:53 *:* On the other hand a short pthread test worked fine as well. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.