Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 1995 18:12:36 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        wilko@yedi.iaf.nl (Wilko Bulte)
Cc:        FreeBSD-hackers@FreeBSD.ORG
Subject:   Re: sio overruns on 2.0.5R
Message-ID:  <199512160742.SAA00211@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199512142147.WAA00880@yedi.iaf.nl> from "Wilko Bulte" at Dec 14, 95 10:47:17 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Wilko Bulte stands accused of saying:
> After I switched to a Asus P55TP4XE 90Mc I see things like
> 
> sio0: 5 more silo overflows (total 7)
> 
> The Asus supposedly has 16550A UARTs, of which I use one. 
> 
> On my previous MB, a 25Mc 486DX
> I used an AST/4 with 16550A chips without a single silo overflow.
> I also have the impression the UUCP datarate is now slower than
> before.
> 
> This is a 14K4 modem BTW, on a 57600 baud line.
> 
> Thoughts?

Hmm.  I'm currently supporting an ISP that's having related problems; we
dropped in a 2.1 kernel to cure their SCSI lockups, and they're currently 
seeing silo overflows leading to sio catatonia.  Their ports are on a 
Boca16 though, and there is some evidence that the card may be overheating,
HOWEVER
 having reduced the receive FIFO trigger threshold from 14 to 8, their
system stays up for around 12 hours, where previously it was lucky to 
manage 2 or 3.

My personal suspicion is still on the Boca card in this case, but they have
swapped to a brand new one with similar results.

>  |   / o / /  _   Wilko Bulte             email: wilko@yedi.iaf.nl

My point in this case is to suggtest that you look at dropping the
receive FIFO trigger level to 8 to begin with : in 
/sys/i386/isa/sio.c, sioattach(), take this fragment :

                    com->hasfifo = TRUE;
                    com->ftl_init = FIFO_TRIGGER_14;
===>                outb(iobase + com_fifo, FIFO_ENABLE | FIFO_TRIGGER_8);
                    com->tx_fifo_size = 16;
                    kdc_sio[unit].kdc_description =
                      "Serial port: National 16550A or compatible";

Insert the marked line, and change _14 to _8 in the line above it, and 
build a new kernel to test this.

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 041-122-496        [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[



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