[comp.dcom.modems] Problems with UUCP on an SGI box

chk@alias.com (C. Harald Koch) (05/07/91)

I'm trying to get HDB UUCP working on a Silicon Graphics 4Server8 (I believe
this is also called a 4D/80S, but I'm not sure). I'm sure someone else out
there has this working by now; any help would be very much appreciated.

The problem I'm having is this:

1) If uugetty is not running on the modem port, then uucico cannot call out.
It consistently gets 'generic open timeout' errors.

2) If uugetty is running, then uucico can attempt to call out exactly once
during an invocation of uusched; all subsequent attempts fail. I believe the
following is occurring:

	uucico succeeds
	this causes the existing uugetty to exit
	uucico completes call, closing tty
	now *NOBODY* has the tty open, giving us case 1) above.
	uucico tries to open the port again for another call.
	because uucico is attempting the port, uugetty can't open it, and
		so fails.

These last two steps keep repeating until uucico dies. About 10 seconds
after that, uugetty obtains the port and resets everything (This last
information from watching a breakout box).

If I try calling out with cu, similar behaviour occurs; If uugetty is
running, I can call out once.  Then I have to leave the port alone for about
30 seconds before I can use it again. Until I do leave the port alone, I
can't access it.


Using other software (such as PComm, from UseNet) I can consistently use and
re-use the modem whether or not uugetty is running.

Note: I'm trying to access the port using /dev/ttym2; when I use /dev/ttyd2
everything succeeds (of course :-)

cu debugging gives:

| altconn called
| Device Type Direct wanted
| mlock ttym2 succeeded
| timed out
| generic open timeout
| 
| set interface UNIX
| getto ret -1
| Connect failed: CAN'T ACCESS DEVICE
| call cleanup(1)
| call _mode(0)

uucico debugging gives

| /usr/lib/uucp/uucico -x5 -r1 -sgeac
| mchFind called (geac)
| conn(geac)
| Device Type ACU wanted
| mlock ttym2 succeeded
| generic open timeout
| set interface UNIX
| getto ret -1


We have the following configuration. In /etc/inittab:

t10:23:respawn:/usr/lib/uucp/uugetty -t 60 -i telebitin ttym2 hard_19200

In /etc/gettydefs:

hard_19200# B19200 # B19200 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #hard_19200

In /usr/lib/uucp/Devices:

ACU ttym2 - 19200 telebit
Direct ttym2 - 19200 direct

We are using the standard distribution 'telebit' and 'telebitin' from
/usr/lib/uucp/Dialers.


The modem is a Telebit TrailBlazer Plus. It's registers are:

E1 F1 M1 Q9 P V1 W0 X3 Y0 &P0 &T4     Version BA5.01
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=040 S08=002 S09=006
S10=007 S11=070 S12=050 S18=000 S25=005 S38=000
S41=000 S45=000 S47=004 S48=000 S49=000
S50=000 S51:005 S52:002         S54:003 S55:003 S56=017 S57=019 S58:002 S59=000
S60=000 S61=150 S62=003 S63=001 S64=000 S65=000 S66:001 S67=000 S68:002 S69=000
S90=000 S91=000 S92=000 S94=001 S95=000 S96=001
S100=000 S101=000 S102=000 S104=000 S105=001
S110=255 S111=255 S112=001
S121=000 S130=002 S131:001 S255=000


-- 
C. Harald Koch  VE3TLA                Alias Research, Inc., Toronto ON Canada
Internet:    chk@alias.com      chk@gpu.utcs.toronto.edu      chk@chk.mef.org