From owner-freebsd-arm@freebsd.org Fri Jun 17 18:39:53 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25F20A78A77 for ; Fri, 17 Jun 2016 18:39:53 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D99A2441 for ; Fri, 17 Jun 2016 18:39:52 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: e2b2d238-34ba-11e6-ac92-3142cfe117f2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.eu.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 17 Jun 2016 18:39:54 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u5HIdkUh008257; Fri, 17 Jun 2016 12:39:46 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1466188786.34556.21.camel@freebsd.org> Subject: Re: RPI-B 11.0-ALPHA3 r301815 panic ["when connecting via WiFi"] From: Ian Lepore To: Keith White Cc: Adrian Chadd , freebsd-arm , FreeBSD Current Date: Fri, 17 Jun 2016 12:39:46 -0600 In-Reply-To: References: <5B47CB62-5BB6-41F3-82F9-507B42EF161B@dsl-only.net> <1466177966.51702.13.camel@freebsd.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 18:39:53 -0000 On Fri, 2016-06-17 at 12:28 -0400, Keith White wrote: > On Fri, 17 Jun 2016, Ian Lepore wrote: > > > On Fri, 2016-06-17 at 07:52 -0700, Adrian Chadd wrote: > > > Just disable 11n for now. ifconfig wlan0 -ht (and reassociate.) > > > > > > See if it's that. > > > > > > > > > > > > -adrian > > > > > > > You can see from the crash info that it's an alignment fault: > > > > r6 =c21a4876 > > ldmib r6,{r1-r2} > > > > An ldm instruction requires 4-byte alignment. Now the question is > > why > > undefining __NO_STRICT_ALIGNMENT didn't fix the problem. Maybe the > > wifi code doesn't use __NO_STRICT_ALIGNMENT the same way other > > network > > drivers do? > > > > Unfortunately the pasted info lists the nearby symbol as > > $a.17+0x38, > > which doesn't help find the actual code. A stack backtrace might > > help. > > > > -- Ian > > ... > > What do I need to type at the "db> " prompt that would be useful? > I should be able to access the RPI-B in 5 hours. > > Here's the result of a "where" taken from an earlier logged session > (different r6 value): > "where" is a synonym for getting a stack backtrace, that's just what I needed. Now I know what's wrong, but not yet how to fix it. -- Ian