Re: How to capture bootstrap oops?

Andrew Morton (akpm@digeo.com)
Sun, 29 Sep 2002 17:03:33 -0700


cwhmlist@bellsouth.net wrote:
>
> I need some help, I'm new to this. I have compliled a 2.5.39 kernel for
> my quad pentium pro system and it is oopsing on bootup. Unfortunently,
> it looks like a good portion of the oops scrolls off of the screen. Since
> I don't have the ability to hook up a serial terminal, how do I capture
> this oops so I can report it?

This might suffice?

--- linux-2.5.39/arch/i386/kernel/traps.c Fri Sep 27 15:09:03 2002
+++ 25/arch/i386/kernel/traps.c Sun Sep 29 17:02:38 2002
@@ -292,6 +292,8 @@ void die(const char * str, struct pt_reg
handle_BUG(regs);
printk("%s: %04lx\n", str, err & 0xffff);
show_registers(regs);
+ for ( ; ; )
+ ;
bust_spinlocks(0);
spin_unlock_irq(&die_lock);
do_exit(SIGSEGV);
-
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/