mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arno Wagner <wagner@tik.ee.ethz.ch>
To: linux-kernel@vger.kernel.org
Subject: BUG: 2.6.0-test3: dmesg buffer still too small
Date: Sat, 23 Aug 2003 17:13:36 +0200	[thread overview]
Message-ID: <20030823151336.GB4266@tik.ee.ethz.ch> (raw)

Hi,

I have been patching my kernels for too small dmesg 
buffer size (LOG_BUF_LEN in kernel/printk.c in 2.6.x)
for almost 2 years now. I have a single CPU Athlon 
system and get 25kB bootup messages. On other similar
machines I get 22kB, 16kB and 15kb, the two latter
without RAID

Since 2.6.x still seems to have the insufficient 16kB
buffer size ad default, I now consider this to be
a bug that would be best fixed now while 2.6.x is still
evolving.

Fix: 

a) Make it at least 32kB or better 64kB as
   default for standard PC architectures, i.e.
   set CONFIG_LOG_BUF_SHIFT to 16 in linux/kernel.h
   for these architectures.
or

b) Add a configuration option to set the buffer size
   in kernel configuration.

Doing both would probably be best.

I can continue patching my kernel manually (although it
is annoying and I have to katch printk.c to ignore 
CONFIG_LOG_BUF_SHIFT), but others might not have the 
expertise to do so. And showing all these nice messages 
to the user with no way to retrieve them afterwards is
probaly not a good idea...

Arno

-- 
Arno Wagner, Communication Systems Group, ETH Zuerich, wagner@tik.ee.ethz.ch
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
For every complex problem there is an answer that is clear, simple, 
and wrong. -- H L Mencken

             reply	other threads:[~2003-08-23 17:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-23 15:13 Arno Wagner [this message]
2003-08-23 20:42 ` Diego Calleja García
2003-08-24  1:05   ` Arno Wagner
2003-08-24  1:12     ` Diego Calleja García
2003-08-24  1:33       ` Arno Wagner
2003-08-24  2:11 Felipe Alfaro Solana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030823151336.GB4266@tik.ee.ethz.ch \
    --to=wagner@tik.ee.ethz.ch \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®