Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 11:38:57 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-gnats-submit@freebsd.org
Subject:   Re: misc/74786: Smartlink Modem causes interrupt storm onRELENG_4 and RELENG_5
Message-ID:  <20041210112604.T28756@delplex.bde.org>
In-Reply-To: <6.2.0.14.0.20041208105236.05427760@64.7.153.2>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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