From owner-freebsd-current@FreeBSD.ORG Mon May 3 00:42:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A940816A4CE for ; Mon, 3 May 2004 00:42:48 -0700 (PDT) Received: from Reineke.Malepartus.de (reineke.malepartus.de [194.25.4.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C348943D53 for ; Mon, 3 May 2004 00:42:45 -0700 (PDT) (envelope-from bm@Reineke.Malepartus.de) Received: from Reineke.Malepartus.de (localhost [127.0.0.1]) i437ghXs001749; Mon, 3 May 2004 09:42:43 +0200 (CEST) (envelope-from bm@Reineke.Malepartus.de) Received: (from bm@localhost) by Reineke.Malepartus.de (8.12.11/8.12.11/Submit) id i437gadk001748; Mon, 3 May 2004 09:42:36 +0200 (CEST) (envelope-from bm) Date: Mon, 3 May 2004 09:42:36 +0200 From: Burkard Meyendriesch To: Bruce Evans Message-Id: <20040503094236.6b7dc4a5.bm@malepartus.de> In-Reply-To: <20040503145149.R3992@gamplex.bde.org> References: <20040426111754.38a855c4.bm@malepartus.de> <20040426233925.Y5300@gamplex.bde.org> <20040430102504.477152ce.bm@malepartus.de> <20040501102705.7a7ec726.bm@malepartus.de> <20040501212314.N20783@gamplex.bde.org> <20040502195219.21874618.bm@malepartus.de> <20040503145149.R3992@gamplex.bde.org> Organization: The Home of Reineke Fuchs X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; amd64-portbld-freebsd5.2) X-Face: "[-; ]oI+8gP9>*J%knDN8d%DuhvJS2Lj4L\bRb7gz(pcT?2Zh6_Vam_6csAum3$<&lhAFd^ jt|!&Ut1C~Vg*E/q}+#cbFg-GU]c.bB8Ad,L'W$'9{^0y'AzM4#hS[C[F-1'|O; Kg3Vrq5q6dsU*TmJ@}+QPM\ b[^9Rhd,UoMpRpd5k[X=h.Dom*kbT`cNQ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: atkin901@yahoo.com Subject: Re: sio: lots of silo overflows on Asus K8V with Moxa Smartio C104H/PCI solved X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 07:42:48 -0000 On Mon, 3 May 2004 15:00:15 +1000 (EST) Bruce Evans wrote: > On Sun, 2 May 2004, Burkard Meyendriesch wrote: > > > On Sat, 1 May 2004 21:41:27 +1000 (EST) Bruce Evans wrote: > > > ... > > > %%% > > > Index: sio.c > > > ================================================================= > > > == RCS file: /home/ncvs/src/sys/dev/sio/sio.c,v > > > retrieving revision 1.428 > > > diff -u -2 -r1.428 sio.c > > > --- sio.c 30 Apr 2004 21:16:52 -0000 1.428 > > > +++ sio.c 1 May 2004 11:29:44 -0000 > > > @@ -1164,5 +1302,6 @@ > > > if (ret) { > > > ret = BUS_SETUP_INTR(device_get_parent(dev), dev, > > > - com->irqres, INTR_TYPE_TTY, > > > + com->irqres, > > > + INTR_TYPE_CLOCK | INTR_MPSAFE, > > > siointr, com, &com->cookie); > > > if (ret == 0) > > > %%% > ... > > You need to turn PUC_FASTINTR back off to test the patch. > I disabled "options PUC_FASTINTR" in my kernel configuration file and made a new kernel. The actual boot message is: May 3 09:18:59 Reineke kernel: puc0: port 0xa000-0xa00f,0xa400-0xa43f,0xa800-0xa87f irq 19 at device 14.0 on pci0 May 3 09:18:59 Reineke kernel: puc0: Reserved 0x40 bytes for rid 0x18 type 4 at 0xa400 May 3 09:18:59 Reineke kernel: sio4: on puc0 May 3 09:18:59 Reineke kernel: sio4: type 16550A May 3 09:18:59 Reineke kernel: sio4: unable to activate interrupt in fast mode - using normal mode Doing my sio5 Palm backup test now I again get lots of silo overflows; the input rate is in a range from 100 to 10000 chars/s and the puc interrupt rate behaves similar: from 12 to 1200 ints/s. After several minutes the Palm backup software gives up due to protocol errors (maybe as a result of massive character losses). If your patch only becomes effective without "options PUC_FASTINTR" it does not seem to solve the sio interrupt problem in my environment. Burkard -- Burkard Meyendriesch Stevern 2 D-48301 Nottuln