From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 10 00:39:01 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C31C016A4CE; Fri, 10 Dec 2004 00:39:01 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1854843D1D; Fri, 10 Dec 2004 00:39:01 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])iBA0cxGx019101; Fri, 10 Dec 2004 11:38:59 +1100 Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) iBA0cvcH019224; Fri, 10 Dec 2004 11:38:58 +1100 Date: Fri, 10 Dec 2004 11:38:57 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Mike Tancsa In-Reply-To: <6.2.0.14.0.20041208105236.05427760@64.7.153.2> Message-ID: <20041210112604.T28756@delplex.bde.org> References: <200412062027.iB6KR1jE096684@www.freebsd.org> <6.2.0.14.0.20041207100615.0335e328@64.7.153.2> <6.2.0.14.0.20041208105236.05427760@64.7.153.2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-bugs@freebsd.org cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/74786: Smartlink Modem causes interrupt storm onRELENG_4 and RELENG_5 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 00:39:01 -0000 On Wed, 8 Dec 2004, Mike Tancsa wrote: > At 02:22 AM 08/12/2004, Bruce Evans wrote: > > >Try this fix. For the uhci-sio conflict, it should avoid problem (1) > >(please try it with the RF_SHAREABLE flag removed so that if this is > .... > >115200 bps provided the UART is buffered and HZ >= 1000. With > >unbuffered UARTs and HZ = 100, only 4800 bos mostly works. Oops. "4800 bos" should be "600 bps" (a 1-byte fifo drained 100 times per second gives at most 100 cps or 1000 bps; 600 gives a safety margin). > > Note, > When removing the RF_SHAREABLE flag from the patch as applied to the > default src code for RELENG_5, the modem is not usable. RELENG_5 stil has a reasonable default for HZ (100) so the maximum cps wth a 16-byte fifo is 16 * 100 * 10 = 16000. I guess you use the default and don't use a 2400 bps modem that would work with a max of 16000. > With RF_SHAREABLE, > all *seems* to work with the modem, but I dont have any real tests, other > than dialing up and doing a fetch of a large file. Lost characters would be reported as silo overflows. Any protocol with error handling would recover from a few OK. Bruce