Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2014 22:09:28 +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:  <20141113220928.44661ea6cc3b0fc4caf156fd@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:
> > 
> > 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?
> 

I am not familiar with this stuff, I was not able to get a coredump
until now. The system crashes, but there is no dump in the
swappartition.

This happens during compilation x11/libX11:

1.      Compilation construction
2.      Building compilation jobs
3.      Building compilation jobs
4.      Building compilation jobs
Segmentation fault (core dumped)
*** [imConv.lo] Error code 1

make[4]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src


1 error

make[4]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src ***
[all-recursive] Error code 1

make[3]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src 1 error

make[3]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src *** [all]
Error code 2

make[2]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src 1 error

make[2]: stopped
in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2/src ***
[all-recursive] Error code 1

make[1]: stopped in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2
1 error

make[1]: stopped in /usr/local/DEVEL/ports/x11/libX11/work/libX11-1.6.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/local/DEVEL/ports/x11/libX11
root@quad:/usr/local/DEVEL/ports/x11/libX11 # 

At the same time on the console:

root@quad:~ # fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing
to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0x17

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0x807

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0xffffffff

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0x817

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0x17

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0xffffffff

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0x817

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

fixup: pte 0x5ea1b47f, l1pd 0x26c46821, last code 0xffffffff

fixup: pmap 0xc7fc80bc, va 0x2201b000, ftype 1 - nothing to do!

fixup: l2 0xc8203e8c, l2b 0xc8203e90, ptep 0xc824686c, pl1pd 0xe208a880

.....

In this case, the system didn't crash.

Sorry, my English is not so good as it should be.
 --
Ulrich Grey



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