lkml.org 
[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: increased verbosity in dmesg
Date
On Saturday 16 August 2003 06:48, Martin Schlemmer wrote:
>On Sat, 2003-08-16 at 10:38, Gene Heskett wrote:
>> Greetings;
>>
>> The recently increased verbosity in the dmesg file is causeing the
>> "ring buffer" to overflow, and I am not now seeing the first few
>> pages of the reboot in the dmesg file.
>>
>>
>> Is there any quick and dirty way to increase this to at least 32k,
>> or maybe even to 64k? With half a gig of memory, this shouldn't
>> be a problem should it?
>
> # dmesg -s 30000
>
>Works here.

Doesn't here. Example:
[root@coyote root]# dmesg -s 30000 >/tmp/dmesg;ls -l /tmp/dmesg
-rw-r--r-- 1 root root 15496 Aug 16 10:57 /tmp/dmesg

And actually starts up in the middle of the usb stuffs because of the
size limitation.

Here is a head of the file itself after this last boot.
: registered new driver usbdevfs
usb.c: registered new driver hub
host/usb-uhci.c: $Revision: 1.275 $ time 13:51:40 Aug 15 2003
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 9
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1

etc, etc

Besides, used that way its a read option, and I'm asking about the
size of the ring being used during the boot for message storage
before any drives are mounted in writable modes. Its many kilobytes
insufficient, and because of pointer wrap, being overwritten before
the syslog is up and running, and the file 'dmesg' itself is actually
written to non-volatile storage.

Adjusting this is not an 'after boot' operation as above, but a
src-code setting buried in the kernel code someplace. I have NDI how
interlocked it is with everything else, which is why I was hopeing
someone could point me and pull the trigger.

--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.

-
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:47    [W:0.058 / U:9.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site