Re: Dmesg is not showing whole boot list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

>Peter Hagervall wrote:
>> On Tue, Mar 14, 2006 at 09:01:27AM +0100, CIJOML wrote:
>>> Hello,
>>>
>>> maybe this si a wrong list to ask, bug after boot, dmesg shows that
>>> few lines at the beginning are missing.
>>>
>>> Is there any option I can increase to get full dmesg?
>>
>> Try increasing CONFIG_LOG_BUF_SHIFT and recompile. That's likely the
>> source of your problem.
>>
>>
>>
>> 	Peter Hagervall
>
>-
>To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to [email protected]
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux