Re: increased verbosity in dmesg

From: Gene Heskett
Date: Sat Aug 16 2003 - 11:07:19 EST


On Saturday 16 August 2003 11:45, Felipe Alfaro Solana wrote:
>On Sat, 2003-08-16 at 17:36, Gene Heskett wrote:
>> >In 2.6.0-test, the ring bugger size is configurable. Just look
>> > for CONFIG_LOG_BUF_SHIFT. The kernel ring size will be
>> >2^CONFIG_LOG_BUF_SHIFT bytes, so for a CONFIG_LOG_BUF_SHIFT of
>> > 14, you'll 2^14 or 16 KBytes.
>>
>> Which says that a setting of 15 would get 32k then.
>> I take it this (for an i386 system) is the correct file to edit?
>
>Yes, a value of 15 means 32KB. However, I don't recommend you
> setting this value too high.
>
>> kernel/ikconfig.h:CONFIG_LOG_BUF_SHIFT=14 \n\
>> Mmmm, that says do not edit, auto-generated, so how about this
>> one?
>>
>> include/config/log/buf/shift.h
>>
>> which contains only that single line. Its now 15 & we'll see.
>
>No, no, you'll need to edit the ".config" file to reflect the
> changes.

I don't recall .config falling out of a grep for that. I also asked
less to search for it in .config without finding it. This was in
2.6.0-test3-mm2's src dir.

I reran a make menuconfig and saved, and a trial make is underway now.

Damn, grep must not look at .files, its there, and still 14. Thanks a
bunch, new build underway.

However, I'd assume a make mrproper, or an oldconfig might reset that
to the include/config/log/buf/shift.h value? Its also in
autoconfig.h FWTW.

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/