From owner-freebsd-current@FreeBSD.ORG Tue Feb 16 18:53:48 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D42991065672; Tue, 16 Feb 2010 18:53:48 +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 5C3C58FC16; Tue, 16 Feb 2010 18:53:47 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o1GIrk0K052259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Feb 2010 19:53:47 +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 o1GIrdF8041203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Feb 2010 19:53:39 +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 o1GIrcVJ072592; Tue, 16 Feb 2010 19:53:38 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o1GIrc7l072591; Tue, 16 Feb 2010 19:53:38 +0100 (CET) (envelope-from ticso) Date: Tue, 16 Feb 2010 19:53:38 +0100 From: Bernd Walter To: Doug Barton Message-ID: <20100216185338.GJ43625@cicely7.cicely.de> References: <20100215213907.GA43625@cicely7.cicely.de> <4B7AE6A5.30109@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B7AE6A5.30109@FreeBSD.org> 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: Bernd Walter , ticso@cicely.de, current@FreeBSD.org Subject: Re: bind fails with sig11 on start X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 18:53:49 -0000 On Tue, Feb 16, 2010 at 10:40:37AM -0800, Doug Barton wrote: > On 2/15/2010 1:39 PM, Bernd Walter wrote: > > [62]# uname -a > > FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203927: Mon Feb 15 19:12:36 CET 2010 ticso@cicely14.cicely.de:/data/builder/arm-current/head/sys/arm/compile/FBOX arm > > [64]# /etc/rc.d/named start > > Starting named. > > /etc/rc.d/named: WARNING: failed to start named > > 1.000u 0.000s 0:03.94 54.0% 7446+33509k 0+0io 17pf+0w > > Exit 1 > > Are you getting a core file? If so can you do a backtrace? I needed to take care about gdb to run. See my other mail about it. gdb and ktrace on ARM are still tools which tend to fail quite often :( > > [66]# cat /etc/rc.conf > > hostname="Please.tell.me.who.am.I" > > Bonus points here for not ending in .am. :) That's just a template entry. > > tmpmfs="AUTO" > > tmpsize="4m" > > tmpmfs_flags="-S -M" > > FYI, that size of /tmp will probably not allow your periodic/weekly > process to generate a locate.database. IME you need a /tmp at least 2.5 > times the size of that file in order for it to complete successfully. Thanks for the pointer - I should disable it. The system just has 64MB RAM, so large memory filesystems are out of question. > > ntpdate_enable="YES" > > ntpdate_program="ntpdate" > > IMO you'd be better off with a full path here, although this will > probably work for /usr/sbin/ntpdate. However you're actually better off > with the ntpd_sync_on_start option in any case. This is a bit old - I will compare it with new features. > > cloned_interfaces="vlan0 vlan1 vlan2 vlan3" > > ifconfig_vlan0="192.168.53.1/24 vlan 256 vlandev ate0" > > ifconfig_vlan1="vlan 257 vlandev ate0" > > ifconfig_vlan2="vlan 258 vlandev ate0" > > ifconfig_vlan3="vlan 259 vlandev ate0" > > This is the only area that I have real questions about, since I haven't > done any work with vlans I'm not sure how named will respond to it. Is > it possible for you to try starting named with a plain vanilla network > setup? I need to recompile the kernel for this, because the board has an embedded switch which is setup hardcoded inside the kernel. But I use this type of setup since a very long time including 7.0 on the same board type. > > /etc/namedb isn't changed from distribution yet > > Ok, since you're not chroot'ing it have you checked to make sure that > directory is populated? It shouldn't segfault even if it isn't, but nice > to cover all the bases. Originally I used the default and just switched for testen. [61]Please.tell.me.who.am.I# ls -al /etc/namedb/ total 32 drwxr-xr-x 6 root wheel 512 Feb 16 18:47 . drwxr-xr-x 3 root wheel 512 Feb 15 19:30 .. drwxr-xr-x 2 bind wheel 512 Feb 15 18:07 dynamic drwxr-xr-x 2 root wheel 512 Feb 15 18:09 master -rw-r--r-- 1 root wheel 13969 Feb 15 18:09 named.conf -rw-r--r-- 1 root wheel 3015 Feb 15 18:09 named.root -rw------- 1 bind wheel 97 Feb 15 19:30 rndc.key drwxr-xr-x 2 bind wheel 512 Feb 15 18:07 slave drwxr-xr-x 2 bind wheel 512 Feb 15 18:07 working [62]Please.tell.me.who.am.I# ls -al /etc/namedb lrwxr-xr-x 1 root wheel 21 Feb 15 20:36 /etc/namedb -> /var/named/etc/namedb -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.