Re: To Bogomips or not to Bogomips?

Riley Williams (
Sun, 24 May 1998 18:56:13 +0100 (BST)

Hi Jon.

>>> No. dmesg overflows. It does on my machine pretty fast, it does on
>>> production servers. You may not rely on dmesg.

>> Is anybody planning on fixing the bug in dmesg so it reads the FULL
>> message buffer rather than just the first 4k of it?

> It's not a's life. The message buffer has to be limited,
> or it opens the kernel up to DoS attacks if the buffer can grow
> without limit and consume all memory. It might be nice if the
> buffer size were made tunable so that on big systems, you can see
> all the bootup messages before the buffer fills.

I think we're talking about different things here...

According to my information, the dmesg buffer in the kernel is 8k in
size, but the dmesg program only grabs the first 4k of it, and THAT is
the bug I was referring to...

Best wishes from Riley.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to