Re: Slow IRQ handling? (was: Nova-T, cx88-dvb & "cx88_wakeup: 2 buffers handled (should be 1)")

Mauro Carvalho Chehab
2007-07-19T20:15:50Z

Hi Hanno,

Em Qua, 2007-07-11 às 13:29 +0200, Hanno Zulla escreveu:
> Hi,
>
> [ please cc me. Thanks. ]
>
> > I've added the printk some years ago. I stopped maintaining v4l/dvb
> > bits two years ago, so it's a bit a shot into the dark because I have no
> > idea what has changed recently in the driver.
>
> Indeed, it appears that this driver has no maintainer right now. (Or the
> maintainer is on holidays.
It is the second :) I was in vacations.

> > Could also be the irq handler for the other device sharing the same irq
> > being very slow. Any pattern here that it is linked to some specific
> > device sharing the irq?
>
> No idea, I did not see any pattern here. Also, the problem on my system
> appears with every PCI slot I tried.
>
> What do you suggest? How can I debug this issue so that you kernel guys
> can look into it?

Debugging this type of trouble is not always easy, since it is
system-specific, and probably not directly related to cx88 driver, since
cx88 drivers work fine on several configurations.

So, we need more details about your configuration. You may try also to
use the latest vanilla linux kernel (2.6.22.1). Maybe this might be an
issue already handled.

You can do a "cat /proc/interrupts". This will help to identify the
shared interrupts and if the processors are balancing the IRQ handling.

There are some tutorials that may help seeking for a bug:
Documentation/BUG-HUNTING

Also, the file /REPORTING-BUGS, at the main tree contains some
orientations on what kind of information can be retrieved for you to
report a bug.

This can also help you to force the handling of an IRQ to an specific
CPU:
Documentation/IRQ-affinity.txt

--
Cheers,
Mauro