This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm355 under linux - mv4.0.1 crashes after 2-3 days.

Hello all,

Im using mvpro 4.0.1 -2.6.10 kernel in dm355 target.

The sytem runs fine for 2 days and after then it crashes sporadically with the following crashdump. Could you please tell me what could be the reason of this. There is no external event specifically that I could think of thats crashing. Please provide me any input in this regard.

Internal error: Oops - undefined instruction: 0 [#1]
Modules linked in: g_zero GPIOd cmemk PMd dm350mmap
CPU: 0
PC is at 0xc021f048
LR is at do_hrtimers_expire_timers+0x1cc/0x228
pc : [<c021f048>]    lr : [<c0064568>]    Not tainted
sp : c01cfe58  ip : c01d11e8  fp : c01cfe7c
r10: c01d11e8  r9 : c0214ce0  r8 : c021ff50
r7 : c021ddfc  r6 : c021ddfc  r5 : c021ff48  r4 : c01ce000
r3 : 00000000  r2 : c021ff48  r1 : c021ff48  r0 : 40000440
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 5317F  Table: 855B8000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc01ce1a0)
Stack: (0xc01cfe58 to 0xc01d0000)
fe40:                                                       c006435c c01ce000
fe60: 00000001 bf00b10c c021d7fc c01cfe98 c01cfe94 c01cfe80 c0064724 c00643ac
fe80: 00000103 c01ce000 c01cfecc c01cfe98 c0054bf8 c00646bc c021ddec c021ddfc
fea0: c01ce000 c021d7b4 c01ce000 00000103 00000001 c021d590 0000000a c021d560
fec0: c01cfef4 c01cfed0 c0050070 c0054abc c01ce000 00000000 c003e90c 00000002
fee0: c01ce000 c01cff60 c01cff0c c01cfef8 c005014c c005002c c01ce000 c01ce000
ff00: c01cff24 c01cff10 c0050304 c0050124 c01ce000 c01cff94 c01cff5c c01cff28
ff20: c00304c0 c00502c8 00000000 c5b184a0 c02182d0 c01cff94 e1048000 c003e90c
ff40: 00000002 c01ce000 00000001 800276bc c01cffb4 c01cff60 c002e780 c00303b0
ff60: 00000000 60000093 c0217fa0 60000013 c01ce000 c003eee8 c02201c4 c0226ad8
ff80: 800276ec 41069265 800276bc c01cffb4 c01cffa8 c01cffa8 c003e90c c003ef64
ffa0: 60000013 ffffffff c01cffcc c01cffb8 c0031004 c003eef8 00000000 c021481c
ffc0: c01cfffc c01cffd0 c00087d8 c0030fc4 c0008304 00000000 00000000 c02174d8
ffe0: 00000000 00053175 c02174bc c01d0f10 00000000 c01d0000 8000809c c0008660
Backtrace:
[<c006439c>] (do_hrtimers_expire_timers+0x0/0x228) from [<c0064724>] (do_high_res_timer+0x78/0xa0)
 r8 = C01CFE98  r7 = C021D7FC  r6 = BF00B10C  r5 = 00000001
 r4 = C01CE000
[<c00646ac>] (do_high_res_timer+0x0/0xa0) from [<c0054bf8>] (run_timer_softirq+0x14c/0x278)
 r5 = C01CE000  r4 = 00000103
[<c0054aac>] (run_timer_softirq+0x0/0x278) from [<c0050070>] (___do_softirq+0x54/0xf8)
[<c005001c>] (___do_softirq+0x0/0xf8) from [<c005014c>] (__do_softirq+0x38/0x58)
[<c0050114>] (__do_softirq+0x0/0x58) from [<c0050304>] (irq_exit+0x4c/0x60)
 r5 = C01CE000  r4 = C01CE000
[<c00502b8>] (irq_exit+0x0/0x60) from [<c00304c0>] (asm_do_IRQ+0x120/0x138)
 r4 = C01CFF94
[<c00303a0>] (asm_do_IRQ+0x0/0x138) from [<c002e780>] (__irq_svc+0x40/0x6c)
[<c003eee8>] (davinci_pm_idle+0x0/0x84) from [<c0031004>] (cpu_idle+0x50/0x88)
[<c0030fb4>] (cpu_idle+0x0/0x88) from [<c00087d8>] (start_kernel+0x188/0x1cc)
 r5 = C021481C  r4 = 00000000
[<c0008650>] (start_kernel+0x0/0x1cc) from [<8000809c>] (0x8000809c)
Code: c02fa5e0 c02fade0 c02fb5e0 00000009 (fffffed4)
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

 

  • Hello DSV,

    From the crash logs it looks like some power management functionality was included in the kernel.

    By default, there is no power management capability included in the MontaVista kernel for DM355.

    Can you please try if you can reproduce this with a stock MV kernel without any changes?

    Thanks,

    Sekhar