From: Thomas Dodd <ted@cypress.com>
To: linux-kernel@vger.kernel.org
Subject: Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.
Date: Tue, 20 Feb 2001 13:37:16 -0600 [thread overview]
Message-ID: <3A92C76C.6519DF1A@cypress.com> (raw)
In-Reply-To: <3A92A99E.2F255CB3@yk.rim.or.jp> <20010220111542.A4106@tenchi.datarithm.net>
Robert Read wrote:
>
> On Wed, Feb 21, 2001 at 02:30:08AM +0900, Ishikawa wrote:
> >
> > Has anyone tried 128K buffer size in kernel/printk.c
> > and still have the kernel boot (without
> > hard to notice memory corruption problems and other subtle bugs)?
> > Any hints and tips will be appreciated.
>
> I have used 128k and larger buffer sizes, and I just noticed this
> fragment in the RedHat Tux Webserver patch. It creates a 2MB buffer:
I think this should be a config option.
I use software RADI (md.o) and with 9 md devices,
the 16k buffer overflows, and I get md6-md0 in
the logs, but nothing prior to md6 being detected/started.
I bumbed it upo to 32K and checked the size ofter boot
and it's ~26K right now. If I add more partitions/disks
to the arrays, or more arrays, that'll be too small.
A dynamic size would be even better. Start with 1M
or so and add a dmesg hook to rezize it to 8-16K
and frre up the rest, so init scripts can save the
boot buffer, then keep a smaller buffer during
normal use. If you have problems you can change the
dmesg call to not change the buffer, and keep the
bigger buffer or perhaps make it even bigger.
Has anyone tried this before?
-Thomas
next prev parent reply other threads:[~2001-02-20 19:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 17:30 kernel/printk.c: increasing the buffer size to capture devfsd debug messages Ishikawa
2001-02-20 19:15 ` Robert Read
2001-02-20 19:37 ` Thomas Dodd [this message]
2001-02-20 20:17 ` [PATCH] " Robert Read
2001-02-20 20:53 ` Thomas Dodd
2001-02-20 21:03 ` Thomas Dodd
2001-02-20 22:05 ` Robert Read
2001-02-20 22:17 ` [PATCH] configurable printk buffer size Robert Read
2001-02-20 21:27 ` kernel/printk.c: increasing the buffer size to capture devfsd debug messages Ishikawa
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=3A92C76C.6519DF1A@cypress.com \
--to=ted@cypress.com \
--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