Subject: Re: How do I change the size of msgbuf? (dmesg buffer)
To: None <tech-kern@NetBSD.org>
From: Alan Barrett <email@example.com>
Date: 12/10/2007 21:04:56
On Mon, 10 Dec 2007, firstname.lastname@example.org wrote:
> I am in the midst of porting a driver from FreeBSD to NetBSD. It would
> be real helpful if I could increase the size of the DMESG buffer (msgbuf).
Add "options MSGBUFSIZE=<insert number here>" to your kernel config
file. This is documented in options(4). Bad things happen if you try
to make it too large, but I don't know what the limit is; I thik it's
65536 for i386.
> I even tried adding the line 'kern.msgbufsize=131000' to /etc/sysctl.conf
That takes effect too late, if at all.
--apb (Alan Barrett)