From owner-freebsd-mobile Fri Feb 11 9:53:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by builder.freebsd.org (Postfix) with ESMTP id 3F10847CE for ; Fri, 11 Feb 2000 09:52:43 -0800 (PST) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id SAA04627 for ; Fri, 11 Feb 2000 18:52:05 +0100 (MET) Message-ID: <38A44C3D.6B2B39A6@we.lc.ehu.es> Date: Fri, 11 Feb 2000 18:51:57 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org Subject: "interrupt-level buffer overflows" with Xircom RealPort Modem 56 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have just purchased a Xircom RealPort Modem 56 (PCMCIA). I easily got it working as sio1 adding an entry to pccard.conf. However, messages like these appeared on the console while I was testing the modem from user-ppp (term), typing commands such as "AT&V" or "ATI11", which give some lines of output: sio1: 31 more interrupt-level buffer overflows (total 31) sio1: 273 more interrupt-level buffer overflows (total 273) sio1: 437 more interrupt-level buffer overflows (total 710) ... and so on. After reading the sio(4) manpage and briefly examining sio.c, I disabled the FIFO with sio flags 0x20, and the messages went away. However, this modem supposedly has (or emulates) a 16550A, which has a 16-byte FIFO. I also tried sio flags 0x08 (polled output) and 0x08000000 (8-byte FIFO) to no avail. Only disabling the FIFO works, but this could affect performance. The laptop is new, a Dell Inspiron 3700 with a Celeron 433, so that this is not a CPU speed problem. And a PCMCIA Ethernet card works fine, so that this is not a general interrupt processing problem. A final note: I had "AUTO_EOI1" enabled in the kernel, but removing it did not make any effect on the buffer overflows. Any ideas? Is anyone using other similar Xircom modems, and having this same problem? Thanks, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message