From owner-freebsd-arm@FreeBSD.ORG Thu Aug 1 12:03:49 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1BC89666 for ; Thu, 1 Aug 2013 12:03:49 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5F482DAD for ; Thu, 1 Aug 2013 12:03:48 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1V4rbe-000Dz5-V6; Thu, 01 Aug 2013 12:03:47 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r71C3igU021339; Thu, 1 Aug 2013 06:03:44 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+fp0TyMzXueX/0vbd6i1TR Subject: Re: Kernel Panic on DREAMPLUG: Alignment Fault 1 From: Ian Lepore To: Mattia Rossi In-Reply-To: <51F9C81A.7000106@gmail.com> References: <51F92F79.9010809@gmail.com> <1375309907.45247.185.camel@revolution.hippie.lan> <51F9C81A.7000106@gmail.com> Content-Type: text/plain; charset="us-ascii" Date: Thu, 01 Aug 2013 06:03:43 -0600 Message-ID: <1375358623.45247.189.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 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: Thu, 01 Aug 2013 12:03:49 -0000 On Thu, 2013-08-01 at 04:29 +0200, Mattia Rossi wrote: > On 01/08/13 00:31, Ian Lepore wrote: > > On Wed, 2013-07-31 at 17:38 +0200, Mattia Rossi wrote: > >> Hi all, > >> > >> this might be related to the WLI-UC-GNM Alignment Fault, but definitely > >> has nothing to do with Wireless LAN. > >> It rather seems that there's a problem with the USB subsystem. > >> > >> See dmesg an backtrace below. > >>[snip] > >> > >> Currently trying to find where the issue could be. > >> > >> Mat > > This is a strange abort, and if it's usb-related that's only accidental > > I think. It says it's an alignment fault, but the fault address reg has > > a 32-bit aligned value in it. That makes me think it must be an > > ldrd/strd instruction (requires 64-bit alignment) that's faulting. > > > > Is this compiled with clang? I think it emits such instructions and gcc > > doesn't. Except I don't think clang should use those instructions on > > armv5, because of the alignment requirements. > > > > -- Ian > Hi Ian, > > sorry, forgot to add that contrary to the WLI-UC-GNM problem, I'm still > compiling using gcc on FreeBSD 9.1 > > The abort is completely reproducible each time at the same place... > I've tried to recompile the kernel a few times, also changing the root > device, but it gets stuck there and aborts.. > > I actually have no clue on what's going on here. Any hints on how to get > more information about this? > > Cheers, > > Mat Actually, it looks like you're using clang (I keep forgetting this comes out in dmesg now): >> FreeBSD 10.0-CURRENT #9 r253846M: Wed Jul 31 17:24:31 CEST 2013 >> root@freebsd9.1-base:/usr/obj/arm.arm/usr/devel/dreamplug/sys/DREAMPLUG-100m >> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Is the 'M' in r253846M anything significant? I haven't built for dreamplug in a long time (I haven't done much of anything with computers for several months). I'll get a build going and see if I get the same kind of problems. -- Ian