Re: [BUG] Scheduling in interrup

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Fri Aug 31 2001 - 14:18:18 EST


On Fri, 31 Aug 2001, [iso-8859-1] "Hammond, Jean-François" wrote:

> Hi,
>
> Here is the bug :
>
> Scheduling in interrupt
> kernel BUG at sched.c:706!
> < all the registers are dump >
> Kernel panic: Aiee, killing interrupt handler!
> In interrupt handler - not syncing
>
> General information :
>
> Kernel version : 2.4.8 without SMP
> GCC version : 2.96-81 (Red Hat 7.1)
>
> I am developing in the kernel. I got two PC with one network card for each.
> The bug appear when trying to stress my network driver by sending a lot
> of packet to one node on the network. The PC that is sending packets
> seems to work fine, but the one that receiving packets get the bug after
> a while. My interrupt handler does not have bottom half and my interrupt
> as the options : SA_INTERRUPT and SA_SHIRQ.
>
> I got two possible answer. The first possible answer to this is my interrupt
> routine stays too long at the interrupt level. The second answer is I lock
> the
> interrupt for a long time.
>
> Do you have any suggestion to this problem ?
>
> Thanks,
>

So, what is the interrupt service routine doing that it should not
be doing?

o Are you attempting to access paged RAM?
o Are you accessing anything that sleeps?
o Are you enabling interrupts without protecting against
        re-entry first?
o Etc.

Your ISR must be doing something that it should not be doing in
order to get this kind of error.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

    I was going to compile a list of innovations that could be
    attributed to Microsoft. Once I realized that Ctrl-Alt-Del
    was handled in the BIOS, I found that there aren't any.

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



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:35 EST