Re: Linux console at boot

From: Bradley D. LaRonde (brad@ltc.com)
Date: Tue Feb 12 2002 - 10:14:36 EST


----- Original Message -----
From: "Geert Uytterhoeven" <geert@linux-m68k.org>
To: "George Bonser" <george@gator.com>
Cc: "Linux Kernel Development" <linux-kernel@vger.kernel.org>
Sent: Tuesday, February 12, 2002 3:52 AM
Subject: Re: Linux console at boot

> On Thu, 24 Jan 2002, George Bonser wrote:
> > Is there any way to stop the console scrolling during boot? My reason
> > for this is I am trying to troubleshoot a boot problem with
> > 2.4.18-pre7 and I would like to give a more useful report than "it
> > won't boot" but the screen outputs information every few seconds and I
> > can't "freeze" the display so I can copy down the initial error(s).
> >
> > This is an Intel unit using the standard console (not serial console).
> > pre7 will not boot but pre6 boots every time.
>
> On Amiga (m68k and PPC) we have a `debug=mem' option that will write all
kernel
> messages to a 256 KiB block (marked with a magic number) of Chip RAM. If
the
> system crashes early, you can reboot into AmigaOS and run a special
utility
> that finds the 256 KiB block (Chip RAM is not completely erased on reboot)
and
> extracts the messages.

Also, printk already writes (appends) to a smaller-but-sufficiently-large
buffer - log_buf. When debugging early boot crashes, I frequently look up
the address of log_buf in System.map and dump that area of memory from my
boot monitor or JTAG prompt.

Regards,
Brad

-
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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:49 EST