From owner-freebsd-arm@FreeBSD.ORG Fri Feb 8 06:32:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 66586272 for ; Fri, 8 Feb 2013 06:32:43 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 43C957DB for ; Fri, 8 Feb 2013 06:32:42 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r186WfJt004028; Fri, 8 Feb 2013 06:32:41 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id yf85zrtqsmsrgsigkhnuyen4mi; Fri, 08 Feb 2013 06:32:41 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: named kills raspberry pi Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20130207223038.ec308967273d6a16c41be97b@sohara.org> Date: Thu, 7 Feb 2013 22:32:40 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <20130207223038.ec308967273d6a16c41be97b@sohara.org> To: "Steve O'Hara-Smith" X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 06:32:43 -0000 On Feb 7, 2013, at 2:30 PM, Steve O'Hara-Smith wrote: > Hi, > > As soon as I start named either by rc.d script or directly, whether > in an ssh session or directly on the video console, with or without chroot, > my early model 256MB model B pi locks up solid, no response on console, all > ssh sessions freeze, no response to ping, nothing until power cycle. I can > build ports all day long, but if I start named everything stops dead. $ truss named -f If you're lucky, you might catch some of the last system calls before it hangs, which might give a clue. If all else fails, good old-fashioned "printf debugging" may be your best shot: Add printf() calls to named's main() function and see what the last printout is and keep going until you narrow it down to a particular function or system call. Of course, this will go faster if you have FreeBSD src on the RPi so you can edit, compile, install, and run again fairly quickly. Tim