Date: Sat, 05 Apr 2014 20:44:51 +0200 From: Mattia Rossi <mattia.rossi.mate@gmail.com> To: ARM <freebsd-arm@freebsd.org> Subject: Re: Dreamplug: Panic when copying from USB stick to internal SD-Card (USB) Message-ID: <53404F23.4080609@gmail.com> In-Reply-To: <533FE2B6.8040009@gmail.com> References: <533FE2B6.8040009@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here some additional db output that might be useful: Sleeping thread (tid 100040, pid 8) owns a non-sleepable lock KDB: stack backtrace of thread 100040: cpu_switch() at cpu_switch+0x3c pc = 0xc0dc11dc lr = 0xc0ae1d98 (sched_switch+0x164) sp = 0xde03dae8 fp = 0xde03daf8 r4 = 0xc3c6d320 r5 = 0xc3745c80 r6 = 0xc0f4aa84 r7 = 0xc0f57fc0 sched_switch() at sched_switch+0x164 pc = 0xc0ae1d98 lr = 0xc0ac57ec (mi_switch+0x1ac) sp = 0xde03db00 fp = 0xde03db20 r4 = 0xc0f2f950 r5 = 0x00000000 r6 = 0xc3c6d320 r7 = 0x00000000 mi_switch() at mi_switch+0x1ac pc = 0xc0ac57ec lr = 0xc0afe548 (sleepq_wait+0x1fc) sp = 0xde03db28 fp = 0xde03db48 r4 = 0xc3c6d320 r5 = 0xc0f4aa84 r6 = 0xc54e1828 r7 = 0x00000090 r8 = 0x0000005c r9 = 0xc0f4a600 r10 = 0xc0f4aa94 sleepq_wait() at sleepq_wait+0x1fc pc = 0xc0afe548 lr = 0xc0afe39c (sleepq_wait+0x50) sp = 0xde03db50 fp = 0xde03db60 r4 = 0x0000005c r5 = 0xc3c6d320 r6 = 0xc54e1828 r7 = 0xc0e27125 r8 = 0xc3cae3f4 r9 = 0x00000000 r10 = 0xc0f0f850 sleepq_wait() at sleepq_wait+0x50 pc = 0xc0afe39c lr = 0xc0ac514c (_sleep+0x368) sp = 0xde03db68 fp = 0xde03dbb8 r4 = 0x00000000 r5 = 0xc54e1828 r6 = 0xc0f0f850 r7 = 0xc0f57ca4 _sleep() at _sleep+0x368 pc = 0xc0ac514c lr = 0xc0902cd8 (cam_periph_runccb+0xd8) sp = 0xde03dbc0 fp = 0xde03dc88 r4 = 0xc54e1828 r5 = 0xc54e1800 r6 = 0x00000000 r7 = 0xc0928524 r8 = 0x00000000 r9 = 0x00000034 r10 = 0x00000000 cam_periph_runccb() at cam_periph_runccb+0xd8 pc = 0xc0902cd8 lr = 0xc0927484 (scsi_read_dvd_structure+0x9568) sp = 0xde03dc90 fp = 0xde03dcc0 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 r9 = 0xc54e1800 r10 = 0xc0e03246 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x9568 pc = 0xc0927484 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xde03dcc8 fp = 0xde03dd18 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000104 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xde03dd20 fp = 0xde03dd40 r4 = 0x00000104 r5 = 0xde03dd54 r6 = 0xc0e1e26a r7 = 0xc0f3c2e0 r8 = 0xc3c6d320 r9 = 0xc0f57dc0 r10 = 0xc0f3c140 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc9cc (kproc_shutdown) sp = 0xde03dd48 fp = 0xde03dd4c r4 = 0xc3c6d320 r5 = 0xc0f5cd10 r6 = 0xc0f55080 r7 = 0xc10720bc r8 = 0xc0e57eea r9 = 0xc0f55030 r10 = 0x000002fe kproc_shutdown() at kproc_shutdown pc = 0xc0abc9cc lr = 0xc3c6d320 (0xc3c6d320) sp = 0xde03dd54 fp = 0xde03dd68 r4 = 0xc0abc9cc r5 = 0xde03dd54 Unknown entry: 0 _end() at 0xc3c6d320 pc = 0xc3c6d320 lr = 0xc3c6d320 (0xc3c6d320) sp = 0xde03dd54 fp = 0xde03dd68 Unable to unwind into user mode panic: sleeping thread KDB: enter: panic [ thread pid 11 tid 100020 ] Stopped at kdb_enter+0x4c: ldrb r15, [r15, r15, ror r15]! db> c Uptime: 1h42m1s panic: msleep KDB: enter: panic [ thread pid 11 tid 100020 ] Stopped at kdb_enter+0x4c: ldrb r15, [r15, r15, ror r15]! db> c Uptime: 1h42m1s panic: _mtx_lock_sleep: recursed on non-recursive mutex CAM device lock @ /usr/d evel/dreamplug/sys/cam/scsi/scsi_da.c:3777 KDB: enter: panic [ thread pid 11 tid 100020 ] Stopped at kdb_enter+0x4c: ldrb r15, [r15, r15, ror r15]! db> bt Tracing pid 11 tid 100020 td 0xc3743c80 db_trace_self() at db_trace_self pc = 0xc0db048c lr = 0xc0947f44 (db_hex2dec+0x4d4) sp = 0xddf7de40 fp = 0xddf7de58 r10 = 0xc0f562ec db_hex2dec() at db_hex2dec+0x4d4 pc = 0xc0947f44 lr = 0xc09478b8 (db_command_loop+0x300) sp = 0xddf7de60 fp = 0xddf7df00 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 db_command_loop() at db_command_loop+0x300 pc = 0xc09478b8 lr = 0xc0947608 (db_command_loop+0x50) sp = 0xddf7df08 fp = 0xddf7df18 r4 = 0xc0e0500c r5 = 0xc0e2214d r6 = 0xc0f562d8 r7 = 0xddf7e0f0 r8 = 0xc0f4a340 r9 = 0xc0f4a344 r10 = 0xc0eee390 db_command_loop() at db_command_loop+0x50 pc = 0xc0947608 lr = 0xc0949fe8 (X_db_symbol_values+0x250) sp = 0xddf7df20 fp = 0xddf7e040 r4 = 0x00000000 r5 = 0xc0f562e4 r6 = 0xc0f4a368 X_db_symbol_values() at X_db_symbol_values+0x250 pc = 0xc0949fe8 lr = 0xc0af1318 (kdb_trap+0xd4) sp = 0xddf7e048 fp = 0xddf7e068 r4 = 0x00000000 r5 = 0x00000001 r6 = 0xc0f4a368 r7 = 0xddf7e0f0 kdb_trap() at kdb_trap+0xd4 pc = 0xc0af1318 lr = 0xc0dc2c60 (undefinedinstruction+0x25c) sp = 0xddf7e070 fp = 0xddf7e0e8 r4 = 0x00000000 r5 = 0x00000000 r6 = 0xc0dc2954 r7 = 0xe7ffffff r8 = 0xc3743c80 r9 = 0xc0af0bc0 r10 = 0xddf7e0f0 undefinedinstruction() at undefinedinstruction+0x25c pc = 0xc0dc2c60 lr = 0xc0db2034 (exception_exit) sp = 0xddf7e0f0 fp = 0xddf7e148 r4 = 0xffffffff r5 = 0xffff1004 r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 exception_exit() at exception_exit pc = 0xc0db2034 lr = 0xc0af0bb4 (kdb_enter+0x40) sp = 0xddf7e140 fp = 0xddf7e148 r0 = 0xc0f4a354 r1 = 0x00000000 r2 = 0xc0e25b59 r3 = 0x000000ab r4 = 0xc0e221a7 r5 = 0xddf7e19c r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 r12 = 0x00000000 kdb_enter() at kdb_enter+0x50 pc = 0xc0af0bc4 lr = 0xc0abc964 (kassert_panic+0x1cc) sp = 0xddf7e150 fp = 0xddf7e170 r4 = 0x00000004 kassert_panic() at kassert_panic+0x1cc pc = 0xc0abc964 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e178 fp = 0xddf7e190 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e19c r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e1a8 fp = 0xddf7e1d0 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e1d8 fp = 0xddf7e1f8 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e200 fp = 0xddf7e230 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e238 fp = 0xddf7e288 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e290 fp = 0xddf7e2b0 r4 = 0x00000004 r5 = 0xddf7e2dc r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e2b8 fp = 0xddf7e2d0 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e2dc r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e2e8 fp = 0xddf7e310 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e318 fp = 0xddf7e338 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e340 fp = 0xddf7e370 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e378 fp = 0xddf7e3c8 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e3d0 fp = 0xddf7e3f0 r4 = 0x00000004 r5 = 0xddf7e41c r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e3f8 fp = 0xddf7e410 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e41c r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e428 fp = 0xddf7e450 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e458 fp = 0xddf7e478 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e480 fp = 0xddf7e4b0 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e4b8 fp = 0xddf7e508 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e510 fp = 0xddf7e530 r4 = 0x00000004 r5 = 0xddf7e55c r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e538 fp = 0xddf7e550 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e55c r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e568 fp = 0xddf7e590 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e598 fp = 0xddf7e5b8 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e5c0 fp = 0xddf7e5f0 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e5f8 fp = 0xddf7e648 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e650 fp = 0xddf7e670 r4 = 0x00000004 r5 = 0xddf7e69c r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e678 fp = 0xddf7e690 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e69c r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e6a8 fp = 0xddf7e6d0 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e6d8 fp = 0xddf7e6f8 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e700 fp = 0xddf7e730 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e738 fp = 0xddf7e788 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e790 fp = 0xddf7e7b0 r4 = 0x00000004 r5 = 0xddf7e7dc r6 = 0xc0e1fdc9 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e7b8 fp = 0xddf7e7d0 r4 = 0xc0f3c1e0 r5 = 0xc0e1fdc9 r6 = 0xddf7e7dc r7 = 0xc0f3c140 r8 = 0xc0f2f950 r9 = 0x00000004 r10 = 0xc0e03246 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0aa8ecc (__mtx_lock_sleep+0x70) sp = 0xddf7e7e8 fp = 0xddf7e810 r4 = 0xc3cae404 r5 = 0xc3cae3f4 r6 = 0x00000ec1 r7 = 0x00000ec1 __mtx_lock_sleep() at __mtx_lock_sleep+0x70 pc = 0xc0aa8ecc lr = 0xc0aa8dd8 (__mtx_lock_flags+0xd8) sp = 0xddf7e818 fp = 0xddf7e838 r4 = 0xc0e03246 r5 = 0xc0f2f950 r6 = 0xc3cae404 r7 = 0x00000ec1 r8 = 0x00000000 r9 = 0x00000004 r10 = 0xc0e03246 __mtx_lock_flags() at __mtx_lock_flags+0xd8 pc = 0xc0aa8dd8 lr = 0xc0927408 (scsi_read_dvd_structure+0x94ec) sp = 0xddf7e840 fp = 0xddf7e870 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x94ec pc = 0xc0927408 lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e878 fp = 0xddf7e8c8 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7e8d0 fp = 0xddf7e8f0 r4 = 0x00000004 r5 = 0xddf7e91c r6 = 0xc0e22d66 r7 = 0xc0f3c140 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0f2f950 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc898 (kassert_panic+0x100) sp = 0xddf7e8f8 fp = 0xddf7e910 r4 = 0xc0f3c1e0 r5 = 0xc0e22d66 r6 = 0xddf7e91c r7 = 0xc0f3c140 r8 = 0xc3cae3f4 r9 = 0x0000005c r10 = 0xc0f2f950 kassert_panic() at kassert_panic+0x100 pc = 0xc0abc898 lr = 0xc0ac4e68 (_sleep+0x84) sp = 0xddf7e928 fp = 0xddf7e978 r4 = 0xc0df8d65 r5 = 0x00000000 r6 = 0xc36e6000 r7 = 0xc3743c80 _sleep() at _sleep+0x84 pc = 0xc0ac4e68 lr = 0xc090a328 (cam_periph_getccb+0x7c) sp = 0xddf7e980 fp = 0xddf7e9b0 r4 = 0x00000480 r5 = 0xc3953880 r6 = 0xc39538bc r7 = 0x00000000 r8 = 0xc0df8d65 r9 = 0x00000100 r10 = 0xc0e03246 cam_periph_getccb() at cam_periph_getccb+0x7c pc = 0xc090a328 lr = 0xc092742c (scsi_read_dvd_structure+0x9510) sp = 0xddf7e9b8 fp = 0xddf7e9e8 r4 = 0xc3953880 r5 = 0x00000ec9 r6 = 0x00000000 r7 = 0xc3ccd000 r8 = 0xc0e02b21 r9 = 0x00000004 scsi_read_dvd_structure() at scsi_read_dvd_structure+0x9510 pc = 0xc092742c lr = 0xc0abc3c8 (kern_reboot+0x6c0) sp = 0xddf7e9f0 fp = 0xddf7ea40 r4 = 0x000001c1 r5 = 0xc35c5600 r6 = 0xc36d521c r7 = 0xc0e21bc4 r8 = 0xc36d5200 r9 = 0x00000004 r10 = 0xc0f2f954 kern_reboot() at kern_reboot+0x6c0 pc = 0xc0abc3c8 lr = 0xc0abc988 (kassert_panic+0x1f0) sp = 0xddf7ea48 fp = 0xddf7ea68 r4 = 0x00000004 r5 = 0xddf7ea7c r6 = 0xc0e280bb r7 = 0xc3c6d320 r8 = 0xc3743c80 r9 = 0xc0f57dc0 r10 = 0xc0f57cb8 kassert_panic() at kassert_panic+0x1f0 pc = 0xc0abc988 lr = 0xc0abc9cc (kproc_shutdown) sp = 0xddf7ea70 fp = 0xddf7ea74 r4 = 0x00000008 r5 = 0xc35c3840 r6 = 0xc0e27bbe r7 = 0xc3c6d320 r8 = 0xc0e10122 r9 = 0xc0f2f950 r10 = 0xc0f57cb8 kproc_shutdown() at kproc_shutdown pc = 0xc0abc9cc lr = 0x00000008 (0x8) sp = 0xddf7ea7c fp = 0xddf7eaa8 r4 = 0xc0abc9cc r5 = 0xddf7ea7c Unable to unwind into user mode db> On 05/04/14 13:02, Mattia Rossi wrote: > Hi all, > > does anyone have a hint on what's happening here? > > I keep running into panics when copying world from the USB stick i > boot from, to the internal SD-Card where I want to boot from next. > > backtrace: > > root@dreamplug:/ # panic: Lock vm object not exclusively locked @ > /usr/devel/dre > amplug/sys/arm/arm/pmap.c:4474 > > KDB: enter: panic > [ thread pid 8 tid 100040 ] > Stopped at kdb_enter+0x4c: ldrb r15, [r15, r15, ror r15]! > db> bt > Tracing pid 8 tid 100040 td 0xc3c6d320 > db_trace_self() at db_trace_self > pc = 0xc0db048c lr = 0xc0947f44 (db_hex2dec+0x4d4) > sp = 0xde03da10 fp = 0xde03da28 > r10 = 0xc0f562ec > db_hex2dec() at db_hex2dec+0x4d4 > pc = 0xc0947f44 lr = 0xc09478b8 (db_command_loop+0x300) > sp = 0xde03da30 fp = 0xde03dad0 > r4 = 0x00000000 r5 = 0x00000000 > r6 = 0x00000000 > db_command_loop() at db_command_loop+0x300 > pc = 0xc09478b8 lr = 0xc0947608 (db_command_loop+0x50) > sp = 0xde03dad8 fp = 0xde03dae8 > r4 = 0xc0e0500c r5 = 0xc0e2214d > r6 = 0xc0f562d8 r7 = 0xde03dcc0 > r8 = 0xc0f4a340 r9 = 0xc0f4a344 > r10 = 0xc0eee390 > db_command_loop() at db_command_loop+0x50 > pc = 0xc0947608 lr = 0xc0949fe8 (X_db_symbol_values+0x250) > sp = 0xde03daf0 fp = 0xde03dc10 > r4 = 0x00000000 r5 = 0xc0f562e4 > r6 = 0xc0f4a368 > X_db_symbol_values() at X_db_symbol_values+0x250 > pc = 0xc0949fe8 lr = 0xc0af1318 (kdb_trap+0xd4) > sp = 0xde03dc18 fp = 0xde03dc38 > r4 = 0x00000000 r5 = 0x00000001 > r6 = 0xc0f4a368 r7 = 0xde03dcc0 > kdb_trap() at kdb_trap+0xd4 > pc = 0xc0af1318 lr = 0xc0dc2c60 (undefinedinstruction+0x25c) > sp = 0xde03dc40 fp = 0xde03dcb8 > r4 = 0x00000000 r5 = 0x00000000 > r6 = 0xc0dc2954 r7 = 0xe7ffffff > r8 = 0xc3c6d320 r9 = 0xc0af0bc0 > r10 = 0xde03dcc0 > undefinedinstruction() at undefinedinstruction+0x25c > pc = 0xc0dc2c60 lr = 0xc0db2034 (exception_exit) > sp = 0xde03dcc0 fp = 0xde03dd18 > r4 = 0xffffffff r5 = 0xffff1004 > r6 = 0xc0e1e26a r7 = 0xc0f3c2e0 > r8 = 0xc3c6d320 r9 = 0xc0f57dc0 > r10 = 0xc0f3c140 > exception_exit() at exception_exit > pc = 0xc0db2034 lr = 0xc0af0bb4 (kdb_enter+0x40) > sp = 0xde03dd10 fp = 0xde03dd18 > r0 = 0xc0f4a354 r1 = 0x00000000 > r2 = 0xc0e25b59 r3 = 0x000000ab > r4 = 0xc0e221a7 r5 = 0xde03dd54 > r6 = 0xc0e1e26a r7 = 0xc0f3c2e0 > r8 = 0xc3c6d320 r9 = 0xc0f57dc0 > r10 = 0xc0f3c140 r12 = 0x00000000 > kdb_enter() at kdb_enter+0x50 > pc = 0xc0af0bc4 lr = 0xc0abc964 (kassert_panic+0x1cc) > sp = 0xde03dd20 fp = 0xde03dd40 > r4 = 0x00000100 > kassert_panic() at kassert_panic+0x1cc > pc = 0xc0abc964 lr = 0xc0abc9cc (kproc_shutdown) > sp = 0xde03dd48 fp = 0xde03dd4c > r4 = 0xc3c6d320 r5 = 0xc0f5cd10 > r6 = 0xc0f55080 r7 = 0xc10720bc > r8 = 0xc0e57eea r9 = 0xc0f55030 > r10 = 0x000002fe > kproc_shutdown() at kproc_shutdown > pc = 0xc0abc9cc lr = 0xc3c6d320 (0xc3c6d320) > sp = 0xde03dd54 fp = 0xde03dd68 > r4 = 0xc0abc9cc r5 = 0xde03dd54 > Unknown entry: 0 > _end() at 0xc3c6d320 > pc = 0xc3c6d320 lr = 0xc3c6d320 (0xc3c6d320) > sp = 0xde03dd54 fp = 0xde03dd68 > Unable to unwind into user mode > db> > > > Cheers, > > Mat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53404F23.4080609>