Re: Linux console at boot

From: Keith Owens (kaos@ocs.com.au)
Date: Sat Jan 26 2002 - 05:32:45 EST


On Thu, 24 Jan 2002 21:05:45 -0800,
"George Bonser" <george@gator.com> 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).

Serial console is the best. If you can't do that, add a delay after
each set of console output. Tweak 100000000 to get a suitable delay.

Index: 17.1/kernel/printk.c
--- 17.1/kernel/printk.c Tue, 11 Dec 2001 09:58:50 +1100 kaos (linux-2.4/j/48_printk.c 1.1.2.2.7.1.2.3 644)
+++ 17.1(w)/kernel/printk.c Sat, 26 Jan 2002 21:30:53 +1100 kaos (linux-2.4/j/48_printk.c 1.1.2.2.7.1.2.3 644)
@@ -373,6 +373,7 @@ static void call_console_drivers(unsigne
                 }
         }
         _call_console_drivers(start_print, end, msg_level);
+ { int i; for (i = 0; i < 100000000; ++i) ; }
 }
 
 static void emit_log_char(char c)

-
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 : Thu Jan 31 2002 - 21:00:40 EST