From owner-freebsd-arm@FreeBSD.ORG Wed Nov 19 13:26:18 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 4217E4D8 for ; Wed, 19 Nov 2014 13:26:18 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A55C6782 for ; Wed, 19 Nov 2014 13:26:17 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id mc6so489692lab.10 for ; Wed, 19 Nov 2014 05:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=amqvuhjQWv5EfxQrc2D8hOCvVIxPd9rNDkX6x8LE41c=; b=oqInNYbtyCo+uR74neBaPdQXrEgzy55DNh+WgKXUEMsby1f0r59G2MoBrRuU1/XQ/B OlhFYoOA9D5UHofbmM7eNv7vqjdZPpzczte28mTg8pS6penhYl8vb/DaYhWrgoP8yKEn VdUxO5epyGhhWkdIqn+fPv/2dE7RbZRT3rH5fu4PpNW9chFvNocoX4zLO0cQ6O8n4Sxq 1yRtF+gytJozlGSkICiMcG/mM7QGBhX1TgOjSjyb16Rjea1r2mEL7GGmtz7an63+pgOD 2Sn4zhMZAgAXTJr4QfXVMd+EV3fdOQzy2zPfTcc59hGPweMSfP8y2pBxFkKQgd2uNYKN +bZA== MIME-Version: 1.0 X-Received: by 10.112.170.99 with SMTP id al3mr42848720lbc.17.1416403575616; Wed, 19 Nov 2014 05:26:15 -0800 (PST) Received: by 10.25.126.216 with HTTP; Wed, 19 Nov 2014 05:26:15 -0800 (PST) In-Reply-To: <20141115143444.5ad037548e06f289d2532fb7@ulrich-grey.de> References: <20141113125236.b16cd4e5f0e339eac0494cd4@ulrich-grey.de> <20141115143444.5ad037548e06f289d2532fb7@ulrich-grey.de> Date: Wed, 19 Nov 2014 14:26:15 +0100 Message-ID: Subject: Re: Wandboard-Quad crashes From: Svatopluk Kraus To: Ulrich Grey Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org, Rui Paulo 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: Wed, 19 Nov 2014 13:26:18 -0000 If you want to give it a try, you can find my and Michal new arm-v6 stuff here: https://github.com/strejda/freebsd ARM_NEW_PMAP option must be defined to build our stuff. Regards, Svatopluk Kraus On Sat, Nov 15, 2014 at 2:34 PM, Ulrich Grey wrote: > 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 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >