Hi,
I am using Linux Kernel 2.6.13 and affix-3.2.0
I am using timers in bty.c and af_rfcomm.c, wherein I am creating, modifying and deleting the timer. In the course of running the application I am getting the following oops.... Any pointer???????? How to resolve the issue???
~Abu.
***************************************************************************************
BUG_ON: check tmp->base = C0257E38 base->t_base = C0257E38
BUG_ON: check tmp->base = C02586C8 base->t_base = C0257E38
BUG_ON: check tmp->base = C02586C8 base->t_base = C0257E38
<2>kernel BUG at kernel/timer.c:453!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#1]
Modules linked in: affix_tcs affix_uart affix_rfcomm affix snd_pcm_oss snd_mixer_oss snd_pxa2xx_ac97 snd_pxa2xx_pcm snd_ac97_codec snd_pcm snd_page_alloc snd_timer snd soundcore pxafb softcursor cfbfillrect cfbcopyarea cfbimgblt lcd PMUCharger keydrv sismo simi sinsid pxa2xx_udc
CPU: 0
PC is at __bug+0x40/0x54
LR is at 0x1
pc : [<c001e880>] lr : [<00000001>] Tainted: P
sp : c020de88 ip : 60000093 fp : c020de98
r10: c024fb84 r9 : c020f328 r8 : 00000020
r7 : c02586b0 r6 : c0258740 r5 : c0257e38 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : c0253ac4 r0 : 00000001
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 397F Table: A04D0000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc020c194)
Stack: (0xc020de88 to 0xc020e000)
de80: c02586b0 c020debc c020de9c c003a6d8 c001e84c 00000000
dea0: c0257bd0 c020c000 c020dec0 c0257e38 c020def4 c020dec0 c003a788 c003a658
dec0: c020dec0 c020dec0 c020ded4 00000011 c0257bd0 c020c000 0000000a c0257ba0
dee0: 69052d06 c024fb84 c020df18 c020def8 c00369e8 c003a718 c024ff60 f2d00000
df00: 04000000 c0277c7c c020df5c c020df28 c020df1c c0036b70 c0036998 c020df58
df20: c020df2c c001abac c0036b3c c020e100 c020c000 ffffffff f2d00000 04000000
df40: c0277c7c a0017078 a0017018 c020dfb0 c020df5c c0019824 c001aab0 00000001
df60: c0252924 00000000 60000013 c001b374 c020c000 c020f05c c0277c7c a0017078
df80: 69052d06 a0017018 c020dfb0 c020dfb4 c020dfa4 c001b3b0 c001b3bc 60000013
dfa0: ffffffff c020dfc8 c020dfb4 c001b40c c001b380 c025a3c0 c0251f9c c020dfd8
dfc0: c020dfcc c0019024 c001b3d0 c020dff4 c020dfdc c0008758 c001900c c00082e4
dfe0: c0252008 0000397d 00000000 c020dff8 a0008094 c0008640 00000000 00000000
Backtrace:
[<c001e840>] (__bug+0x0/0x54) from [<c003a6d8>] (cascade+0x8c/0xc0)
r4 = C02586B0
[<c003a64c>] (cascade+0x0/0xc0) from [<c003a788>] (run_timer_softirq+0x7c/0x1dc)
r8 = C0257E38 r7 = C020DEC0 r6 = C020C000 r5 = C0257BD0
r4 = 00000000
[<c003a70c>] (run_timer_softirq+0x0/0x1dc) from [<c00369e8>] (__do_softirq+0x5c/0xd0)
[<c003698c>] (__do_softirq+0x0/0xd0) from [<c0036b70>] (irq_exit+0x40/0x48)
r8 = C020DF5C r7 = C0277C7C r6 = 04000000 r5 = F2D00000
r4 = C024FF60
[<c0036b30>] (irq_exit+0x0/0x48) from [<c001abac>] (asm_do_IRQ+0x108/0x124)
[<c001aaa4>] (asm_do_IRQ+0x0/0x124) from [<c0019824>] (__irq_svc+0x24/0x80)
[<c001b374>] (default_idle+0x0/0x50) from [<c001b40c>] (cpu_idle+0x48/0x64)
[<c001b3c4>] (cpu_idle+0x0/0x64) from [<c0019024>] (__init_end+0x24/0x2c)
r5 = C0251F9C r4 = C025A3C0
[<c0019000>] (__init_end+0x0/0x2c) from [<c0008758>] (start_kernel+0x124/0x160)
[<c0008634>] (start_kernel+0x0/0x160) from [<a0008094>] (0xa0008094)
Code: 1b004f63 e59f0014 eb004f61 e3a03000 (e5833000)
***************************************************************************************