[mpeg2] Re: Porting kfir for kernel 2.6
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Sat Feb 19 12:22:10 CET 2005
Anssi Hannula wrote:
> Klaus Schmidinger wrote:
>
>> After letting it run for a while suddenly this happened:
>>
>> Feb 18 15:19:42 video kernel: irq 5: nobody cared!
>> Feb 18 15:19:42 video kernel: [<c010868c>] __report_bad_irq+0x1c/0x70
>> Feb 18 15:19:42 video kernel: [<c010875b>] note_interrupt+0x5b/0x80
>> Feb 18 15:19:42 video kernel: [<c010894c>] do_IRQ+0xdc/0x120
>> Feb 18 15:19:42 video kernel: [<c0106cd8>] common_interrupt+0x18/0x20
>> Feb 18 15:19:42 video kernel: [<c0104030>] default_idle+0x0/0x30
>> Feb 18 15:19:42 video kernel: [<c0104054>] default_idle+0x24/0x30
>> Feb 18 15:19:42 video kernel: [<c01040bc>] cpu_idle+0x1c/0x40
>> Feb 18 15:19:42 video kernel: [<c03ce6bd>] start_kernel+0x16d/0x1d0
>> Feb 18 15:19:42 video kernel: handlers:
>> Feb 18 15:19:42 video kernel: [<d8d58eb0>] (kfir_irq+0x0/0x2f0 [kfir])
>> Feb 18 15:19:42 video kernel: Disabling IRQ #5
>>
>>
>> IRQ #5 is apparently the one assigned to the kfir card:
>>
>>
>> CPU0
>> 0: 2748867 XT-PIC timer
>> 2: 0 XT-PIC cascade
>> 5: 100474 XT-PIC kfir
>> 10: 140526 XT-PIC saa7146 (2)
>> 11: 394979 XT-PIC saa7146 (1)
>> 12: 7825916 XT-PIC eth0, saa7146 (0)
>> 14: 8249 XT-PIC ide0
>> 15: 0 XT-PIC ide1
>> NMI: 0
>> LOC: 0
>> ERR: 0
>> MIS: 0
>>
>>
>> Do you have any idea what might be the problem here?
>
>
> "irq #: nobody cared" is triggered when 99000 of 100000 IRQs are not
> handled, e.g. kfir_irq returns IRQ_NONE instead of IRQ_HANDLED. There
> was a "return 0" where should've been IRQ_NONE, but AFAIK that couldn't
> have been the cause of this error. Try this patch with debug=1 and test
> it with 100000+ interrupts. I added some debug printk's around return
> IRQ_NONE ("unhandled irq", "was audio irq", "was video irq").
Done - log attached.
CPU0
0: 2826587 XT-PIC timer
2: 0 XT-PIC cascade
5: 100000 XT-PIC kfir
10: 159051 XT-PIC saa7146 (2)
11: 446599 XT-PIC saa7146 (1)
12: 8611351 XT-PIC eth0, saa7146 (0)
14: 6674 XT-PIC ide0
15: 0 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0
After IRQ #5 had been disabled, no more data came from /dev/video.
Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfir-26.log.gz
Type: application/x-gzip
Size: 1858 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/mpeg2/attachments/20050219/55587f18/kfir-26.log.bin
More information about the mpeg2
mailing list