[PATCH] Detect dmesg log buffer size so as not to annoy the hell out of me

Denys Vlasenko vda.linux at googlemail.com
Fri Jul 10 12:16:41 UTC 2009


On Fri, Jul 10, 2009 at 12:39 PM, Randy Robertson<rmrobert at vmware.com> wrote:
> I wasted a bunch of time wondering why even when I increased CONFIG_LOG_BUF_SHIFT I was missing
> the first half second of my boot logs from dmesg.  I saw a bunch of linux code referencing early_printk,
> and thought there was some magic crossover time when things actually started going to the log buffer.
>
> I didn't even think to read the dmesg man page because it never even occurred to me that dmesg would be
> dumb enough to hard code the size of the kernel buffer.
>
> If you would kindly apply this patch, you would be doing humanity a great service by ensuring that nobody ever
> wastes time because of this again.

(the patch have tabs replaced by spaces. Perhaps your
mail program is to blame. I use attachments when in doubt)

Applied, thanks!
--
vda


More information about the busybox mailing list