mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "S.Coffin" <scoffin@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Repeatable hard crash with 2.6.0.test[123]
Date: Sat, 9 Aug 2003 15:45:17 -0700	[thread overview]
Message-ID: <20030809154517.599b3de8.akpm@osdl.org> (raw)
In-Reply-To: <200308091912.h79JC8dl001879@yawn.gv.com>

"S.Coffin" <scoffin@comcast.net> wrote:
>
>         (unknown output at beginning)
>  [<c01cb601>] exit_io_context+0x21/0x90
>  [<c011a717>] printk+0x107/0x140
>  [<c011bd02>] do_exit+0x42/0x2e0
>  [<c011bd02>] do_divide_error+0x0/0x100
>  [<c0115bd7>] do_page_fault+0x277/0x43e
>  [<c0115960>] do_page_fault+0x010/0x43e
>  [<c0109155>] error_code+0x2d/0x38
>          (repeat about 1000 times)

Looks like you're getting recursive oopses.

Please apply this patch, see if you can capture a decent trace.

 arch/i386/kernel/traps.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN arch/i386/kernel/traps.c~a arch/i386/kernel/traps.c
--- 25/arch/i386/kernel/traps.c~a	2003-08-09 15:43:15.000000000 -0700
+++ 25-akpm/arch/i386/kernel/traps.c	2003-08-09 15:43:53.000000000 -0700
@@ -270,6 +270,8 @@ void die(const char * str, struct pt_reg
 		schedule_timeout(5 * HZ);
 		panic("Fatal exception");
 	}
+	for ( ; ; )
+		schedule();
 	do_exit(SIGSEGV);
 }
 

_

If it still screws up, try just making it:

	for ( ; ; )
		;

(ie: remove the "schedule()").

Thanks.

  reply	other threads:[~2003-08-09 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-09 19:12 S.Coffin
2003-08-09 22:45 ` Andrew Morton [this message]
2003-08-10 18:44 S.Coffin
2003-08-10 20:31 ` Andrew Morton
2003-08-10 22:22 S.Coffin

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=20030809154517.599b3de8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scoffin@comcast.net \
    /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®