From owner-freebsd-arm@FreeBSD.ORG Mon May 6 07:26:57 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 5ED79FE8 for ; Mon, 6 May 2013 07:26:57 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id C14216AC for ; Mon, 6 May 2013 07:26:56 +0000 (UTC) Received: (qmail 30671 invoked from network); 6 May 2013 09:26:48 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 6 May 2013 09:26:48 +0200 Message-ID: <51875B37.8060802@thieprojects.ch> Date: Mon, 06 May 2013 09:26:47 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: Is this related to the general panic discussed in freebsd-current? References: <51835891.4050409@thieprojects.ch> <03971BD1-4ADE-4435-BDD0-B94B62634F1D@bsdimp.com> <5183BF8C.4040406@thieprojects.ch> <6D0E82C9-79D1-4804-9B39-3440F99AA8FE@kientzle.com> <20130505140006.0d671ba5@bender> <20130505233729.63ac23bc@bender.lan> <724191A9-57F4-4D66-9E4A-EBBC13BDC0D1@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 06 May 2013 07:26:57 -0000 On 5/6/13 7:44 AM, Tim Kientzle wrote: > On May 5, 2013, at 10:39 PM, Tim Kientzle wrote: >> >> Here's a version of stack_capture that allows a Clang-built >> OABI kernel with WITNESS enabled to boot: >> >> /* In sys/arm/arm/stack_machdep.c */ >> static void >> stack_capture(struct stack *st, u_int32_t *frame) >> { >> vm_offset_t callpc; >> >> stack_zero(st); >> while (INKERNEL(frame)) { >> callpc = frame[1]; >> if (stack_put(st, callpc) == -1) >> break; >> frame = (u_int32_t *)(frame[0]); >> } >> } > > On a related note: With this change, a Crochet-built BeagleBone > image does boot on BeagleBone Black. ;-) Hi Tim Thxs for the nudge with the config.sh, I'm really not into shell programming. Yesterday I did an image with WITNESS disabled and the only observation I can share is, that FreeBSD crashes silently and is highly instable when the BeagleBone is powered by USB only, switching to the 5V external power supply its now building python27 just ok right now. Werner