mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rmk@www.linux.org.uk
To: christian.gennerat@vz.cit.alcatel.fr (Christian Gennerat)
Cc: linux-kernel@vger.kernel.org (linux-kernel@vger.kernel.org),
	chmouel@mandrakesoft.com (Chmouel Boudjnah)
Subject: Re: Looping Oops
Date: Wed, 6 Dec 2000 17:23:12 +0000 (GMT)	[thread overview]
Message-ID: <E143iHg-0007a8-00@www.linux.org.uk> (raw)
In-Reply-To: <3A2E34EF.CADF15EC@vz.cit.alcatel.fr> from "Christian Gennerat" at Dec 06, 2000 01:45:35 PM

> Aiee, killing interrupt handler
> invalid operand: 0000
> CPU:    0
> EIP:    0010:[<c0113b13>]
> EFLAGS: 00010292
>...
> Aiee, killing interrupt handler
> invalid operand: 0000
> CPU:    0
> EIP:    0010:[<c0113b13>]
> EFLAGS: 00010286

You are not the only one to find this.  On the ARM kernels, I have had to
change the printk("Aiee, killing interrupt handler") to be a panic to
prevent this problem.  (Note, this is a quick fix, and will catch more
than the case it is meant to).

However, the real question is:

If we enter schedule() from interrupt context due to a bug, we call BUG().
BUG() then causes an oops to be printed, and eventually do_exit() is called.
We then hit the printk("Aiee, killing interrupt handler") in kernel/exit.c
and then re-enter schedule() still in interrupt context.  Virtual cookie to
anyone who can guess what happens next ;)

We do need some way of stopping this endless loop - the first occurance
of schedule being called in interrupt context is interesting, the rest
are not, and they just end up causing the real problem to be lost off the
screen.

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

      reply	other threads:[~2000-12-06 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-06 12:45 Christian Gennerat
2000-12-06 17:23 ` rmk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E143iHg-0007a8-00@www.linux.org.uk \
    --to=rmk@www.linux.org.uk \
    --cc=chmouel@mandrakesoft.com \
    --cc=christian.gennerat@vz.cit.alcatel.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®