From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 10 00:40:27 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D36316A518 for ; Fri, 10 Dec 2004 00:40:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C0B243D5F for ; Fri, 10 Dec 2004 00:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBA0eQoA045654 for ; Fri, 10 Dec 2004 00:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBA0eQBB045653; Fri, 10 Dec 2004 00:40:26 GMT (envelope-from gnats) Date: Fri, 10 Dec 2004 00:40:26 GMT Message-Id: <200412100040.iBA0eQBB045653@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Evans 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 Reply-To: Bruce Evans List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 00:40:27 -0000 The following reply was made to PR kern/74786; it has been noted by GNATS. From: Bruce Evans To: Mike Tancsa Cc: freebsd-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: misc/74786: Smartlink Modem causes interrupt storm on RELENG_4 and RELENG_5 Date: Fri, 10 Dec 2004 11:38:57 +1100 (EST) 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