From owner-freebsd-arm@freebsd.org Thu Nov 5 12:09:55 2015 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 F2B2AA25F92 for ; Thu, 5 Nov 2015 12:09:54 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D4E6A1AEF for ; Thu, 5 Nov 2015 12:09:54 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: by mailman.ysv.freebsd.org (Postfix) id D3D7CA25F91; Thu, 5 Nov 2015 12:09:54 +0000 (UTC) Delivered-To: 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 D3760A25F90 for ; Thu, 5 Nov 2015 12:09:54 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 942101AEC for ; Thu, 5 Nov 2015 12:09:54 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id DC1866DF91B; Thu, 5 Nov 2015 13:09:50 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id tA5C9oEu003123; Thu, 5 Nov 2015 13:09:50 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id tA5C9oTf002221; Thu, 5 Nov 2015 13:09:50 +0100 (CET) (envelope-from lars) Date: Thu, 5 Nov 2015 13:09:50 +0100 From: Lars Engels To: Hans Petter Selasky Cc: arm@freebsd.org Subject: Re: [Banana Pi] Fatal kernel mode data abort: 'Alignment Fault' on read Message-ID: <20151105120950.GR66179@e-new.0x20.net> References: <20151105104859.GQ66179@e-new.0x20.net> <563B372E.20607@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gvMLM4USzlj3SVKc" Content-Disposition: inline In-Reply-To: <563B372E.20607@selasky.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 12:09:55 -0000 --gvMLM4USzlj3SVKc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 05, 2015 at 12:02:06PM +0100, Hans Petter Selasky wrote: > On 11/05/15 11:48, Lars Engels wrote: > > Using FreeBSD-armv6-11.0-A20-290366.img I can reproducible crash the > > kernel by USB-tethering the Banana Pi to a mobile phone and run " > > pkg bootstrap". It looks like this: > > > > root@bananapi:/ # pkg bootstrap > > The package management tool is not yet installed on your system. > > Do you want to fetch and install it now? [y/N]: y > > Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/late= st, please wait... > > Fatal kernel mode data abort: 'Alignment Fault' on read > > trapframe: 0xea576a90 > > FSR=3D00000001, FAR=3Dc43a1d6e, spsr=3D60000113 > > r0 =3D00000014, r1 =3D0000003c, r2 =3D0000003c, r3 =3D00000903 > > r4 =3D00000000, r5 =3Dc43a1d6a, r6 =3D00000028, r7 =3Dc43a1d56 > > r8 =3D00000000, r9 =3D00000014, r10=3D00000028, r11=3Dea576bf8 > > r12=3D00000000, ssp=3Dea576b20, slr=3Dc061aba4, pc =3Dc04f68e8 > > > > [ thread pid 13 tid 100024 ] > > Stopped at tcp_input+0x820: ldr r0, [r5, #0x004] >=20 > Hi, >=20 > Could you "objdump -Dx --source /boot/kernel/kernel" and figure out=20 > which code line "tcp_input+0x820" corresponds to? You mean like "objdump ... | grep -C10 tcp_input+0x820"? I started that half an hour ago and it's still not finished. --gvMLM4USzlj3SVKc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWO0cNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tjXsH/2TmJtRYmgcJKigZEpkVut32 IQ9VzVHcesh0LT8TVTT+hPR3RNPq9AcRPZbyQKS/jHd6pt5kTi4nE6FylPqCS9RY LvosHkO7guiYhKA/Cxv7hipVH+aJy9L20JXtm1w/tEuO3jTgQjv2pB7pV9Rma6ta w3nhhQijnOxQ1GPcVq3gE85Xxtu8vAE7eUqfY3+/ZOTWCIJ3jp4eo979ETgMm17E LzfZgEgu80cx62+ahOrGBAOj71JeZZUFoRQzxtff+hR76Fsm4m3v/8bgU0jFSKUk Y1BXkH5+Zk8O2am6w3PE+kPfYH2J9nkNxCMpYcCir7Rcq/aMnerSdOfR2+ydi70= =aRTV -----END PGP SIGNATURE----- --gvMLM4USzlj3SVKc--