From owner-freebsd-arm@FreeBSD.ORG Fri Feb 8 12:18:39 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 BB70F41A for ; Fri, 8 Feb 2013 12:18:39 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 61732150 for ; Fri, 8 Feb 2013 12:18:39 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1U3mus-0006ZA-Ln; Fri, 08 Feb 2013 12:18:54 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U3muY-0007TW-Ge; Fri, 08 Feb 2013 12:18:34 +0000 Date: Fri, 8 Feb 2013 12:18:03 +0000 From: Steve O'Hara-Smith To: Warner Losh Subject: Re: named kills raspberry pi Message-Id: <20130208121803.e6b57c3822271cce6e56b4b2@sohara.org> In-Reply-To: <0B9B84F3-D627-497F-B1DA-BE4D0F9BC5DA@bsdimp.com> References: <20130207223038.ec308967273d6a16c41be97b@sohara.org> <20130208075702.a755649a60d10dabf10a058b@sohara.org> <0B9B84F3-D627-497F-B1DA-BE4D0F9BC5DA@bsdimp.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: Tim Kientzle , 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 12:18:39 -0000 On Fri, 8 Feb 2013 04:58:27 -0700 Warner Losh wrote: > > On Feb 8, 2013, at 12:57 AM, Steve O'Hara-Smith wrote: > > > On Thu, 7 Feb 2013 22:32:40 -0800 > > Tim Kientzle wrote: > > > >> > >> 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 > > > > Yep, nice idea, that or ktrace. Sadly there's no truss built > > for the rpi, as for ktrace there was no sign of the output file after > > reboot. > > > >> If you're lucky, you might catch some of the last system calls > >> before it hangs, which might give a clue. > > > > I think Warner has pointed me in the right direction, apart from > > anything else it looks like there's a three year old fix for the > > ras_start address that's never been committed - I'll be trying that > > today. > > I thought that fix had been committed... But the issue isn't that fix, > but rather the difference between armv6 atomics and armv[45] atomics. We > shouldn't be using ras* anything at all on armv6. I had a nasty feeling it might be, I was just hoping it might still work anyway. Failing that I'll look into an armv6 implementation of cpmxchg. Either way if I get it to work I'll post a patch to this list. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/