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

From: Andi Kleen
Date: Fri May 21 2004 - 18:39:08 EST


Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/