Re: Increasing dmesg buffer size?

From: James Simmons (jsimmons@transvirtual.com)
Date: Mon Oct 01 2001 - 18:55:13 EST


> What kernel parameter do I need to modify in the source to allow a
> larger dmesg buffer? I have a lot of boot messages and I currently
> loose about 10-20 lines immediately and they can not even be seen in
> /var/log/dmesg because that file gets dumped after those lines are
> already gone. Thanks to anyone who can help.

No command line paramter. Go into linux/kernel/printk.c and increase the
value of LOG_BUF_LEN. It must be a power of two.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:17 EST