Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 17:38:32 +0100
From:      Ulrich Grey <usenet@ulrich-grey.de>
To:        Rui Paulo <rpaulo@me.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Wandboard-Quad crashes
Message-ID:  <20141114173832.ebddd36a320a5a0ac91701e3@ulrich-grey.de>
In-Reply-To: <C6FED1A5-490C-47BE-B071-484271ED370E@me.com>
References:  <20141113125236.b16cd4e5f0e339eac0494cd4@ulrich-grey.de> <C6FED1A5-490C-47BE-B071-484271ED370E@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Nov 2014 08:37:13 -0800
Rui Paulo <rpaulo@me.com> wrote:

> On Nov 13, 2014, at 03:52, Ulrich Grey <usenet@ulrich-grey.de> wrote:
> >=20
> > I am running FreeBSD on a Wandboard-Quad:
> >=20
> > 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/WANDBOAR=
D-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
> >=20
> > If I try to compile x11/libX11 the system frequently crashes:
> >=20
> > Fatal kernel mode data abort: 'Alignment Fault 1'
> > trapframe: 0xf72e0ae8
> > FSR=3D00000001, FAR=3D000000a7, spsr=3D60000013
> > r0 =3D00000004, r1 =3D00000000, r2 =3Dc242b953, r3 =3D00000970
> > r4 =3Dc847fd80, r5 =3Dc242b953, r6 =3D000000a7, r7 =3Dc7df6810
> > r8 =3D00000000, r9 =3D00000097, r10=3D00000970, r11=3Df72e0b68
> > r12=3D000000c0, ssp=3Df72e0b38, slr=3Dc220ebf4, pc =3Dc214fbb4
> >=20
> > [ thread pid 23015 tid 100147 ]
> >=20
> > Stopped at      __mtx_lock_flags+0x50:  ldr     r0, [r6]
> >=20
> > What can I do?
>=20
> Can you send us the backtrace?
>=20
----------------------
Now I have a coredump:

root@quad:/usr/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD # kgdb
ker=07ne=07l.debug /var/crash/v=07mcore.0=20


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: wrong
version in compilation unit header (is 0, should be 2) [in
module /usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD/ker=
nel.debug]

No symbol table is loaded.  Use the "file" command.

No symbol table is loaded.  Use the "file" command.

No symbol table is loaded.  Use the "file" command.

#0  0x00000000 in ?? ()

(kgdb)

#0  0x00000000 in ?? ()

Cannot access memory at address 0x0

(kgdb) list

No symbol table is loaded.  Use the "file" command.

(kgdb) file

No executable file now.

No symbol file now.

(kgdb)=20

(kgdb) file kernel.symbols

Reading symbols from kernel.symbols...Dwarf Error: wrong version in
compilation unit header (is 0, should be 2) [in
module /usr/local/DEVEL/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD/ker=
nel.symbols]

(kgdb) Quit

(kgdb) quit

root@quad:/usr/obj/usr/local/DEVEL/SRC/head/sys/WANDBOARD-QUAD #
^D=08=08exit

What is wrong?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141114173832.ebddd36a320a5a0ac91701e3>