On Mon, 21 Feb 2000, Chris Wedgwood wrote:
>> Is there anything wrong with upping the LOG_BUF_LEN definition in
>> kernel/printk.c? I guess it makes the kernel use a little more RAM, but
>> my kernel generates over 20k of messages during boot before user space
>> can read the buffer, so if I don't raise the size, I lose messages.
>
>You may need to hack the userspace stuff to know about this. Last
>time I checked it had to be updated to handle the 4k->8k increase.
As a data point, I've had my kernels using a 32k buffer for four years
and I never retooled anything to know about that change... syslog and
dmesg still dump every line of it.
as for 20k... IO-APIC messages, SCSI controller messages, etc. Alot can be
said before sysklog gets a chance to see any of it.
--Ricky
PS: I thought the current kernels (2.3) had a 16k buffer?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:26 EST