From owner-freebsd-arm@freebsd.org Fri Jun 17 11:19:58 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 EA25FA473A7; Fri, 17 Jun 2016 11:19:58 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from courriel.site.uottawa.ca (eecsmail.engineering.uottawa.ca [137.122.24.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "courriel.site.uottawa.ca", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A138F1E27; Fri, 17 Jun 2016 11:19:58 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from [10.0.2.15] (ppp-66-225-164-38.vianet.ca [66.225.164.38]) (authenticated bits=0) by courriel.site.uottawa.ca (8.14.5/8.14.5) with ESMTP id u5HBJmGu078647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Jun 2016 07:19:50 -0400 (EDT) (envelope-from kwhite@site.uottawa.ca) Date: Fri, 17 Jun 2016 07:19:44 -0400 (EDT) From: Keith White X-X-Sender: kwhite@localhost.my.domain To: Mark Millard cc: freebsd-arm , FreeBSD Current Subject: RE: RPI-B 11.0-ALPHA3 r301815 panic ["when connecting via WiFi"] In-Reply-To: Message-ID: References: <5B47CB62-5BB6-41F3-82F9-507B42EF161B@dsl-only.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 11:19:59 -0000 On Thu, 16 Jun 2016, Keith White wrote: > On Wed, 15 Jun 2016, Mark Millard wrote: > >> https://lists.freebsd.org/pipermail/freebsd-current/2016-June/061904.html >> reports an RPI-B alignment fault for -r301815 (the snapshot) "when >> connecting via WiFi". >> >> -r301872 ( >> https://lists.freebsd.org/pipermail/svn-src-head/2016-June/088339.html ) >> has a fix for networking vs. alignment handling for armv6 contexts that >> might be needed. Quoting: >> >>> Author: ian >>> Date: Mon Jun 13 16:48:27 2016 >>> New Revision: 301872 >>> URL: >>> https://svnweb.freebsd.org/changeset/base/301872 >> ... > > Thanks for pointing this out! I'll see if a (complete) rebuild at > that rev fixes the problem. > Tried that. I still get a panic. I cross built on an amd64 at r301840, I'll try upgrading that machine too. In the meantime, other suggestions? FreeBSD 11.0-ALPHA3 #0 r301872: Thu Jun 16 21:11:44 EDT 2016 kwhite@freebsd11:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) VT: init without driver. ... Starting devd. urtwn0: on usbus0 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R urtwn0: enabling 11n wlan0: Ethernet address: 00:13:ef:74:07:a8 Created wlan(4) interfaces: wlan0. ... [ nc rpi-b 22 ] Fatal kernel mode data abort: 'Alignment Fault' on read trapframe: 0xc18f28c0 FSR=00000001, FAR=c21a487a, spsr=60000013 r0 =c07a6548, r1 =00000004, r2 =c0605338, r3 =000007b6 r4 =c18f2a28, r5 =c18f2b40, r6 =c21a4876, r7 =c1ccd240 r8 =c1ccd240, r9 =c21a4Stopped at $a.17+0x38: ldmib r6, {r1-r2} db> ...keith