From owner-freebsd-stable Fri Sep 15 21:38:25 2000 Delivered-To: freebsd-stable@freebsd.org Received: from campbell.cwx.net (Campbell.cwx.net [216.17.176.12]) by hub.freebsd.org (Postfix) with ESMTP id 36F0A37B424 for ; Fri, 15 Sep 2000 21:38:19 -0700 (PDT) Received: from verinet.com (pragma. [192.168.1.2]) by campbell.cwx.net (8.9.3/8.9.3) with ESMTP id WAA49010; Fri, 15 Sep 2000 22:38:19 -0600 (MDT) (envelope-from allenc@verinet.com) Message-ID: <39C2F93B.7275FD7B@verinet.com> Date: Fri, 15 Sep 2000 22:38:19 -0600 From: Allen Campbell X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: Joseph Jacobson Cc: freebsd-stable@FreeBSD.ORG Subject: Re: silo overflow References: <200009160007.e8G078n02639@home.my.domain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joseph Jacobson wrote: > > Just got this error, doing a 'make fetch' over ppp, while running mpg123. > Kernel config can be provided if needed. > > sio0: 1 more silo overflow (total 1) > sio0: 1 more silo overflow (total 2) > sio0: 1 more silo overflow (total 3) > sio0: 1 more silo overflow (total 4) > sio0: 1 more silo overflow (total 5) > sio0: 1 more silo overflow (total 6) This is a frequently reported problem. It is, for the most part, harmless. You will find an abundance of history by searching the mail archives. Apparently some recent changes involving 'fast' interrupt handling will cause FreeBSD to neglect a serial port for a bit too long, and incoming data isn't read from the device before it is lost. The following patch seems to help. It lowers the fifo threshold a bit causing more frequent reads from the device. It also increases interrupt frequency which, to some, seems rather tragic. I've never felt any pain as a result of 'too many' interrupts from a serial port, but I like not getting the silo overflows. This hack isn't Right(tm), but it does work. --- sio.c.orig Wed Aug 16 09:29:34 2000 +++ sio.c Fri Sep 1 14:53:47 2000 @@ -2345,7 +2345,7 @@ * latencies are larger. */ com->fifo_image = t->c_ospeed <= 4800 - ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_HIGH; + ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_MEDH; #ifdef COM_ESP /* * The Hayes ESP card needs the fifo DMA mode bit set No promises about whether this patch will apply to your version of src/sys/isa/sio.c. I usually just change the one line by hand. -- Allen Campbell | Lurking at the bottom of the allenc@verinet.com | gravity well, getting old. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message