From owner-freebsd-hardware@FreeBSD.ORG Sat Jan 22 13:26:33 2005 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5D716A4CE for ; Sat, 22 Jan 2005 13:26:32 +0000 (GMT) Received: from smtp2.arnet.com.ar (smtp2.arnet.com.ar [200.45.191.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B3F643D4C for ; Sat, 22 Jan 2005 13:26:31 +0000 (GMT) (envelope-from netbsd@contenidosonline.com.ar) Received: (qmail 9013 invoked from network); 22 Jan 2005 13:26:29 -0000 Received: from unknown (HELO host26.200-43-99.telecom.net.ar) (200.43.99.26) by smtp2.arnet.com.ar with SMTP; 22 Jan 2005 13:26:28 -0000 From: Roberto Pereyra To: freebsd-hardware@freebsd.org Date: Sat, 22 Jan 2005 07:29:18 -0300 User-Agent: KMail/1.7 References: <200501191449.13646.netbsd@contenidosonline.com.ar> <20050120171850.Q33587@delplex.bde.org> In-Reply-To: <20050120171850.Q33587@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501220729.18577.netbsd@contenidosonline.com.ar> Subject: Re: kernel: sioxx: silo overflow with 8 ports pci MOXA cards X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 13:26:33 -0000 Thanks Bruce !! Another question: I have another server with a 2 port I must use PUC_FASTINTR and COM_MULTIPORT options with it ? I enable in the kernel the PUC_FASTINTR options but this dmesg continues: My dmesg is: sio4: on puc0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode sio5: on puc0 sio5: type 16550A sio5: unable to activate interrupt in fast mode - using normal mode sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A Thanks again roberto On Thursday 20 January 2005 03:33, Bruce Evans wrote: > On Wed, 19 Jan 2005, Roberto Pereyra wrote: > > I have a 8 port pci Moxa C168U/PCI and use it like ppp server (with > > mgetty and radius support). > > > > The server not works well because I have many "sio overflow" errors. The > > modem drop the link or when the link is active (some minutes later) the > > link don't send packets and drop. > > Large numbers of ports might cause this problem under versions of FreeBSD > newer than FreeBSD-4, due to poor interrupt latency in these versions. > However, "large" is hopefully more than 8. > > > Many times the modems not answer the call. > > > > Can anybody help me ? (excuse my english) > > > > My system is Freebsd 5.2 RELEASE > > > > My kernel is GENERIC plus this: > > > > # Serial (COM) ports > > device sio # 8250, 16[45]50 based serial ports > > options COM_MULTIPORT > > device puc > > COM_MULTIPORT is not needed for puc devices. Using it when it is not > needed (for other devices) just increases interrupt latency and reduces > efficiency. (The driver doesn't handle mixtures of devices (with only some > devices needing it) very well.) > > > My dmesg show: > > > > ioapic0 irqs 0-23 on motherboard > > pcibios: BIOS version 2.10 > > usb0: USB revision 1.0 > > usb1: USB revision 1.0 > > usb2: USB revision 1.0 > > sio4: on puc0 > > sio4: type 16550A > > sio4: unable to activate interrupt in fast mode - using normal mode > > sio5: on puc0 > > sio5: type 16550A > > sio5: unable to activate interrupt in fast mode - using normal mode > > sio6: on puc0 > > sio6: type 16550A > > sio6: unable to activate interrupt in fast mode - using normal mode > > sio7: on puc0 > > sio7: type 16550A > > sio7: unable to activate interrupt in fast mode - using normal mode > > sio8: on puc0 > > sio8: type 16550A > > sio8: unable to activate interrupt in fast mode - using normal mode > > sio9: on puc0 > > sio9: type 16550A > > sio9: unable to activate interrupt in fast mode - using normal mode > > sio10: on puc0 > > sio10: type 16550A > > sio10: unable to activate interrupt in fast mode - using normal mode > > sio11: on puc0 > > sio11: type 16550A > > sio11: unable to activate interrupt in fast mode - using normal mode > > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > > sio0: type 16550A > > sio1 port 0x2f8-0x2ff irq 3 on acpi0 > > sio1: type 16550A > > Try using PUC_FASTINTR to reduce interrupt latency. This may require > juggling irqs so that the puc interrupt is not shared (hopefully not > since apic mode is used). This is not the default because if the > interrupt ends up shared then it may do more than just fail to activate > the interrupt in fast mode as above -- it may break other devices that > want the interrupt in normal mode, depending on whether it is activated > in fast mode first. > > Bryce > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"