Re: [PATCH][2.6-mm] Make i386 boot not so chatty

Andi Kleen
2004-05-21T23:02:39Z

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