public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] increase the dmesg buffer
@ 2007-05-20 12:54 Philipp Riegger
  2007-05-20 14:58 ` David Relson
  2007-05-20 15:59 ` Dan Farrell
  0 siblings, 2 replies; 4+ messages in thread
From: Philipp Riegger @ 2007-05-20 12:54 UTC (permalink / raw
  To: gentoo MailingList

Hi!

I get lots and lots of messages in dmesg which results in me only  
seeing stuff from hard disk drivers and some grsec java messages in  
dmesg after rebooting. Is there a way to increase the buffer for  
this, so that i see twice as many messages, for example?

Thanks,
	Philipp
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] increase the dmesg buffer
  2007-05-20 12:54 [gentoo-user] increase the dmesg buffer Philipp Riegger
@ 2007-05-20 14:58 ` David Relson
  2007-05-20 15:59 ` Dan Farrell
  1 sibling, 0 replies; 4+ messages in thread
From: David Relson @ 2007-05-20 14:58 UTC (permalink / raw
  To: gentoo-user

On Sun, 20 May 2007 15:54:52 +0300
Philipp Riegger wrote:

> Hi!
> 
> I get lots and lots of messages in dmesg which results in me only  
> seeing stuff from hard disk drivers and some grsec java messages in  
> dmesg after rebooting. Is there a way to increase the buffer for  
> this, so that i see twice as many messages, for example?
> 
> Thanks,
> 	Philipp


Since the dmesg buffer exists in kernel space, a kernel build is
required to change its size.  If recollection serves, the setting is
named CONFIG_LOG_BUF_SHIFT and the value is a power of 2.  For example

CONFIG_LOG_BUF_SHIFT=18

sets the buffer size to 262144 bytes.

HTH,

David

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] increase the dmesg buffer
  2007-05-20 12:54 [gentoo-user] increase the dmesg buffer Philipp Riegger
  2007-05-20 14:58 ` David Relson
@ 2007-05-20 15:59 ` Dan Farrell
  2007-05-20 18:07   ` Philipp Riegger
  1 sibling, 1 reply; 4+ messages in thread
From: Dan Farrell @ 2007-05-20 15:59 UTC (permalink / raw
  To: gentoo-user

On Sun, 20 May 2007 15:54:52 +0300
Philipp Riegger <lists@anderedomain.de> wrote:

> Hi!
> 
> I get lots and lots of messages in dmesg which results in me only  
> seeing stuff from hard disk drivers and some grsec java messages in  
> dmesg after rebooting. Is there a way to increase the buffer for  
> this, so that i see twice as many messages, for example?
> 
> Thanks,
> 	Philipp

You can use syslog if you like to log your dmesg output, so that you
can see it at any time.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] increase the dmesg buffer
  2007-05-20 15:59 ` Dan Farrell
@ 2007-05-20 18:07   ` Philipp Riegger
  0 siblings, 0 replies; 4+ messages in thread
From: Philipp Riegger @ 2007-05-20 18:07 UTC (permalink / raw
  To: gentoo-user


On 20.05.2007, at 17:58, David Relson wrote:
> Since the dmesg buffer exists in kernel space, a kernel build is
> required to change its size.  If recollection serves, the setting is
> named CONFIG_LOG_BUF_SHIFT and the value is a power of 2.  For example
>
> CONFIG_LOG_BUF_SHIFT=18
>
> sets the buffer size to 262144 bytes.

Thanks, that's exactly what i wanted. Now i can see all i want to see.


On 20.05.2007, at 18:59, Dan Farrell wrote:

> You can use syslog if you like to log your dmesg output, so that you
> can see it at any time.

I actually did that, i just remembered after posting. But at the time  
when it is logged, the buffer is already more then full, so it did  
never log the first messages.


Thanks,
	Philipp
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-20 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-20 12:54 [gentoo-user] increase the dmesg buffer Philipp Riegger
2007-05-20 14:58 ` David Relson
2007-05-20 15:59 ` Dan Farrell
2007-05-20 18:07   ` Philipp Riegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox