2011-01-11 04:20:58     What's mean of this?

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-01-11 04:20:58     What's mean of this?

HappyBlackfin Blackfin (CHINA)

Message: 97336   

 

Processor: BF561 0.5

 

ucLinux:2010R1RC5

 

We design a uart & video encode app. After send some frames then system panic and restart.

 

Why & how to do ?

 

 

 

[  446.452000] ------------[ cut here ]------------

[  446.452000] kernel BUG at kernel/workqueue.c:354!

[  446.452000] Kernel panic - not syncing: BUG()

[  446.452000] Hardware Trace:

[  446.452000]    0 Target : <0x00103840> { _trap_c + 0x0 }

[  446.452000]      Source : <0x0010a46c> { _exception_to_level5 + 0xb4 } CALL pcrel

[  446.452000]    1 Target : <0x0010a43a> { _exception_to_level5 + 0x82 }

[  446.452000]      Source : <0x0010a436> { _exception_to_level5 + 0x7e } IF !CC JUMP pcrel

[  446.452000]    2 Target : <0x0010a3b8> { _exception_to_level5 + 0x0 }

[  446.452000]      Source : <0x0010a25c> { _bfin_return_from_exception + 0x20 } RTX

[  446.452000]    3 Target : <0x0010a23c> { _bfin_return_from_exception + 0x0 }

[  446.452000]      Source : <0x0010a310> { _ex_trap_c + 0x84 } JUMP.S

[  446.452000]    4 Target : <0x0010a2a4> { _ex_trap_c + 0x18 }

[  446.452000]      Source : <0x0010a2a0> { _ex_trap_c + 0x14 } IF !CC JUMP pcrel

[  446.452000]    5 Target : <0x0010a28c> { _ex_trap_c + 0x0 }

[  446.452000]      Source : <0x0010a58c> { _trap + 0xb4 } JUMP (P4)

[  446.452000]    6 Target : <0x0010a54c> { _trap + 0x74 }

[  446.452000]      Source : <0x0010a548> { _trap + 0x70 } IF !CC JUMP pcrel

[  446.452000]    7 Target : <0x0010a532> { _trap + 0x5a }

[  446.452000]      Source : <0x0010a52e> { _trap + 0x56 } IF CC JUMP pcrel

[  446.452000]    8 Target : <0x0010a51e> { _trap + 0x46 }

[  446.452000]      Source : <0x0010a50c> { _trap + 0x34 } JUMP.S

[  446.452000]    9 Target : <0x0010a4d8> { _trap + 0x0 }

[  446.452000]       FAULT : <0x00127114> { _queue_delayed_work_on + 0xb4 } BUG

[  446.452000]      Source : <0x00127086> { _queue_delayed_work_on + 0x26 } IF !CC JUMP pcrel

[  446.452000]   10 Target : <0x00127082> { _queue_delayed_work_on + 0x22 }

[  446.452000]      Source : <0x00127076> { _queue_delayed_work_on + 0x16 } IF CC JUMP pcrel

[  446.452000]   11 Target : <0x00127074> { _queue_delayed_work_on + 0x14 }

[  446.452000]      Source : <0x0010c198> { ___raw_bit_test_set_asm + 0x18 } RTS

[  446.452000]   12 Target : <0x0010c196> { ___raw_bit_test_set_asm + 0x16 }

[  446.452000]      Source : <0x0010c192> { ___raw_bit_test_set_asm + 0x12 } IF CC JUMP pcrel

[  446.452000]   13 Target : <0x0010c188> { ___raw_bit_test_set_asm + 0x8 }

[  446.452000]      Source : <0x0010c04c> { ___raw_atomic_set_asm + 0x1c } RTS

[  446.452000]   14 Target : <0x0010c048> { ___raw_atomic_set_asm + 0x18 }

[  446.452000]      Source : <0x0010bd0a> { _put_core_lock + 0x1a } RTS

[  446.452000]   15 Target : <0x0010bcf0> { _put_core_lock + 0x0 }

[  446.452000]      Source : <0x0010c044> { ___raw_atomic_set_asm + 0x14 } JUMP.L

[  446.452000] Stack info:

[  446.452000]  SP: [0x00249bb0] <0x00249bb0> /* kernel dynamic memory (maybe user-space) */

[  446.452000]  FP: (0x00249e4c)

[  446.452000]  Memory from 0x00249bb0 to 0024a000

[  446.452000] 00249bb0:[001fac64] 001d50da  00249c90  001fac64  0022eb46  0022eb46  0022eb46  00249be0

[  446.452000] 00249bd0: 00103c94  00249c90  00008808  001d6cd4  0000003f  0000001f  00000000  0055918c

[  446.452000] 00249bf0: 00000000  00235248  001167e8  00235248  0013d924  00000006  025708c0  00121546

[  446.452000] 00249c10: 00235248  00000404  00000000  0055918c  00000000  00235248  001167e8  00235248

[  446.452000] 00249c30: 0013d924  00000006  025708c0  00121546  00235248  00000404  00000000  0055918c

[  446.452000] 00249c50: 00000000  00235248  001167e8  00235248  0013d924  00000006  0010a470  0022a000

[  446.452000] 00249c70: ffe02014  00008808  00000021  ffffffff  00000000  00000000  00249c84  00000480

[  446.452000] 00249c90: 00000480  00008808  00000021  00000000  00249d6c  00000480  00127114  00127074

[  446.452000] 00249cb0: 00233600  02003044  0012e5e2  0019ce50  0012e5e2  0019ce30  00000000  00000000

[  446.452000] 00249cd0: 00000000  00000000  00000000  00000000  00000000  7ffff000  000000c0  00000137

[  446.452000] 00249cf0: 00000000  00000000  00000000  00000000  0000005b  00001802  00000001  fffffffc

[  446.452000] 00249d10: 00000006  00000003  0023b700  0200c040  0024a000  0000001e  025f54b8  02001580

[  446.452000] 00249d30: 00000000  025f54b8  025f54b8  feb00000  00000060  00000060  ffffffff  00000000

[  446.452000] 00249d50: 0056bdc0  00000001  00000000  00233600  00233600  feb00000  00000006  00000060

[  446.452000] 00249d70: 0010be72  001d6cd4  00127160  002382f0  025f5400  00000060  00000060  000000f9

[  446.452000] 00249d90: 00000001  00000060  001b24b2  00000001  001b24b2  00000000  00249dec  00000000

[  446.452000] 00249db0: 00249df0  025f5400  00009e2c  025708c0  001b27d8  002382f0  0023839c  00000000

[  446.452000] 00249dd0: 0000ffff  00000000  ffffff54  025708cc  02004f30  00249dec  0000ffff  00000061

[  446.452000] 00249df0: 001b2834  002382f0  00000000  0013d4c8  00559498  0013d440  0022826c <0013a3de>

[  446.452000] 00249e10: 024053a0  00000054  00000060  024053a0  00000000  00000000  00000054  00000054

[  446.452000] 00249e30: 0013bd46  0023e3e0  0013bcf8  0023e3e0  024053a0  0023e41c  00000054 (00000000)

[  446.452000] 00249e50:<0011d764> 00000000  0023d1e0 <0010b4d8> 0023e3ec  00000001  00000000  0000001f

[  446.452000] 00249e70: 0022826c  00103d7c  0022826c <00103daa> 004d2c08  00235248  0023342c  00000036

[  446.452000] 00249e90: 00000000  0019ce50  0012e5e2  0019ce30  0010aa52  ffc00014  ffe05000  00248008

[  446.452000] 00249eb0: 00100e1c  00000000  00000000  7ffff000  00100e64  00008810  00000000  00000000

[  446.452000] 00249ed0: 02690000  024cc63a  00100e64  00100e30  0000000b  02002060  0012e5e2  0019ce50

[  446.452000] 00249ef0: 0012e5e2  0019ce30  00000000  00000000  00000000  00000000  00000000  00000000

[  446.452000] 00249f10: 00000000  7ffff000  000000c0  00000137  00000000  00000000  00000000  00000000

[  446.452000] 00249f30: 0000005b  00001802  00000001  fffffffc  00000006  00000003  0023b700  0200c040

[  446.452000] 00249f50: 0024a000  0022826c  00100e1c  ffe05000  0023342c  0022a008  00000001  00248000

[  446.452000] 00249f70: 00248008  00100e1c  0000001f  00000000  00000004  0000001f  0022a000  0000ffff

[  446.452000] 00249f90: 0000ffff  00248000  00000006  00248008  00100e1c  0000001f <00100e04> 00235070

[  446.452000] 00249fb0: 00228004  00000000  0024a000  0024a7bc  00235070  00228004  00000000  00260088

[  446.452000] 00249fd0: 00000000  00000000  001f9118  0025d6b8  00226d2c  0000002e  0024a33c  00260088

[  446.452000] 00249ff0: 00254bd6  00000000  00000000  ffb00000

[  446.452000] Return addresses in stack:

[  446.452000]     address : <0x0013a3de> { _handle_IRQ_event + 0x52 }

[  446.452000]    frame  1 : <0x0011d764> { ___do_softirq + 0xd8 }

[  446.452000]     address : <0x0010b4d8> { _bfin_demux_gpio_irq + 0x5c }

[  446.452000]     address : <0x00103daa> { _asm_do_IRQ + 0xaa }

[  446.452000]     address : <0x00100e04> { _cpu_idle + 0x58 }

[  446.452000] CPU1: stopping

[  446.452000] Hardware Trace:

[  446.452000]    0 Target : <0x001d505c> { _dump_stack + 0x0 }

[  446.452000]      Source : <0x0010b6e0> { _ipi_handler_int1 + 0x110 } JUMP.L

[  446.452000]    1 Target : <0x0010b6e0> { _ipi_handler_int1 + 0x110 }

[  446.452000]      Source : <0x001d5180> { _printk + 0x14 } RTS

[  446.452000]    2 Target : <0x001d517c> { _printk + 0x10 }

[  446.452000]      Source : <0x001190ea> { _vprintk + 0x19e } RTS

[  446.452000]    3 Target : <0x001190de> { _vprintk + 0x192 }

[  446.452000]      Source : <0x001190b4> { _vprintk + 0x168 } IF CC JUMP pcrel

[  446.452000]    4 Target : <0x001190ac> { _vprintk + 0x160 }

[  446.452000]      Source : <0x00119256> { _vprintk + 0x30a } JUMP.S

[  446.452000]    5 Target : <0x00119256> { _vprintk + 0x30a }

[  446.452000]      Source : <0x00118cda> { _release_console_sem + 0x21a } RTS

[  446.452000]    6 Target : <0x00118c96> { _release_console_sem + 0x1d6 }

[  446.452000]      Source : <0x001d6d0a> { __raw_spin_unlock_irqrestore + 0x42 } RTS

[  446.452000]    7 Target : <0x001d6d04> { __raw_spin_unlock_irqrestore + 0x3c }

[  446.452000]      Source : <0x001d6cda> { __raw_spin_unlock_irqrestore + 0x12 } IF CC JUMP pcrel (BP)

[  446.452000]    8 Target : <0x001d6cd4> { __raw_spin_unlock_irqrestore + 0xc }

[  446.452000]      Source : <0x0010beca> { ___raw_spin_unlock_asm + 0x16 } RTS

[  446.452000]    9 Target : <0x0010bec8> { ___raw_spin_unlock_asm + 0x14 }

[  446.452000]      Source : <0x0010bd0a> { _put_core_lock + 0x1a } RTS

[  446.452000]   10 Target : <0x0010bcf0> { _put_core_lock + 0x0 }

[  446.452000]      Source : <0x0010be3a> { _end_lock_coherent + 0x20 } JUMP.S

[  446.452000]   11 Target : <0x0010be1a> { _end_lock_coherent + 0x0 }

[  446.452000]      Source : <0x0010bec4> { ___raw_spin_unlock_asm + 0x10 } CALL pcrel

[  446.452000]   12 Target : <0x0010bebc> { ___raw_spin_unlock_asm + 0x8 }

[  446.452000]      Source : <0x0010bcbc> { _get_core_lock + 0x40 } RTS

[  446.452000]   13 Target : <0x0010bca0> { _get_core_lock + 0x24 }

[  446.452000]      Source : <0x0010bc90> { _get_core_lock + 0x14 } IF CC JUMP pcrel

[  446.452000]   14 Target : <0x0010bc7c> { _get_core_lock + 0x0 }

[  446.452000]      Source : <0x0010beb8> { ___raw_spin_unlock_asm + 0x4 } JUMP.L

[  446.452000]   15 Target : <0x0010beb4> { ___raw_spin_unlock_asm + 0x0 }

[  446.452000]      Source : <0x001d6cd0> { __raw_spin_unlock_irqrestore + 0x8 } JUMP.L

[  446.452000] Stack info:

[  446.452000]  SP: [0x0204be40] <0x0204be40> /* kernel dynamic memory */

[  446.452000]  Memory from 0x0204be40 to 0204c000

[  446.452000] 0204be40:[0000003f] 0010b6e4  00000000  0000003f  0023ff80  00000001  0000001f  0022826c

[  446.452000] 0204be60:<0013a3de> 02008ae0  00235248  0023342c  00000046  00000000  00000000  00000046

[  446.452000] 0204be80: 0023d1e0  0013bac0  0023c6a0  0013ba96  0023dea0  00000046  00000000  0000001f

[  446.452000] 0204bea0: 00000000  0011d62c  0023342c  00000006 <00103daa> 004d2c08  00000046  0019ce50

[  446.452000] 0204bec0: 024ddae2  0019ce30  0010aa52  ffc00014  ffe05000  0204a008  00100e1c  00000000

[  446.452000] 0204bee0: 00000000  7ffff000  00100e64  00008090  0000c000  00000000  0240c000  024cd40c

[  446.452000] 0204bf00: 00100e64  00100e30  00000007  02002020  024ddb2d  0019ce50  024ddae2  0019ce30

[  446.452000] 0204bf20: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  7ffff000

[  446.452000] 0204bf40: 000000c0  00000137  00000000  00000000  00000000  00000000  0000005b  00001802

[  446.452000] 0204bf60: 00000001  fffffffc  00000006  00000003  02688800  02643970  0204c000  0022826c

[  446.452000] 0204bf80: 00100e1c  ffe05000  0023342c  0022a070  0000000e  0204a000  0204a008  00100e1c

[  446.452000] 0204bfa0: 0000001f  00000000  00000004  0000001f  0022a000  0000ffff  0000ffff  0204a000

[  446.452000] 0204bfc0: 00000006  0204a008  00100e1c  0000001f <00100e04> 001d35b4  0022a070  ffe05000

[  446.452000] 0204bfe0: 0204c000  002550fa  00000000  00000000  00000000  00000000  00000000  00000000

[  446.452000] Return addresses in stack:

[  446.452000]     address : <0x0013a3de> { _handle_IRQ_event + 0x52 }

[  446.452000]     address : <0x00103daa> { _asm_do_IRQ + 0xaa }

[  446.452000]     address : <0x00100e04> { _cpu_idle + 0x58 }

QuoteReplyEditDelete

 

 

2011-01-11 04:37:14     Re: What's mean of this?

Sonic Zhang (CHINA)

Message: 97337   

 

Attach a JTAG debug to your board and print out back trace in gdb via gdbproxy when kernel panic.

QuoteReplyEditDelete

 

 

2011-01-11 04:45:16     Re: What's mean of this?

HappyBlackfin Blackfin (CHINA)

Message: 97339   

 

Thanks!

 

I have HPUSB-ICE only. Do you mean must use gnuICE?

QuoteReplyEditDelete

 

 

2011-01-11 05:36:24     Re: What's mean of this?

Sonic Zhang (CHINA)

Message: 97341   

 

Yes

Attachments

    Outcomes