Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 16:05:47 -0600
From:      "Jeffrey J. Mountin" <jeff-ml@mountin.net>
To:        Mike Smith <msmith@FreeBSD.ORG>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern init_main.c 
Message-ID:  <3.0.3.32.20000225160547.00a26eb0@207.227.119.2>
In-Reply-To: <200002252032.MAA00608@mass.cdrom.com>
References:  <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
At 12:32 PM 2/25/00 -0800, Mike Smith wrote:
>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.

The syscons buffer is 100 lines (ROW * 4 and ROW = 25) according to
sys/dev/syscons/(schistory.c|syscons.h).

>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.

The kernel message does not show everying that the scrollback will either.
Like what happens beforehand.

IMO, the buffer should be increased for both the install and as a default.
With -stable it has been of sufficent size, but with 4.0 I need to increase
the value so that I could scroll back and view the *entire* output.

Bumping the SC_HISTORY_SIZE to 200 would be sufficent.  Maybe 250 for
GENERIC, but I haven't tried this.  MSGBUF_SIZE appears fine, but doubling
it wouldn't hurt.

my .02


Jeff Mountin - jeff@mountin.net
Systems/Network Administrator
FreeBSD - the power to serve



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?3.0.3.32.20000225160547.00a26eb0>