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.

BUG: unbalanced irq-handler preempt count in i2c_davinci_isr+0x0/0x220! occured on dm365

Other Parts Discussed in Thread: TVP5150AM1, TVP5150

All,

I used MVL 2.6.18 kernel on dm365

In Power on/off test, sometimes the following error message is occured

and kernel hanging.

What kind of problem in kernel ?

 

=============================================================

TVP5150 channel0 Video Decoder I2C driver 0-005d: tvp5150am1 detected.

TVP5150 channel0 Video Decoder I2C driver 0-005d: Rom ver is 4.0

BUG: unbalanced irq-handler preempt count in i2c_davinci_isr+0x0/0x220!

Bad mode in interrupt handler detected: mode UND_32

Internal error: Oops - bad mode: 0 [#1]

Modules linked in: davinci_gpio dm365mmap edmak irqk cmemk

CPU: 0

PC is at vprintk+0x26c/0x420

LR is at 0xc0577c0c

pc : [<c004f87c>]    lr : [<c0577c0c>]    Tainted: P

sp : c3145fe0  ip : a000009b  fp : c3145ea4

r10: 0000004b  r9 : c3144000  r8 : 00000001

r7 : 00000001  r6 : c03ab8ef  r5 : c3145ec4  r4 : 00000000

r3 : 6000001b  r2 : 00000000  r1 : 6000001b  r0 : c0340ba8

Flags: nZCv  IRQs on  FIQs on  Mode UND_32  Segment user

Control: 5317F

Table: 83140000  DAC: 00000015

  • Lim,

    I think the issue is happening in I2C driver. Enable more debug logs in the I2C driver and tvp5150 capture driver. Also see whether its occurring at the same place every time. If so try to identify which I2C transfer is causing the trouble.