From owner-freebsd-hardware Tue Mar 28 14:20:10 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 8E8C337B598 for ; Tue, 28 Mar 2000 14:20:01 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (lxpx43.lx.ehu.es [158.227.99.43]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id AAA04118; Wed, 29 Mar 2000 00:19:44 +0200 (MET DST) Message-ID: <38E12FFF.648F3D69@we.lc.ehu.es> Date: Wed, 29 Mar 2000 00:19:43 +0200 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Bruce Evans Cc: freebsd-hardware@FreeBSD.ORG Subject: Re: [fix and RFC] interrupt-level buffer overflows with Xircom PCMCIAmodem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bruce Evans wrote: > > On Sat, 12 Feb 2000, Jose M. Alcaide wrote: > > > the addition of a new kernel configuration option for permitting > > to change RS_IBUFSIZE to any desired value. > > RS_IBUFSIZE doesn't exist in -current. Instead, the buffer is sized to > hold 4 ticks (4.0 / hz seconds) worth of input at the current input speed > (or 128 bytes if that is larger). > Six weeks passed after this issue was discussed in -hardware. I come back because finally I installed 4.0-RELEASE on my laptop, so that I could test the new sio(4) dynamic buffer sizing with the Xircom Realport 56 pccard modem, which has a broken 16550 emulation. At 115200, ibufsize is 512, and the buffer overflows still happen. I experimentally determined that the overflows dissapear when I modify the ibufsize computation, doubling the buffer size (i.e., ibufsize=1024 at 115200). Just FYI, Bruce. Cheers, -- JMA **** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org **** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message