lkml.org 
[lkml]   [2001]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] making the printk buffer bigger
> For larger machines, 16K isn't big enough to hold all the boot
> messages - which means some of the earlier boot messages don't
> make it to the log files.
>
> Could you add this tiny patch to fix it?

OK, seeing as people don't seem to want a decent size buffer on
CONFIG_SMP machines, could we at least do it under
CONFIG_MULTIQUAD? Loosing half my boot time messages is
annoying, and I have gigabytes of RAM to waste. Please .......

M.

diff -urN virgin-2.4.13-pre2/kernel/printk.c linux-2.4.13-pre2/kernel/printk.c
--- virgin-2.4.13-pre2/kernel/printk.c Mon Sep 17 13:16:30 2001
+++ linux-2.4.13-pre2/kernel/printk.c Mon Oct 15 13:15:37 2001
@@ -27,7 +27,12 @@

#include <asm/uaccess.h>

-#define LOG_BUF_LEN (16384) /* This must be a power of two */
+#ifdef CONFIG_MULTIQUAD
+#define LOG_BUF_LEN (65536) /* This must be a power of two */
+#else
+#define LOG_BUF_LEN (16384) /* This must be a power of two */
+#endif
+
#define LOG_BUF_MASK (LOG_BUF_LEN-1)

/* printk's without a loglevel use this.. */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.063 / U:5.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site