Kernel Panic on BeagleBone Black

Shawn Webb lattera at gmail.com
Wed Jul 30 12:19:26 UTC 2014


Hey All,

I've just updated to a recent HEAD (r269240). I get a kernel panic
almost immediately on boot. Below is the log.

==== Start of dump ====
cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a103fff irq 40,41,42,43 on simplebus0
cpsw0: CPSW SS Version 1.12 (0)
cpsw0: Initial queue size TX=128 RX=384
cpsw0: Ethernet address: 1c:ba:8c:e4:6d:6a
cpsw0: Failed to read from PHY.
cpsw0: attaching PHYs failed

vm_fault(0xc070b9e0, 0, 1, 0) -> 1
Fatal kernel mode data abort: 'Translation Fault (S)'
trapframe: 0xc080eb28
FSR=00000005, FAR=00000018, spsr=80000193
r0 =c266f280, r1 =00000000, r2 =00000019, r3 =60000193
r4 =00000000, r5 =c266f280, r6 =00000006, r7 =c05c99b4
r8 =c266f280, r9 =c26ca28c, r10=c26c80c8, r11=c080eb88
r12=00000000, ssp=c080eb78, slr=c05ee1cc, pc =c03d2614

[ thread pid 0 tid 100000 ]
Stopped at      device_delete_child+0x14:       ldr     r1, [r4, #0x018]
db> bt
Tracing pid 0 tid 100000 td 0xc070b6d0
db_trace_self() at db_trace_self
         pc = 0xc05cdf5c  lr = 0xc0237434 (db_stack_trace+0xf4)
         sp = 0xc080e820  fp = 0xc080e838
        r10 = 0xc070a788
db_stack_trace() at db_stack_trace+0xf4
         pc = 0xc0237434  lr = 0xc0236de8 (db_command+0x270)
         sp = 0xc080e840  fp = 0xc080e8e0
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0x00000000
db_command() at db_command+0x270
         pc = 0xc0236de8  lr = 0xc0236b4c (db_command_loop+0x60)
         sp = 0xc080e8e8  fp = 0xc080e8f8
         r4 = 0xc061b335  r5 = 0xc0630020
         r6 = 0xc070a774  r7 = 0xc06bc188
         r8 = 0xc0700894  r9 = 0xc0700890
        r10 = 0x00000001
db_command_loop() at db_command_loop+0x60
         pc = 0xc0236b4c  lr = 0xc02395cc (db_trap+0xd8)
         sp = 0xc080e900  fp = 0xc080ea20
         r4 = 0x00000000  r5 = 0xc070a780
         r6 = 0xc07008b8
db_trap() at db_trap+0xd8
         pc = 0xc02395cc  lr = 0xc03dd270 (kdb_trap+0xbc)
         sp = 0xc080ea28  fp = 0xc080ea48
         r4 = 0x00000000  r5 = 0x00000005
         r6 = 0xc07008b8  r7 = 0xc06bc188
kdb_trap() at kdb_trap+0xbc
         pc = 0xc03dd270  lr = 0xc05e4bec (dab_fatal+0x174)
         sp = 0xc080ea50  fp = 0xc080ea68
         r4 = 0xc080eb28  r5 = 0x00000005
         r6 = 0x600001d3  r7 = 0x00000018
         r8 = 0xc080eb28  r9 = 0x00000005
        r10 = 0x00000001
dab_fatal() at dab_fatal+0x174
         pc = 0xc05e4bec  lr = 0xc05e49a0 (data_abort_handler+0x550)
         sp = 0xc080ea70  fp = 0xc080eb20
         r4 = 0x00000013  r5 = 0xc070b6d0
         r6 = 0xc080eeb0  r7 = 0xc070b6d0
data_abort_handler() at data_abort_handler+0x550
         pc = 0xc05e49a0  lr = 0xc05cfaec (exception_exit)
         sp = 0xc080eb28  fp = 0xc080eb88
         r4 = 0x00000000  r5 = 0xc266f280
         r6 = 0x00000006  r7 = 0xc05c99b4
         r8 = 0xc266f280  r9 = 0xc26ca28c
        r10 = 0xc26c80c8
exception_exit() at exception_exit
         pc = 0xc05cfaec  lr = 0xc05ee1cc (cpsw_detach+0x2e4)
         sp = 0xc080eb78  fp = 0xc080eb88
         r0 = 0xc266f280  r1 = 0x00000000
         r2 = 0x00000019  r3 = 0x60000193
         r4 = 0x00000000  r5 = 0xc266f280
         r6 = 0x00000006  r7 = 0xc05c99b4
         r8 = 0xc266f280  r9 = 0xc26ca28c
        r10 = 0xc26c80c8 r12 = 0x00000000
device_delete_child() at device_delete_child+0x14
         pc = 0xc03d2614  lr = 0xc05ee1cc (cpsw_detach+0x2e4)
         sp = 0xc080eb90  fp = 0xc080ebc0
         r4 = 0xc26c8000  r5 = 0xc26c8000
         r6 = 0x00000006
cpsw_detach() at cpsw_detach+0x2e4
         pc = 0xc05ee1cc  lr = 0xc05edc48 (cpsw_attach+0x8c0)
         sp = 0xc080ebc8  fp = 0xc080ec38
         r4 = 0x00000000  r5 = 0xc26c8000
         r6 = 0x00000006  r7 = 0xc05c99b4
         r8 = 0xc266f280  r9 = 0xc26ca28c
cpsw_attach() at cpsw_attach+0x8c0
         pc = 0xc05edc48  lr = 0xc03d3c88 (device_attach+0x310)
         sp = 0xc080ec40  fp = 0xc080ec78
         r4 = 0xc266f280  r5 = 0xc266fb00
         r6 = 0xc266f2b8  r7 = 0x00000000
         r8 = 0xc064a54f  r9 = 0x00000001
        r10 = 0x00000000
device_attach() at device_attach+0x310
         pc = 0xc03d3c88  lr = 0xc03d4e1c (bus_generic_attach+0x28)
         sp = 0xc080ec80  fp = 0xc080ec88
         r4 = 0xc266f280  r5 = 0xc06d1120
         r6 = 0xc26b0740  r7 = 0x00000008
         r8 = 0xc266fb00
bus_generic_attach() at bus_generic_attach+0x28
         pc = 0xc03d4e1c  lr = 0xc023fca8 (simplebus_attach+0x634)
         sp = 0xc080ec90  fp = 0xc080ece8
         r4 = 0xc266fb00
simplebus_attach() at simplebus_attach+0x634
         pc = 0xc023fca8  lr = 0xc03d3c88 (device_attach+0x310)
         sp = 0xc080ecf0  fp = 0xc080ed28
         r4 = 0xc266fb00  r5 = 0xc266fc00
         r6 = 0xc266fb38  r7 = 0x00000000
         r8 = 0xc064a54f  r9 = 0xc0605e7c
        r10 = 0xc266fc00
device_attach() at device_attach+0x310
         pc = 0xc03d3c88  lr = 0xc03d4e1c (bus_generic_attach+0x28)
         sp = 0xc080ed30  fp = 0xc080ed38
         r4 = 0xc266fb00  r5 = 0x00000000
         r6 = 0xc250f930  r7 = 0xc0605e38
         r8 = 0xc06d1120
bus_generic_attach() at bus_generic_attach+0x28
         pc = 0xc03d4e1c  lr = 0xc0263ea0 (ofwbus_attach+0x4c4)
         sp = 0xc080ed40  fp = 0xc080ed88
         r4 = 0x00000000
ofwbus_attach() at ofwbus_attach+0x4c4
         pc = 0xc0263ea0  lr = 0xc03d3c88 (device_attach+0x310)
         sp = 0xc080ed90  fp = 0xc080edc8
         r4 = 0xc266fc00  r5 = 0xc2670a00
         r6 = 0xc266fc38  r7 = 0x00000000
         r8 = 0xc064a54f  r9 = 0xc070c300
        r10 = 0x00000025
device_attach() at device_attach+0x310
         pc = 0xc03d3c88  lr = 0xc03d4e1c (bus_generic_attach+0x28)
         sp = 0xc080edd0  fp = 0xc080edd8
         r4 = 0xc266fc00  r5 = 0xc07092b4
         r6 = 0xc2670a38  r7 = 0x00000000
         r8 = 0xc064a54f
bus_generic_attach() at bus_generic_attach+0x28
         pc = 0xc03d4e1c  lr = 0xc05d4008 (nexus_attach+0x6c)
         sp = 0xc080ede0  fp = 0xc080ede8
         r4 = 0xc2670a00
nexus_attach() at nexus_attach+0x6c
         pc = 0xc05d4008  lr = 0xc03d3c88 (device_attach+0x310)
         sp = 0xc080edf0  fp = 0xc080ee28
         r4 = 0xc2670a00  r5 = 0xc2670a50
device_attach() at device_attach+0x310
         pc = 0xc03d3c88  lr = 0xc03d529c (bus_generic_new_pass+0xf0)
         sp = 0xc080ee30  fp = 0xc080ee48
         r4 = 0xc2670a00  r5 = 0xc06c9510
         r6 = 0xc06e78d0  r7 = 0x00000000
         r8 = 0xc07006b0
bus_generic_new_pass() at bus_generic_new_pass+0xf0
         pc = 0xc03d529c  lr = 0xc03d1ab8 (bus_set_pass+0x84)
         sp = 0xc080ee50  fp = 0xc080ee68
         r4 = 0xc2512720  r5 = 0xc06c9510
         r6 = 0xc2670e00  r7 = 0xc07006b0
         r8 = 0x7fffffff
bus_set_pass() at bus_set_pass+0x84
         pc = 0xc03d1ab8  lr = 0xc03d67d0 (root_bus_configure+0x10)
         sp = 0xc080ee70  fp = 0xc080ee70
         r4 = 0x00000001  r5 = 0xc070b6c0
         r6 = 0x00000000  r7 = 0xc252c8f0
         r8 = 0xc070bedc  r9 = 0xc070bed8
root_bus_configure() at root_bus_configure+0x10
         pc = 0xc03d67d0  lr = 0xc05c87e0 (configure+0xc)
         sp = 0xc080ee78  fp = 0xc080ee78
configure() at configure+0xc
         pc = 0xc05c87e0  lr = 0xc0337bf4 (mi_startup+0x120)
         sp = 0xc080ee80  fp = 0xc080eea8
mi_startup() at mi_startup+0x120
         pc = 0xc0337bf4  lr = 0xc0200238 (virt_done+0x44)
         sp = 0xc080eeb0  fp = 0x00000000
         r4 = 0xc0200268  r5 = 0xc0714000
         r6 = 0x8804da40  r7 = 0x8020014c
         r8 = 0x0000000a  r9 = 0xc07fe000
virt_done() at virt_done+0x44
         pc = 0xc0200238  lr = 0xc0200238 (virt_done+0x44)
         sp = 0xc080eeb0  fp = 0x00000000
Unable to unwind further
==== End of dump ====

If there's anything I can do, let me know.

Thanks,

Shawn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140730/8b82d62e/attachment.sig>


More information about the freebsd-arm mailing list