Skip site navigation (1)Skip section navigation (2)
Date:      22 Jan 1999 06:41:30 +0200
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        "John Saunders" <john.saunders@nlc.net.au>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Kernel PPP tty-level buffer overflows
Message-ID:  <x2n23b3on9.fsf@katiska.clinet.fi>
In-Reply-To: "John Saunders"'s message of 19 Jan 1999 23:40:25 %2B0200
References:  <Pine.LNX.3.95.990120081844.23817C-100000@nhj.nlc.net.au.newsgate.clinet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

"John Saunders" <john.saunders@nlc.net.au> writes:
> Does anybody know how to fix the following.
> 
> > XXX.XXX.XXX.XXX kernel log messages:
> > > 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"

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

> System is...
> 
> FreeBSD XXX.XXX.XXX.XXX 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Sat Jan 16 13:49:15 EST 1999
> root@XXX.XXX.XXX.XXX:/usr/src/sys/compile/MONSTER  i386
> 
> Modem info is...
> Device:		/dev/cuaa0
> dmesg:		sio0 at 0x3f8-0x3ff irq 4 on isa
> dmesg:		sio0: type 16550A
> speed:		115200bps
> carrier:	Jan 20 07:02:47 XXX chat[888]: CARRIER 54000
> 
> Cheers.
> --            +------------------------------------------------------------+
>         .     | 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

-- 
Heikki Suonsivu / Clinet Oy / Tekniikantie 12 / FI-02150 Espoo / FINLAND,
hsu@clinet.fi mobile +358-40-5519679 work +358-9-43542270 fax -4555276

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



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