lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH][2.6-mm] Make i386 boot not so chatty
From
Date
Zwane Mwaikambo <zwane@arm.linux.org.uk> writes:

> This patch silences the default i386 boot by putting a lot of development
> related printks under KERN_DEBUG loglevel, allowing the normal chatty mode
> to be turned on by using the 'debug' kernel parameter. I have avoided
> changing files which have external development repositories, like cpufreq and ACPI.

How about this much simpler patch?

-Andi

diff -u linux/kernel/printk.c-o linux/kernel/printk.c
--- linux/kernel/printk.c-o 2004-05-18 10:55:53.000000000 +0200
+++ linux/kernel/printk.c 2004-05-21 12:28:05.000000000 +0200
@@ -37,7 +37,7 @@
#define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT)

/* printk's without a loglevel use this.. */
-#define DEFAULT_MESSAGE_LOGLEVEL 4 /* KERN_WARNING */
+#define DEFAULT_MESSAGE_LOGLEVEL 6 /* KERN_INFO */

/* We show everything that is MORE important than this.. */
#define MINIMUM_CONSOLE_LOGLEVEL 1 /* Minimum loglevel we let people use */
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.026 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site