[BUG] Scheduling in interrup

From: Hammond, Jean-François (Jean-Francois.Hammond@mindready.com)
Date: Fri Aug 31 2001 - 13:54:53 EST


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,

Jean-Francois Hammond
-
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