From owner-freebsd-stable@FreeBSD.ORG Sat May 13 04:43:27 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 A3AA816A403 for ; Sat, 13 May 2006 04:43:27 +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 C986C43D53 for ; Sat, 13 May 2006 04:43:26 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp223-61.lns2.adl4.internode.on.net [203.122.223.61]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4D4hLgS054277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 May 2006 14:13:22 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Sat, 13 May 2006 14:13:08 +0930 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4518799.q9uSsS8TSe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605131413.17020.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Subject: 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: Sat, 13 May 2006 04:43:27 -0000 --nextPart4518799.q9uSsS8TSe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to talk to a high voltage power supply unit we're using at work, it uses RS232 and you can read back current, voltage, faults, etc.. What I have seems to work fine except that occassionally I get junk read ba= ck, strangely it appears the longer my program runs the more often I see corru= pt data. The program is written in Tcl and I'm using version 8.4, I have a test PC h= ere which is quite old (FreeBSD 4.mumble, Tcl 8.2) and it never sees any problems. I = am soon going to try an identical system to the one failing (6.0-STABLE) It's possible it could be the Tcl interpreter getting corrupted but IMO it'= s a very odd manifestation if so.. The serial card in it is.. puc0: port 0x9400-0x941f irq 18 at device 13.0 o= n pci0 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 So, apart from the actual program code everything else is different :) (Hopefully my next test will reduce the variable space a lot..) Any sugestions most welcome. =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 --nextPart4518799.q9uSsS8TSe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEZWPk5ZPcIHs/zowRAvwFAJ9MtFJ3w8Cx9PqyhN0/6C7oqOpSVACcDjlP sJ7uh3Kdvf9nckPRK0RB38w= =adxx -----END PGP SIGNATURE----- --nextPart4518799.q9uSsS8TSe--