Make i386 boot not so chatty
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Zwane Mwaikambo
This patch silences the default i386 boot by putting a lot of development related printks under
KERN_DEBUGloglevel, 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
kernel/printk.c renamed from kernel/printk.c-o +1 -1
@@ -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 */
Quoted 9 lines · Andi Kleen
Quoted 4 lines · Zwane Mwaikambo
This patch silences the default i386 boot by putting a lot of development related printks under
KERN_DEBUGloglevel, 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?
kernel/printk.c line 40
Quoted 5 lines
kernel/printk.c renamed from kernel/printk.c-o +1
-2-Andi/* printk's without a loglevel use this.. */ -#define DEFAULT_MESSAGE_LOGLEVEL 4/* KERN_WARNING */ +#define DEFAULT_MESSAGE_LOGLEVEL 6/* KERN_INFO */
Still rather verbose, there is too much debugging stuff under KERN_INFO.