2002-09-29 23:51:00

by cwhmlist

[permalink] [raw]
Subject: How to capture bootstrap oops?

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?

Thanks,

Chris


2002-09-30 00:00:04

by Andrew Morton

[permalink] [raw]
Subject: Re: How to capture bootstrap oops?

[email protected] 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);

2002-09-30 01:40:59

by Chris Wedgwood

[permalink] [raw]
Subject: Re: How to capture bootstrap oops?

On Sun, Sep 29, 2002 at 05:03:33PM -0700, Andrew Morton wrote:

[email protected] 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?

[... patch removed ...]

Or try a serial console (if you have access to such a thing).


--cw

2002-09-30 09:16:31

by bert hubert

[permalink] [raw]
Subject: Re: How to capture bootstrap oops?

On Sun, Sep 29, 2002 at 05:03:33PM -0700, Andrew Morton wrote:
> [email protected] 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?

People also like using digital cameras these days to photograph their oopses
for typing them in later :-)

Regards,

bert

--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO