Re: [RFC/PATCH] Kdump: Disabling PCI interrupts in capture kernel

From: Eric W. Biederman
Date: Fri Jun 03 2005 - 13:43:56 EST


Greg KH <greg@xxxxxxxxx> writes:

> On Fri, Jun 03, 2005 at 04:55:24PM +0530, Vivek Goyal wrote:
> > Hi,
> >
> > In kdump, sometimes, general driver initialization issues seems to be cropping
>
> > in second kernel due to devices not being shutdown during crash and these
> > devices are sending interrupts while second kernel is booting and drivers are
>
> > not expecting any interrupts yet.
>
> What are the errors you are seeing?
> How would the drivers be able to be getting interrupts delivered to them
> if they haven't registered the irq handler yet?

As I recall the drivers were not getting the interrupts but the interrupts
were happening. To stop being spammed the kernel disables the irq line,
at the interrupt controller. Then when the driver registered the
interrupt it would never receive the interrupt.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/