Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 1996 05:11:49 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        chris@awawak.gna.org, freebsd-bugs@FreeBSD.org
Subject:   Re: problems with serials ports
Message-ID:  <199602161811.FAA23843@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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 

I have the same motherboard and the same problems in -current.  The chat
connection often fails too.  This seems to be a hardware bug.  The bytes
received in siointr1() when /etc/rc is sent are:

00000000  0D 75 75 63 70 0D 55 55 61 6C 70 68 70 6C 65 78  .uucp.UUalphplex
00000010  0D 10 53 62 65 73 70 6C 65 78 20 2D 52 20 2D 4E  ..Sbesplex -R -N
00000020  30 37 00 10 55 69 00 07 00 00 30 04 34 0F FF 07  07..Ui....0.4.ÿ.
00000030  07 E9 65 07 3C 07 09 00 10 2A 33 53 20 2F 65 74  .ée.<....*3S /et
00000040  63 2F 72 63 20 7E 20 62 64 65 20 2D 43 64 20 44  c/rc ~ bde -Cd D
00000050  2E 30 30 30 41 20 30 36 34 34 20 22 22 20 30 78  .000A 0644 "" 0x
00000060  31 65 34 32 00 EE 21 15 12 07 10 00 90 04 84 00  1e42.î!.........
00000070  00 00 00 DE BB 20 E3 07 19 00 1F FF F9 23 21 2F  ...Þ» ã....ÿù#!/
00000080  62 69 6E 2F 73 68 0A 23 09 24 49 64 3A 20 72 63  bin/sh.#.$Id: rc
00000090  2C 76 20 31 2E 38 34 20 31 39 39 36 2F 30 32 2F  ,v 1.84 1996/02/
000000A0  30 39 20 31 32 3A 32 30 3A 33 37 20 6A 6B 68 20  09 12:20:37 jkh 
000000B0  45 78 70 20 24 0A 23 09 46 72 6F 6D 3A 20 40 28  Exp $.#.From: @(
000000C0  23 29 72 63 09 35 2E 32 37 20 28 42 65 72 6B D3  #)rc.5.27 (BerkÓ
                                                     beginning of garbage ^
000000D0  A9 7A CA 8A 52 52 1A 02 9A E5 CD D1 95 B5 81 CD  ©zÊ.RR...åÍÑ.µ.Í
000000E0  D1 85 C9 D1 D5 C1 81 CD 8D C9 A5 C1 D1 81 C9 D5  Ñ.ÉÑÕÁ.Í.É¥ÁÑ.ÉÕ
000000F0  B9 81 89 E5 81 A5 B9 A5 D1 81 BD B9 81 85 D5 D1  ¹..å.¥¹¥Ñ.½¹..ÕÑ
...                                                       end of garbage v
00001070  B5 95 91 99 B1 2D 78 0F CF 07 21 08 1E 43 74 61  µ...±-x.Ï.!..Cta
00001080  67 73 20 3D 3D 20 4E 4F 2C 20 74 69 6D 65 64 20  gs == NO, timed 
00001090  69 73 6E 27 74 20 72 75 6E 2E 0A 69 66 20 5B 20  isn't run..if [ 

Most of the garbage bytes have their high bit set.  Perhaps the start or
stop bits are getting mixed with the data bits.

>I try 'ppp' and it works well.

zmodem seems to work well too.  This might be because the receiver does
less output for acks.

>I try uucp with the same machine on Linux, it works well.

This is surprising.  The Linux serial interrupt handler is very similar.

I also have problems with the floppy controller.  It interrupts early.
FreeBSD sort of recovers from this by busy-waiting until the controller
is really ready, and resetting and retrying when the busy wait times out.
-current prints messages like the following:

Feb 15 22:14:13 alphplex /kernel: isa_dmastart: channel 2 busy
Feb 15 22:14:32 alphplex last message repeated 3 times
Feb 15 22:14:32 alphplex /kernel: fd1: hard error reading fsbn 1620 of 1600-1631 (No status)
Feb 15 22:14:32 alphplex /kernel: isa_dmastart: channel 2 busy
Feb 15 22:14:32 alphplex /kernel: fdc0: ready for output in input
Feb 15 22:14:33 alphplex /kernel: isa_dmastart: channel 2 busy
Feb 15 22:14:38 alphplex /kernel: isa_dmastart: channel 2 busy

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602161811.FAA23843>