From owner-freebsd-arm@FreeBSD.ORG Sat Nov 15 13:35:16 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4BF9E3 for ; Sat, 15 Nov 2014 13:35:16 +0000 (UTC) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::8]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56E67A26 for ; Sat, 15 Nov 2014 13:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1416058486; l=3627; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:Cc:To:From:Date; bh=hHaMOkue/rc4QJN915ILKqiceqA=; b=iwJ+Z3IGJvAtmBGy5M3KTGQV97DWelbiFcceEKbHdqKeK5XWr9WeLBTIKwAkiUMBhiR k1jhTqbB3TAfMuKMTU56FZxwEQhCX3BVOIEeEU1dtCAchdJG0jBgnxKMO6HEwh5XhmxBY FUOYjtFV1uhdJE6MPM7sUj4T3W6TjozG3tU= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg47scv/YBrt X-RZG-CLASS-ID: mo00 Received: from bbu (p54868BB5.dip0.t-ipconnect.de [84.134.139.181]) by smtp.strato.de (RZmta 35.11 DYNA|AUTH) with ESMTPSA id Q030f8qAFDYk8zI (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate); Sat, 15 Nov 2014 14:34:46 +0100 (CET) Date: Sat, 15 Nov 2014 14:34:44 +0100 From: Ulrich Grey To: Rui Paulo Subject: Re: Wandboard-Quad crashes Message-Id: <20141115143444.5ad037548e06f289d2532fb7@ulrich-grey.de> In-Reply-To: References: <20141113125236.b16cd4e5f0e339eac0494cd4@ulrich-grey.de> Organization: - X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; armv6-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2014 13:35:17 -0000 On Thu, 13 Nov 2014 08:37:13 -0800 Rui Paulo wrote: > On Nov 13, 2014, at 03:52, Ulrich Grey wrote: > > > > I am running FreeBSD on a Wandboard-Quad: > > > > FreeBSD 11.0-CURRENT #0 r274420M: Wed Nov 12 14:17:26 UTC 2014 > > user@quad:/usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD > > arm FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) > > 20140512 WARNING: WITNESS option enabled, expect reduced > > performance. CPU: Cortex A9-r2 rev 10 (Cortex-A core) > > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 > > Security_Ext > > > > If I try to compile x11/libX11 the system frequently crashes: > > > > Fatal kernel mode data abort: 'Alignment Fault 1' > > trapframe: 0xf72e0ae8 > > FSR=00000001, FAR=000000a7, spsr=60000013 > > r0 =00000004, r1 =00000000, r2 =c242b953, r3 =00000970 > > r4 =c847fd80, r5 =c242b953, r6 =000000a7, r7 =c7df6810 > > r8 =00000000, r9 =00000097, r10=00000970, r11=f72e0b68 > > r12=000000c0, ssp=f72e0b38, slr=c220ebf4, pc =c214fbb4 > > > > [ thread pid 23015 tid 100147 ] > > > > Stopped at __mtx_lock_flags+0x50: ldr r0, [r6] > > > > What can I do? > > Can you send us the backtrace? > Here are the contents of the info files of the last two crashes: root@quad:/var/crash # less info.0 Dump header from device /dev/da0s1b Architecture: armv6 Architecture Version: 1 Dump Length: 64605184B (61 MB) Blocksize: 512 Dumptime: Fri Nov 14 15:52:43 2014 Hostname: quad Magic: FreeBSD Kernel Dump Version String: FreeBSD 11.0-CURRENT #1 r274420M: Fri Nov 14 12:57:30 UTC 2014 gwgpi@quad:/usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD Panic String: vm_fault: fault on nofault entry, addr: c74c5000 Dump Parity: 1136560497 Bounds: 0 Dump Status: good Dump header from device /dev/da0s1b Architecture: armv6 Architecture Version: 1 Dump Length: 46439424B (44 MB) Blocksize: 512 Dumptime: Sat Nov 15 10:38:33 2014 Hostname: quad Magic: FreeBSD Kernel Dump Version String: FreeBSD 11.0-CURRENT #1 r274420M: Fri Nov 14 12:57:30 UTC 2014 gwgpi@quad:/usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD Panic String: Trying to access non-existent page va e6000 pte bfffeff2 Dump Parity: 1943179849 Bounds: 1 Dump Status: good I am not able to get a backtrace: root@quad:/usr/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD # kgdb kernel.debug GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "armv6-marcel-freebsd"...Dwarf Error: Could not find abbrev number 114 [in module /usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD/kernel.debug] No struct type named linker_file. No struct type named linker_file. No struct type named linker_file. No symbol "linker_path" in current context. No symbol "linker_files" in current context. (kgdb) file kernel.symbols Reading symbols from kernel.symbols...Dwarf Error: Could not find abbrev number 114 [in module /usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD/kernel.symbols] No struct type named linker_file. No struct type named linker_file. No struct type named linker_file. No symbol "linker_path" in current context. No symbol "linker_files" in current context. (kgdb) ----- Ulrich