Date: Tue, 20 Feb 1996 01:39:55 GMT From: Christian ChaPel <chris@awawak.gna.org> To: bde@zeta.org.au Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: problems with serials ports Message-ID: <199602200139.BAA02325@awawak.gna.org> In-Reply-To: <199602161811.FAA23843@godzilla.zeta.org.au> (message from Bruce Evans on Sat, 17 Feb 1996 05:11:49 %2B1100)
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> "Bruce" == Bruce Evans <bde@zeta.org.au> writes: >> I have problems with my serials ports. My hardware is an ASUS >> P/I-P55TP4XE(2.4 Rev) with an on-board 'Multi-I/O' using the >> UMC 8669F Super multi-I/O chip (16550 Fast UART compatible), >> and P120, 24Mo, NCR810. >> When I'm using uucp, the chat connexion is well, but the >> transfert is very slow (200bps) and it fail. I try 2.0.5R, >> 2.1.0R, 2.2-960130-SNAP, it's the same thing. I try the second >> serial port at address COM2, COM4 without any more success Bruce> I have the same motherboard and the same problems in Bruce> -current. The chat connection often fails too. This seems Bruce> to be a hardware bug. The bytes received in siointr1() Bruce> when /etc/rc is sent are: <skip> Bruce> Most of the garbage bytes have their high bit set. Perhaps Bruce> the start or stop bits are getting mixed with the data Bruce> bits. >> I try 'ppp' and it works well. Bruce> zmodem seems to work well too. This might be because the Bruce> receiver does less output for acks. >> I try uucp with the same machine on Linux, it works well. Bruce> This is surprising. The Linux serial interrupt handler is Bruce> very similar. ... Bruce> Bruce I got this message on news : ) From: peter@citylink.dinoex.sub.org (System Administration) ) Subject: Taylor-UUCP not running with 16550 SIO (UMC Custom Chip) ) Newsgroups: comp.unix.bsd.freebsd.misc,comp.mail.uucp ) Date: Mon, 12 Feb 1996 21:56:02 GMT ) Organization: Buero fuer Sektenforschung und Qualitaetspruefung in der Esoterik ) Content-Type: text/plain; charset=ISO-8859-1 ) MIME-Version: 1.0 ) Content-Transfer-Encoding: 8bit ) Message-ID: <DMonLF.Ctq@citylink.dinoex.sub.org> ) Lines: 27 ) ) ) Hi, ) ) there was great trouble getting UUCP to work with with these new control- ) ler-embedded 16550-FIFO-SIOs. It did work as usual until the line "handshake ) successful", and then was not able to receive one single block of data with- ) out error, until after about 10 Minutes it reports: 0 bytes transferred, 0 ) bps. This is baudrate-independent, it happens with 300 baud as with 57600 ) baud. With g-proto, uucico can send, but won't receive anything. ) ) Operating System is FreeBSD-2.1, and everything else does work on that SIOs ) (Xmodem, Zmodem, PPP). UUCP does work with the OS and the configuration, ) if one puts an additional, usual SIO add-on-card into the machine (no matter ) if 8250 or 16550). ) ) When i got angry about that, i started to change values in the uucp-source. ) I succeded in libunix/serial.c by disactivating the "setmin" code (it ) says: "if we can tell the terminal not to return after we have a certain ) number of characters, do so."). uucico consumes some more CPU power now, ) but runs with good performance. ) ) Explanations, anybody? ) ) Peter ) -- ) Write to: Peter Much * Koelnische Str. 22 * D-34117 Kassel * +49-561-774961 ) peter@citylink.dinoex.sub.org * much@hrz.uni-kassel.de ) I comment lines in src/gnu/libexec/uucp/libunix/serial.c (lines 2163-2212) and I have compiled uucico. UUCP works well now with the on-board serials ports. But I tell so do you have explanations... I thinks this help anybody else. Best Regards -- ------------------------------------------------------------------------------ christian ChaPel | | ////// | | Email: chris@awawak.gna.org Paris FRANCE | | ( O O ) | | Phone: +33.1 40 38 38 29 | | o0Oo ^ o0Oo | | -FreeBSD 2.1.0-RELEASE---"Ce n'etait ni vrai ni faux, mais vecu" A. Malraux---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602200139.BAA02325>