mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyle Moffett <mrmacman_g4@mac.com>
To: Gene Heskett <gene.heskett@verizononline.net>
Cc: LKML Kernel <linux-kernel@vger.kernel.org>,
	Phillip Susi <psusi@cfl.rr.com>, CIJOML <cijoml@volny.cz>,
	Peter Hagervall <hager@cs.umu.se>
Subject: Re: Dmesg is not showing whole boot list
Date: Tue, 14 Mar 2006 12:28:49 -0500	[thread overview]
Message-ID: <644428B9-6AE0-40D4-A7CE-F4C6540F0F69@mac.com> (raw)
In-Reply-To: <200603141216.23335.gene.heskett@verizon.net>

On Mar 14, 2006, at 12:16:23, Gene Heskett wrote:
> On Tuesday 14 March 2006 10:05, Phillip Susi wrote:
>> Or look in your /var/log/kern.log file instead of asking dmesg.   
>> dmesg just dumps the kernel ring buffer which is of finite size.   
>> The entire contents should be logged to /var/log/kern.log.
>
> You've got to have /var checked and mounted to be able to do that  
> log write, if the buffer overflows before that, then the head end  
> of the dmesg dump to the /var/log/dmesg file is lost forever.
>
> There is a line that can be changed, in xconfig or by hand, to  
> control the memory allocated for this ring buffer.
>
> Finally found it in the xconfig display, left panel line=kernel  
> hacking, right panel its under kernel debugging and shows only if  
> thats checked, double click on the line that says : kernel log  
> buffer size and enter a one digit increment from whats there now,  
> maybe 2, I have mine set for 16.  Your default may be as low as 14,  
> why I have NDI because 16k sure as heck isn't enough if something  
> gets chatty.

To continue this point; on my desktop I have root/var/tmp/vicepa-on- 
LVM-on-RAID5, boot-on-RAID1, and swap-on-RAID1, so I would easily  
overflow the default SMP dmesg buffer size in messages well before  
syslogd/bootlogd got started.  I finally ended up having to increment  
the default by 3 in order to have the boot messages still available  
after booting.  It would be nice if we could quiet down some of the  
more excessively verbose kernel messages, there's a lot of mostly- 
irrelevant spew that chews up log buffer space.

Cheers,
Kyle Moffett

  reply	other threads:[~2006-03-14 17:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14  8:01 CIJOML
2006-03-14  8:38 ` Peter Hagervall
2006-03-14 15:05   ` Phillip Susi
2006-03-14 17:16     ` Gene Heskett
2006-03-14 17:28       ` Kyle Moffett [this message]
2006-03-14 18:34         ` Gene Heskett
2006-03-15  4:34   ` CIJOML
2006-03-15  6:00     ` Randy.Dunlap

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=644428B9-6AE0-40D4-A7CE-F4C6540F0F69@mac.com \
    --to=mrmacman_g4@mac.com \
    --cc=cijoml@volny.cz \
    --cc=gene.heskett@verizononline.net \
    --cc=hager@cs.umu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    /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®