Re: kernel panic with pccard insert on recent 7.0 CURRENT

From: Paolo Pisati <piso_at_FreeBSD.org>
Date: Mon, 18 Jun 2007 20:36:27 +0200
On Sun, Jun 17, 2007 at 10:58:12AM +0900, Hidetoshi Shimokawa wrote:
> And INTR_FILTER doesn't seem well-tested at least for
> handling of stray interrupts for filter only IRQs.
> I need the following patch to workaroung the problem.
> 
> http://people.freebsd.org/~simokawa/tmp/kern_intr.c-20070617.patch

on which platform?

cause, right now, if there's a stray interrupt we disable the
irq line if the interrut disable function is hooked to
ie_disab:

kern_intr.c::intr_event_handle():

        ...
        if (thread & FILTER_HANDLED) {
                if (ie->ie_eoi != NULL)
                        ie->ie_eoi(ie->ie_source);
        } else {
                if (ie->ie_disab != NULL)
                        ie->ie_disab(ie->ie_source);
        }
        ...

bye,
P.
Received on Mon Jun 18 2007 - 16:36:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC