2004-10-22 17:25:19

by Greg Edwards

[permalink] [raw]
Subject: [patch] increase max LOG_BUF_SHIFT value

We've run into problems at 512p with the kernel log buffer wrapping and
overwriting some of the early boot output. This is with a
CONFIG_LOG_BUF_SHIFT value of 20 (1MB). The patch below just bumps the
max possible setting to 21 (2MB).

Signed-off-by: Greg Edwards <[email protected]>

Regards,
Greg Edwards


Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: work-26-bk/init/Kconfig
===================================================================
--- work-26-bk.orig/init/Kconfig 2004-10-21 15:38:25.000000000 -0500
+++ work-26-bk/init/Kconfig 2004-10-22 11:54:55.000000000 -0500
@@ -171,7 +171,7 @@ config AUDITSYSCALL

config LOG_BUF_SHIFT
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
- range 12 20
+ range 12 21
default 17 if ARCH_S390
default 16 if X86_NUMAQ || IA64
default 15 if SMP