Re: Repeatable hard crash with 2.6.0.test[123]

From: Andrew Morton
Date: Sat Aug 09 2003 - 17:49:18 EST


"S.Coffin" <scoffin@xxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/