(fwd) Re: Kernel PPP tty-level buffer overflows

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Tue, 26 Jan 1999 00:48:23 +0200 (EET)

-- forwarded message --
Path: freeland.alex-ua.com!news.alexradio.kiev.ua!not-for-mail
From: "John Saunders" <john.saunders@nlc.net.au>
Date: Mon, 25 Jan 1999 15:20:12 +1100 (EST)
To: Heikki Suonsivu <hsu@clinet.fi>
Subject: Re: Kernel PPP tty-level buffer overflows
Message-ID: <Pine.LNX.3.95.990125151659.5992B-100000@nhj.nlc.net.au>
Newsgroups: alex.gated.freebsd.stable
Lines: 32
Xref: freeland.alex-ua.com alex.gated.freebsd.stable:1986

On 22 Jan 1999, Heikki Suonsivu wrote:

> > > > sio0: 815 more tty-level buffer overflows (total 4715)
> > > > sio0: 3093 more tty-level buffer overflows (total 7808)
>
> You need to configure your kernel with
>
> options "TTYHOG=4096"
> options "RS_IBUFSIZE=1024"

Done, although I doubled the numbers just to be sure. No errors since I
rebooted to the new kernel. Thanks for the tip, works well.

> and you need to patch sio.c to allow overriding RS_IBUFSIZE, as it is
> hardcoded (cyclades driver has the same problem, I think).

I've been running a cyclades 16Ye with all ports at 115200 (with 33.6K
modems though) on another machine and haven't had the problem. Although
this other machine has more than twice the CPU power.

Thanks.
-- +------------------------------------------------------------+
. | John Saunders - mailto:john@nlc.net.au (EMail) |
,--_|\ | - http://www.nlc.net.au/ (WWW) |
/ Oz \ | - 02-9489-4932 or 041-822-3814 (Phone) |
\_,--\_/ | NHJ NORTHLINK COMMUNICATIONS - Supplying a professional, |
v | and above all friendly, internet connection service. |
+------------------------------------------------------------+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
-- end of forwarded message --

-- 
С тем, что не помешает никогда,
                                               Kittle