Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 12:32:44 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Mike Smith <msmith@FreeBSD.org>, Robert Watson <robert+freebsd@cyrus.watson.org>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern init_main.c 
Message-ID:  <200002252032.MAA00608@mass.cdrom.com>
In-Reply-To: Your message of "Fri, 25 Feb 2000 12:26:28 PST." <96552.951510388@zippy.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Increase the kernel message buffer, and use the machdep.msgbuf sysctl to 
> > retrieve it inside sysinstall.
> 
> And increasing the buffer size has been the one thing I've been
> retiscent to suggest so far (heck, that would also solve it for the
> pure scroll-back case and was the most obvious suggestion of all)
> since I'm not sure how much it's going to affect the installation's
> minimum memory requirements.  Any metrics?

The syscons scrollback buffer is _not_ the kernel message buffer.
Syscons scrollback buffer is quite small (about 96 lines IIRC), while 
the kernel message buffer is something like 8K by default.

Increasing the kernel message buffer will not give you more scrollback.
If you just want to increase the scrollback buffer, set SC_HISTORY_SIZE 
to something obscenely large like 500 (memory penalty for all vtys) or 
alternatively set MSGBUF_SIZE to something like 32K (only eats that much 
more memory) and add the ability to view it inside sysinstall.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002252032.MAA00608>