#: 15022 S12/OS9/68000 (OSK)
19-Apr-92 22:19:46
Sb: #15018-serial wierdness
Fm: Carl Kreider 71076,76
To: Steve Wegert 76703,4255 (X)
I will grab the whole thread in a minute when I dl the board, but here is what
I've found....
T1 and t2 can be a bit wierd since the bits connected to the output are not
necessarily set up properly until the port is inized. I noticed the wierd
colors on the tester leds too. But it works ok.
My setup is the 030 running kermit to T0, running sterm (or kermit) to T3, to a
Wyse 50. If you type real slow on the 030 or the Wyse, it works OK. If you go
too fast (which a modem answer might be) it hangs up. It didn't hang the
machine tight, though. I can still look at stuff with /term as a window. What
is happening is that there are chars to be consumed in the inbound buffer but
the signal is gone. This makes it appear to be hung. If you go to the other
device and type one char, it unsticks. It doesn't matter which end you overrun
- it will get hung either typing at the Wyse (t3 gets hung) or at the 030 (t0
gets hung). The really wierd thing is that all these pieces are fine by
themselves. Well, most all. Sterm gets a lot of use all over. The 681 driver
is solid as a rock. It runs daily at up to 38.4 with never a hint of a problem,
kermiting or running sterm or terminals. The 070 driver is less mature, but
the 681 driver still gets hung up with a missing signal if you come in from
that side in this configuration.
So where are we? At this point our results mostly agree. I haven't a clue as
to what is going on. I presume I will figure it out before too long.
BTW, I can get the crash when killing the task on t0 too, but only if there are
chars in the buffer. This may not be a crash, but just a hangup waiting for
the buffer to clear so it can close, which never happens. I would really like
to put a timeout in the close routine so the drive r will only wait a finite
time for the buffer to flush before it gives up. This sort of problem shows up
also when you get an XOFF in the modem and then try to exit any comm prog. It
will hang forever trying to close the port.
Carl
|