Re: "Aiee: scheduling in interrupt"

Bjorn Ekwall (bj0rn@blox.se)
Wed, 14 Feb 1996 13:20:24 +0100 (MET)


Timothy Towers, tim@lorien.demon.co.uk wrote:
>
> I have found that both 1.3.60 and 1.3.62 kernels die within seconds
> of establishing their dialup ppp links with Aiii: scheduling in interrupt
> errors (scrolled up the screen).
[...]
> Feb 12 03:23:21 lorien modprobe: Can't locate module tty-ldisc-3
>
> I will try with ppp built into the kernel
>
> Tim

Hmm... If there is a bug in kerneld, so that it dies when it loads a module,
there might be a schedule() at the wrong moment...
If someone with the problem has the opportunity to check if kerneld has
died immediately after the "Aiee" message, that might give me some input
for a bug-hunt in modprobe and/or kerneld.

Try the included patch.

Bjorn <bj0rn@blox.se>

--- linux/ipc/msg.c.org Wed Feb 14 13:11:33 1996
+++ linux/ipc/msg.c Wed Feb 14 13:13:13 1996
@@ -412,7 +412,8 @@
wake_up (&msq->rwait);
if (msq->wwait)
wake_up (&msq->wwait);
- schedule();
+ if (!intr_count) /* In case kerneld died "with his boots on" */
+ schedule();
}
for (msgp = msq->msg_first; msgp; msgp = msgh ) {
msgh = msgp->msg_next;