2011-04-13 17:57:35     kernel BUG at kernel/timer.c:951

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

2011-04-13 17:57:35     kernel BUG at kernel/timer.c:951

Daniel Tripp (UNITED STATES)

Message: 99822   

 

I'm currently (rarely occurring) seeing an kernel crash on the 524 with the following dump. Attached is my kernel config. I'm running the 2010RC5 kernel. Has anyone else seen this issue?

 

[15961.056000] ------------[ cut here ]------------

[15961.056000] kernel BUG at kernel/timer.c:951!

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

[15961.056000] Hardware Trace:

[15961.056000]    0 Target : <0x00003f14> { _trap_c + 0x0 }

[15961.056000]      Source : <0xffa006de> /* kernel dynamic memory (maybe user-space) */ JUMP.L

[15961.056000]    1 Target : <0xffa00644> /* kernel dynamic memory (maybe user-space) */

[15961.056000]      Source : <0xffa00500> /* kernel dynamic memory (maybe user-space) */ RTX

[15961.056000]    2 Target : <0xffa004e8> /* kernel dynamic memory (maybe user-space) */

[15961.056000]      Source : <0xffa005a4> /* kernel dynamic memory (maybe user-space) */ JUMP.S

[15961.056000]    3 Target : <0xffa00530> /* kernel dynamic memory (maybe user-space) */

[15961.056000]      Source : <0xffa007a4> /* kernel dynamic memory (maybe user-space) */ JUMP (P4)

[15961.056000]    4 Target : <0xffa0074c> /* kernel dynamic memory (maybe user-space) */

[15961.056000]       FAULT : <0x0001795c> { _cascade + 0x60 } BUG

[15961.056000]      Source : <0x00017940> { _cascade + 0x44 } IF !CC JUMP pcrel

[15961.056000]    5 Target : <0x00017938> { _cascade + 0x3c }

[15961.056000]      Source : <0x00017932> { _cascade + 0x36 } IF !CC JUMP pcrel (BP)

[15961.056000]    6 Target : <0x000178fc> { _cascade + 0x0 }

[15961.056000]      Source : <0x00017abe> { _run_timer_softirq + 0x10e } CALL pcrel

[15961.056000]    7 Target : <0x00017ab4> { _run_timer_softirq + 0x104 }

[15961.056000]      Source : <0x00017a16> { _run_timer_softirq + 0x66 } IF CC JUMP pcrel

[15961.056000]    8 Target : <0x000179c4> { _run_timer_softirq + 0x14 }

[15961.056000]      Source : <0x00022258> { _hrtimer_run_pending + 0x8 } RTS

[15961.056000]    9 Target : <0x00022250> { _hrtimer_run_pending + 0x0 }

[15961.056000]      Source : <0x000179c0> { _run_timer_softirq + 0x10 } JUMP.L

[15961.056000]   10 Target : <0x000179b0> { _run_timer_softirq + 0x0 }

[15961.056000]      Source : <0x0001449c> { ___do_softirq + 0x74 } CALL (P2)

[15961.056000]   11 Target : <0x0001446c> { ___do_softirq + 0x44 }

[15961.056000]      Source : <0x00014478> { ___do_softirq + 0x50 } IF CC JUMP pcrel (BP)

[15961.056000]   12 Target : <0x00014476> { ___do_softirq + 0x4e }

[15961.056000]      Source : <0x0001446a> { ___do_softirq + 0x42 } JUMP.S

[15961.056000]   13 Target : <0x00014428> { ___do_softirq + 0x0 }

[15961.056000]      Source : <0x0001452a> { _irq_exit + 0x32 } CALL pcrel

[15961.056000]   14 Target : <0x0001452a> { _irq_exit + 0x32 }

[15961.056000]      Source : <0x00014526> { _irq_exit + 0x2e } IF !CC JUMP pcrel

[15961.056000]   15 Target : <0x000144f8> { _irq_exit + 0x0 }

[15961.056000]      Source : <0xffa0035c> /* kernel dynamic memory (maybe user-space) */ JUMP.L

[15961.056000] Stack info:

[15961.056000]  SP: [0x002d3c3c] <0x002d3c3c> { _init_thread_union + 0x1c3c }

 

 

config

QuoteReplyEditDelete

 

 

2011-04-13 18:25:43     Re: kernel BUG at kernel/timer.c:951

Mike Frysinger (UNITED STATES)

Message: 99823   

 

that config isnt useful.  please run `make bugreport` and post the tarball as an attachment.

 

do you have any custom drivers running ?  what devices/drivers are you using when things fail ?

QuoteReplyEditDelete

 

 

2011-04-14 10:27:05     Re: kernel BUG at kernel/timer.c:951

Daniel Tripp (UNITED STATES)

Message: 99846   

 

Bugreport attached. We're running one custom module, source attached.

 

root:/> lsmod

Module                  Size  Used by

sierra                  8584  0

musb_hdrc              23710  0

nop_usb_xceiv           1242  1 musb_hdrc

bfid                     838  0

gspi8xxx               99221  1

gspi                    4261  1 gspi8xxx

adp5588_keys            4120  0

mc9s08qg                3113  0

 

 

bugreport.tar.gz

bfid.c

QuoteReplyEditDelete

 

 

2011-04-18 15:38:49     Re: kernel BUG at kernel/timer.c:951

Daniel Tripp (UNITED STATES)

Message: 99948   

 

Is there anything else you may need?

QuoteReplyEditDelete

 

 

2011-04-18 15:58:56     Re: kernel BUG at kernel/timer.c:951

Daniel Tripp (UNITED STATES)

Message: 99949   

 

We've also seen the following crash which looks very similar to   blackfin.uclinux.org/gf/tracker/6465. Could these be related?

 

[   49.028000] ------------[ cut here ]------------

[   49.028000] kernel BUG at kernel/workqueue.c:355!

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

[   49.028000] Hardware Trace:

[   49.028000]    0 Target : <0x00003f14> { _trap_c + 0x0 }

[   49.028000]      Source : <0xffa006de> /* kernel dynamic memory (maybe user-space) */ JUMP.L

[   49.028000]    1 Target : <0xffa00644> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0xffa00500> /* kernel dynamic memory (maybe user-space) */ RTX

[   49.028000]    2 Target : <0xffa004e8> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0xffa005a4> /* kernel dynamic memory (maybe user-space) */ JUMP.S

[   49.028000]    3 Target : <0xffa00530> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0xffa007a4> /* kernel dynamic memory (maybe user-space) */ JUMP (P4)

[   49.028000]    4 Target : <0xffa0074c> /* kernel dynamic memory (maybe user-space) */

[   49.028000]       FAULT : <0x0001d27c> { _queue_delayed_work_on + 0x98 } BUG

[   49.028000]      Source : <0x0001d22c> { _queue_delayed_work_on + 0x48 } IF !CC JUMP pcrel

[   49.028000]    5 Target : <0x0001d21c> { _queue_delayed_work_on + 0x38 }

[   49.028000]      Source : <0x0001d210> { _queue_delayed_work_on + 0x2c } IF CC JUMP pcrel

[   49.028000]    6 Target : <0x0001d20e> { _queue_delayed_work_on + 0x2a }

[   49.028000]      Source : <0x0001d200> { _queue_delayed_work_on + 0x1c } IF CC JUMP pcrel (BP)

[   49.028000]    7 Target : <0x0001d1e4> { _queue_delayed_work_on + 0x0 }

[   49.028000]      Source : <0x0001d2c8> { _queue_delayed_work + 0x14 } CALL pcrel

[   49.028000]    8 Target : <0x0001d2b4> { _queue_delayed_work + 0x0 }

[   49.028000]      Source : <0x0001d2ec> { _schedule_delayed_work + 0x10 } CALL pcrel

[   49.028000]    9 Target : <0x0001d2dc> { _schedule_delayed_work + 0x0 }

[   49.028000]      Source : <0x000dfb94> { _tty_flip_buffer_push + 0x38 } CALL pcrel

[   49.028000]   10 Target : <0x000dfb80> { _tty_flip_buffer_push + 0x24 }

[   49.028000]      Source : <0x000dfb72> { _tty_flip_buffer_push + 0x16 } IF CC JUMP pcrel (BP)

[   49.028000]   11 Target : <0x000dfb5c> { _tty_flip_buffer_push + 0x0 }

[   49.028000]      Source : <0x02081048> /* kernel dynamic memory (maybe user-space) */ CALL (P2)

[   49.028000]   12 Target : <0x0208103e> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0x000dfe8e> { _tty_insert_flip_string_fixed_flag + 0x6a } RTS

[   49.028000]   13 Target : <0x000dfe78> { _tty_insert_flip_string_fixed_flag + 0x54 }

[   49.028000]      Source : <0xffa01592> /* kernel dynamic memory (maybe user-space) */ RTS

[   49.028000]   14 Target : <0xffa01588> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0xffa01558> /* kernel dynamic memory (maybe user-space) */ IF CC JUMP pcrel

[   49.028000]   15 Target : <0xffa01550> /* kernel dynamic memory (maybe user-space) */

[   49.028000]      Source : <0x000dfe74> { _tty_insert_flip_string_fixed_flag + 0x50 } CALL pcrel

[   49.028000] Stack info:

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

[   49.028000]  Memory from 0x02027ad0 to 02028000

[   49.028000] 02027ad0: 00002021  02027adc  00000013 [0024f64c] 001d1e8e  02027bb8  0024f64c  002a34ee

[   49.028000] 02027af0: 002a34ee  002a34ee  02027b0c  0000430a  02027bb8  00008808  00000002  0000001f

[   49.028000] 02027b10: 0000001f  00000000  002c4038  02027de8  02027c68  00000000  02027b48  0000df24

[   49.028000] 02027b30: 02027b48 <0000def6> 00000000  00000001  ffa00c26  0000001f  02027b74 <0000c3e2>

[   49.028000] 02027b50: 02793d20  02793d2c  00000001  00000001  00000000  02818720  002b50d0  002b6950

[   49.028000] 02027b70: 00000000  02027bac  0000c4dc  00c7b960  02659ee0  028b115c  0000001f  00000001

[   49.028000] 02027b90: 028b10d8  ffa006e2  002a0000  00008808  00002021  028b10d8  0000002c  ffc03a04

[   49.028000] 02027bb0:<0011fe6e> 00000480  00000480  00008808  00002021  00000000  02027c94  00000480

[   49.028000] 02027bd0: 0001d27c  0001d2cc  028b10e4  02002002  ffa003f6  ffa01590  ffa003f6  ffa01590

[   49.028000] 02027bf0: 00000000  00000000  0000000b  00000000  0000000b  00000000  00000000  7ffff000

[   49.028000] 02027c10: 000000c0  00000137  00000000  00000000  00000000  00000000  0000005b  00001802

[   49.028000] 02027c30: 00000001  ffffffc0  00000006  fffff1f0  0244c818  02027e4c  00000000  02027cd0

[   49.028000] 02027c50: 0261aba0  02af6c40  02a82000  031768a4  031768a4  02001a60  ffffffff  02545000

[   49.028000] 02027c70: 028b10d8  0000002c  02001a41  02001a40  031768a8  028b10e4  028b10e4  02001a60

[   49.028000] 02027c90: 00000006  0276bcb8  02027cd0 <0208103e> 0001d2cc  03176800  02a82000  03176800

[   49.028000] 02027cb0: 02545000  00000001 <0208104a> 02ab3420  002b50d0  002b6950  00000006  02af6c40

[   49.028000] 02027cd0: ffc03a4c <0011fe6e> 02af6c40  02311e60  028b1188  00000000  00000001  0000005d

[   49.028000] 02027cf0:<0000af16><02652916> 028b1188 <02652916> 028b1188  00000080  0001cb64  00000004

[   49.028000] 02027d10: 002b50d0  00000000  ffc03a4c <0265376a><02653718> 00000000  ffc03a40  02af6c40

[   49.028000] 02027d30: 00000001  00000003  00000001  028b10d8  002b6920  00022252  00000080  002b6944

[   49.028000] 02027d50: 00000002  b255155b  0265572c  000223e0  028b10d8  03176884 <02650eaa> 028b10d8

[   49.028000] 02027d70: 0000005d  0265364c  00000001  00000001  00000000  00000000  0201a320  00000027

[   49.028000] 02027d90: ffffffc0  000000e0  002b3c10  00017cbe  002b3c10 <026511b4> 028b10d8  002b3c10

[   49.028000] 02027db0: 02641ce0  00000000  00000000  0000ffbf  ffffffc0  00000000  02027dc4  002a8d2c

[   49.028000] 02027dd0:<0002ed48> 0261a8a0  00000000  00000000  0000003b  02026000  00000001  00000024

[   49.028000] 02027df0: 00030410  002b815c  031768a4  0000003b  00000000  ffffffc0  002b3c10  03176884

[   49.028000] 02027e10: 00014332  000df958  002c4038  0000003b  002c4038  02001a40  000df958  02026000

[   49.028000] 02027f50: 00000000  fffffffc  ffffffc0  00000002  02026008  02026000  02026000  00000000

[   49.028000] 02027f70: 0001ce4c  02026000  02026000  02001a40  02001a48  02027f9c  00000000  00000000

[   49.028000] 02027f90: 0001cdd8  00000000  02026008  00000000  0201a320  0001fba8  02027fa8  02027fa8

[   49.028000] 02027fb0:<0001f83e> 0201df3c  0001cdd8  00000000  02001a40  00000000  00000000  0001f7e4

[   49.028000] 02027fd0: 000014a8  00000000  00000000  02027fdc  02027fdc <000014ae> 00000000  00000000

[   49.028000] 02027ff0: 00000000  00000000  ffffffff  00000006

[   49.028000] Return addresses in stack:

[   49.028000]     address : <0x0000def6> { _try_to_wake_up + 0x4a }

[   49.028000]     address : <0x0000c3e2> { ___wake_up_common + 0x3a }

[   49.028000]     address : <0x0011fe6e> { _usb_hcd_giveback_urb + 0x3a }

[   49.028000]     address : <0x0208103e> /* kernel dynamic memory (maybe user-space) */

[   49.028000]     address : <0x0208104a> /* kernel dynamic memory (maybe user-space) */

[   49.028000]     address : <0x0011fe6e> { _usb_hcd_giveback_urb + 0x3a }

[   49.028000]     address : <0x0000af16> { _activate_task + 0x3e }

[   49.028000]     address : <0x02652916> { :musb_hdrc:_musb_root_disconnect + 0xc56 }

[   49.028000]     address : <0x02652916> { :musb_hdrc:_musb_root_disconnect + 0xc56 }

[   49.028000]     address : <0x0265376a> { :musb_hdrc:_musb_host_rx + 0x11e }

[   49.028000]     address : <0x02653718> { :musb_hdrc:_musb_host_rx + 0xcc }

[   49.028000]     address : <0x02650eaa> { :musb_hdrc:_musb_interrupt + 0x86 }

[   49.028000]     address : <0x026511b4> { :musb_hdrc:_musb_platform_save_context + 0x90 }

[   49.028000]     address : <0x0002ed48> { _handle_IRQ_event + 0x48 }

[   49.028000]     address : <0xffa0037a> /* kernel dynamic memory (maybe user-space) */

[   49.028000]     address : <0x0001cd66> { _run_workqueue + 0x8a }

[   49.028000]     address : <0x0001f83e> { _kthread + 0x5a }

[   49.028000]     address : <0x000014ae> { _kernel_thread_helper + 0x6 }

 

QuoteReplyEditDelete

 

 

2011-04-19 18:02:02     Re: kernel BUG at kernel/timer.c:951

Mike Frysinger (UNITED STATES)

Message: 100008   

 

i think the workqueue bug is different.  that is being tracked here:

  blackfin.uclinux.org/gf/tracker/6465

 

it would be good if you could remove driver/device usage from the system to try and narrow down the problem.  we havent seen any bug's in the timer code so far.

QuoteReplyEditDelete

 

 

2011-04-19 18:03:32     Re: kernel BUG at kernel/timer.c:951

Mike Frysinger (UNITED STATES)

Message: 100009   

 

i dont understand why you have a custom bfid.c driver.  you can already read the OTP memory with the bfin-otp driver and reading /dev/bfin-otp.

 

  docs.blackfin.uclinux.org/doku.php?id=otp

Attachments

Outcomes