From owner-freebsd-stable@FreeBSD.ORG Tue May 23 09:55:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB50C16A448 for ; Tue, 23 May 2006 09:55:02 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE3043D73 for ; Tue, 23 May 2006 09:54:59 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp213-221.lns1.adl2.internode.on.net [203.122.213.221]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4N9rMSf060362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 May 2006 19:23:30 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Holger Kipp Date: Tue, 23 May 2006 19:23:20 +0930 User-Agent: KMail/1.9.1 References: <200605131413.17020.doconnor@gsoft.com.au> <20060513123030.GA32024@intserv.int1.b.intern> In-Reply-To: <20060513123030.GA32024@intserv.int1.b.intern> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1265806.4Xj8lvYIO8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605231923.21263.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: Odd RS232 problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 09:55:02 -0000 --nextPart1265806.4Xj8lvYIO8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 13 May 2006 22:00, Holger Kipp wrote: > First, make sure you have a dedicated IRQ for the card. > Then, add options PUC_FASTINTR to your kernel config. This is impossible :( I can't change what the BIOS does, and rearranging the cards is not possibl= e=20 remotely :) I would hope that 9600 baud wouldn't be *too* fast for a 2GHz CPU :( > If you encounter silo overflows, you might need to increase > cp4ticks in sio.c, eg > - cp4ticks =3D speed / 10 / hz * 4; > + cp4ticks =3D speed / 10 / hz * 40; > and/or you might want to change hz from 1000 back to 100. OK, I'll try it. > Have you looked at the port speed and if it is changing or > has different speeds on both ends? The card together with > the modems were really trying very hard to get the data to > the other side, and were very good at it, especially with > smaller chunks (necessary for dialing and authentication). > Problems then started with real traffic going over the line - > and we didn't get any errors in messages... It is a fixed speed device so I don't think this is the problem. > My impression is that serial io irq-handling on 6.x needs > some improvement (personal feeling: it is much worse then > on 4.x). Yes, I think the interrupt latency in 6.x is much higher. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1265806.4Xj8lvYIO8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEctuR5ZPcIHs/zowRAgogAKCHXqFwcNu5WO/N+IJ3WBrLDv3lwwCfXJh0 DjpXWDXnYshwSmYbEDkjF5s= =+JUv -----END PGP SIGNATURE----- --nextPart1265806.4Xj8lvYIO8--