Skip to contentSkip to conversation

increase max LOG_BUF_SHIFT value

PATCH New Greg Edwards 1 participant 1 message Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

Regards,
Greg Edwards

 Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
Index: work-26-bk/init/Kconfig
===================================================================
@@ -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