Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 16:31:09 -0400
From:      Brett Wynkoop <freebsd-arm@wynn.com>
To:        Warner Losh <imp@bsdimp.com>, freebsd-arm@freebsd.org
Subject:   Re: crash on writing usbstick
Message-ID:  <20150308163109.43414e47@ivory.wynn.com>
In-Reply-To: <42ACB215-0C41-4B7D-A259-D65892515BE2@bsdimp.com>
References:  <20150301041855.5352663e@ivory.wynn.com> <20150301144653.63b38cdf@ivory.wynn.com> <20150301184456.7b5e6487@ivory.wynn.com> <1DC8221F-64EA-418C-8CE5-5FFA4F3DBC64@bsdimp.com> <20150301203244.55578413@ivory.wynn.com> <F79FBD40-6002-4C38-A191-A74A88DA929B@bsdimp.com> <20150302214352.5143d72e@ivory.wynn.com> <42ACB215-0C41-4B7D-A259-D65892515BE2@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greeting-

Looks like I spoke too soon.  BeagleBone crashed again on USB Flash
I/O.  This time I was doing a make package-recursive for tinc after I
moved /usr/ports to the flash drive.

Backtrace below:


db> tr
Tracing pid 35864 tid 100094 td 0xc26ef330
db_trace_self() at db_trace_self
         pc = 0xc0606d90  lr = 0xc0231fb8 (db_stack_trace+0x108)
         sp = 0xd486e620  fp = 0xd486e638
        r10 = 0xc07ebb24
db_stack_trace() at db_stack_trace+0x108
         pc = 0xc0231fb8  lr = 0xc0231928 (db_command+0x294)
         sp = 0xd486e640  fp = 0xd486e6e0
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0x00000000 r10 = 0xc07ebb24
db_command() at db_command+0x294
         pc = 0xc0231928  lr = 0xc0231684 (db_command_loop+0x74)
         sp = 0xd486e6e8  fp = 0xd486e6f8
         r4 = 0xc0653c6f  r5 = 0xc06751b8
         r6 = 0xc07ebb10  r7 = 0xc072ba84
         r8 = 0xc07861c0  r9 = 0xc07861c4
        r10 = 0xd486e8c8
db_command_loop() at db_command_loop+0x74
         pc = 0xc0231684  lr = 0xc0234168 (db_trap+0x108)
         sp = 0xd486e700  fp = 0xd486e820
--More--                 r4 = 0x00000000  r5 = 0xc07ebb1c
         r6 = 0xc07861e8 r10 = 0xd486e8c8
db_trap() at db_trap+0x108
         pc = 0xc0234168  lr = 0xc03ddf0c (kdb_trap+0xd4)
         sp = 0xd486e828  fp = 0xd486e848
         r4 = 0x00000000  r5 = 0x00000001
         r6 = 0xc07861e8  r7 = 0xc072ba84
kdb_trap() at kdb_trap+0xd4
         pc = 0xc03ddf0c  lr = 0xc061be78 (undefinedinstruction+0x2c8)
         sp = 0xd486e850  fp = 0xd486e8c0
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0xc061bb00  r7 = 0xe7ffffff
         r8 = 0xc26ef330  r9 = 0xc03dd7cc
        r10 = 0xd486e8c8
undefinedinstruction() at undefinedinstruction+0x2c8
         pc = 0xc061be78  lr = 0xc06084b0 (exception_exit)
         sp = 0xd486e8c8  fp = 0xd486e960
         r4 = 0xc067520d  r5 = 0xd486e9a4
         r6 = 0xc0695b73  r7 = 0xc0778718
         r8 = 0xc26ef330  r9 = 0xc07edc18
--More--                r10 = 0xc0778580
exception_exit() at exception_exit
         pc = 0xc06084b0  lr = 0xc03dd7bc (kdb_enter+0x48)
         sp = 0xd486e958  fp = 0xd486e960
         r0 = 0xc07861d4  r1 = 0x00000000
         r2 = 0xc0678ec1  r3 = 0x000000aa
         r4 = 0xc067520d  r5 = 0xd486e9a4
         r6 = 0xc0695b73  r7 = 0xc0778718
         r8 = 0xc26ef330  r9 = 0xc07edc18
        r10 = 0xc0778580 r12 = 0x00000000
$a.8() at $a.8
         pc = 0xc03dd7d0  lr = 0xc03a31c8 (vpanic+0xd0)
         sp = 0xd486e968  fp = 0xd486e988
         r4 = 0x00000100 r10 = 0xc0778580
vpanic() at vpanic+0xd0
         pc = 0xc03a31c8  lr = 0xc03a321c (kproc_shutdown)
         sp = 0xd486e990  fp = 0xd486e998
         r4 = 0xc2449000  r5 = 0xd486eb84
         r6 = 0x000528cc  r7 = 0xc29a3980
         r8 = 0x00000000  r9 = 0x000041ed
--More--                r10 = 0xc2449000
kproc_shutdown() at kproc_shutdown
         pc = 0xc03a321c  lr = 0xc0588118 (ffs_nodealloccg)
         sp = 0xd486e9a0  fp = 0xd486ea30
         r4 = 0xd486e9a4  r5 = 0xc2449000
ffs_nodealloccg() at ffs_nodealloccg
         pc = 0xc0588118  lr = 0xc05cbdf4 (ufs_mkdir+0x6c)
         sp = 0xd486ea38  fp = 0xd486ebc0
         r4 = 0x000041ed  r5 = 0xc23f76c0
         r6 = 0xd486ed48  r7 = 0xc0587918
         r8 = 0x00000000  r9 = 0xc34be880
        r10 = 0xd486ec80
ufs_mkdir() at ufs_mkdir+0x6c
         pc = 0xc05cbdf4  lr = 0xc0633768 (VOP_MKDIR_APV+0x12c)
         sp = 0xd486ebc8  fp = 0xd486ebe0
         r4 = 0xd486ed48  r5 = 0xc075d194
         r6 = 0x00000000  r7 = 0x00020594
         r8 = 0x00000000  r9 = 0x00000000
        r10 = 0xd486ec88
VOP_MKDIR_APV() at VOP_MKDIR_APV+0x12c
--More--                 pc = 0xc0633768  lr = 0xc045d4a4
(kern_mkdirat+0x194) sp = 0xd486ebe8  fp = 0xd486ed80
         r4 = 0xd486ec18  r5 = 0xd486ecb0
         r6 = 0xd486ed44 r10 = 0xd486ec88
kern_mkdirat() at kern_mkdirat+0x194
         pc = 0xc045d4a4  lr = 0xc045d308 (sys_mkdir+0x24)
         sp = 0xd486ed88  fp = 0xd486ed90
         r4 = 0xc26ef330  r5 = 0x00000000
         r6 = 0xc07ed900  r7 = 0x00000000
         r8 = 0xd486edf8  r9 = 0xc26d5000
        r10 = 0x00013738
sys_mkdir() at sys_mkdir+0x24
         pc = 0xc045d308  lr = 0xc061ab00 (swi_handler+0x2e4)
         sp = 0xd486ed98  fp = 0xd486ee48
swi_handler() at swi_handler+0x2e4
         pc = 0xc061ab00  lr = 0xc0608440 (swi_exit)
         sp = 0xd486ee50  fp = 0xbffff3d0
         r4 = 0x0001302a  r5 = 0x20854600
         r6 = 0x00020de4  r7 = 0x00000088
         r8 = 0x00000001  r9 = 0x00020594
--More--                r10 = 0x00013738
swi_exit() at swi_exit
         pc = 0xc0608440  lr = 0xc0608440 (swi_exit)
         sp = 0xd486ee50  fp = 0xbffff3d0
db> cont
Uptime: 13h20m40s


# uname -a
FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #4 r279761: Sat Mar  7
23:14:30 EST 2015
wynkoop@beaglebone.wynn.com:/usr/src/sys/arm/compile/BB-BEW  arm 
# 

So I guess this mystery is not solved yet.

-Brett
-- 

wynkoop@wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
929-272-0000

Amendment I

Congress shall make no law respecting an establishment of religion, or 
prohibiting the free exercise thereof; or abridging the freedom of 
speech, or of the press; or the right of the people peaceably to
assemble, and to petition the government for a redress of grievances.




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