Date: Fri, 14 Nov 2014 12:05:21 +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: <20141114120521.06926bd12d6b2958c6f380dc@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? > > -- > Rui Paulo > -------------------------------------------------------- After some hours compiling, the Wandboard crashes again: Tracing command c++ pid 16704 tid 100096 td 0xc78cf000 db_trace_self() at db_trace_self pc = 0xc23beab8 lr = 0xc2038874 (db_stack_trace_all+0x78) sp = 0xfb1e96d0 fp = 0xfb1e9800 r10 = 0xc25795e0 db_stack_trace_all() at db_stack_trace_all+0x78 pc = 0xc2038874 lr = 0xc20383bc (db_command+0x270) sp = 0xfb1e9808 fp = 0xfb1e98a8 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 r7 = 0xc20387fc r8 = 0x00000001 r9 = 0xc24c1590 r10 = 0xc257955c db_command() at db_command+0x270 pc = 0xc20383bc lr = 0xc2038120 (db_command_loop+0x60) sp = 0xfb1e98b0 fp = 0xfb1e98c0 r4 = 0xc24031c1 r5 = 0xc241b12f r6 = 0xc2579548 r7 = 0xfb1e9ae0 r8 = 0x00000001 r9 = 0xc24c1828 r10 = 0xc25152f4 --More-- - - M o re - - db_command_loop() at db_command_loop+0x60 --More-- Bad character --More-- - - M o r e - -pc = 0xc2038120 lr = 0xc203ab94 (db_trap+0xd8) --More-- T r a c i n g c o m m a n d c + + p id 1 6 70 4 t i d 10 0 0 9 6 t d 0 x c7 8 c f 0 0 0 -sp-M o r e - - = 0xfb1e98c8 fp = 0xfb1e99e8 --More-- cpu_switch() at cpu_switch+0x50 --More-- r4 = 0xfb3e6bb8 r5 = 0xc2579554 --More-- r6 = 0xc2515318 --More-- db_trap() at db_trap+0xd8 --More-- pc = 0xc23d4110 lr = 0xc242138d (0xc242138d) --More-- pc = 0xc203ab94 lr = 0xc219fb54 (kdb_trap+0x15c) --More-- sp = 0xfb1e9de0 fp = 0xfb1e9e10 --More-- sp = 0xfb1e99f0 fp = 0xfb1e9a10 --More-- r4 = 0x00000000 r5 = 0x00000017 --More-- r6 = 0xc2515318 r7 = 0xfb1e9ae0 --More-- kdb_trap() at kdb_trap+0x15c --More-- pc = 0xc219fb54 lr = 0xc23d4fd8 (dab_fatal+0x174) --More-- r4 = 0xc789bc80 r5 = 0xfb1e9e58 --More-- sp = 0xfb1e9a18 fp = 0xfb1e9a30 --More-- r4 = 0xfb1e9ae0 r5 = 0x00000017 --More-- r6 = 0x600001d3 r7 = 0x00000000 --More-- r6 = 0xc23d51ac r7 = 0xfb1e9e10 --More-- r8 = 0x00000013 r9 = 0xfb1e9ae0 --More-- r10 = 0x00000000 --More-- dab_fatal() at dab_fatal+0x174 --More-- pc = 0xc23d4fd8 lr = 0xc23d4d7c (data_abort_handler+0x414) --More-- digits() at 0xc242138d --More-- pc = 0xc242138d lr = 0xc21b1248 (userret+0x8c) --More-- sp = 0xfb1e9e18 fp = 0xfb1e9e30 --More-- r4 = 0xfb1e9e60 r5 = 0x00010004 --More-- sp = 0xfb1e9a38 fp = 0xfb1e9ad8 --More-- r4 = 0xfb1e9eb0 r5 = 0xc78cf000 --More-- r6 = 0xfb1e9eb0 r7 = 0x00000017 --More-- data_abort_handler() at data_abort_handler+0x414 --More-- pc = 0xc23d4d7c lr = 0xc23c0878 (exception_exit) --More-- r6 = 0xbfffe028 --More-- userret() at userret+0x8c --More-- pc = 0xc21b1248 lr = 0xc21b1720 (ast+0x3ac) --More-- sp = 0xfb1e9ae0 fp = 0xfb1e9b40 --More-- sp = 0xfb1e9e38 fp = 0xfb1e9e58 --More-- r4 = 0xffffffff r5 = 0xc7384c20 --More-- r 4 r6== 00xxbfcf2f42d613505 9 r 5 = 0 xc 7 8c f0 0 0 r--7 Mo=r e-0x- c2407b04 --More-- rr8 =60 x0=0 0 000x06c758 9 b c 80 r--9 Mo= re0x-c- 2504460 --More-- r10 = 0xfb1eas9td6(0) a t--More-- ast+0x3ac --More-- pc = 0xecx21cbe1p7t2io0 n _e x i t( ) a t lr = 0xc23c08e7x8c e pt(ion_exit --Moree-x-c eption_exit) --More-- s p = 0xpfcb 1 e9= e600x cfp2 3 c0 87 8 l r = 0 x c 2 3c 1 e c 0 ( = 0x01615788 --Morarem-_-i rq_handler+0x34) --More-- rsp4 = 0 x2 2 0 2 1 32 4 r 5 = 0 x 0 0 00 0 00 0 =- - M o r e - - 0xfb1e9b30 fp = 0xfb1e9b40 --More-- r0r 6 = 0 xb f ff d6 3 0 r 7 = 0 x 0 0 9 4 f 4 b8 -= -0Mxorbfef-f- da70 r1 = 0x00000000 --More-- rr82= 0 x 2 2 0 26=0 c00 x 0 0 0 0 0 00 0 r3 = 0 x 6 0 0 0 0 1 1 3 r-9-M or e- - = 0xbfffe028 --More-- ... I have uploaded the scriptfile. You can download it here: http://www.ulrich-grey.de/dl/quad3.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141114120521.06926bd12d6b2958c6f380dc>