[comp.mail.uucp] UUCP between Sysv/386 and 3B2/400 problem

kherron@ms.uky.edu (Kenneth Herron) (06/08/91)

I'm having a problem with one site I feed mail to.  I call them from a
6386 running Sysv/386 3.2.0 with a big fancy telebit dumbed down to 2400 
baud with no flow control; they answer from a 3B2/400--don't know what
version of Sysv they're running--with a simple hayes compatible type.  
The login, uucico startup, and protocol exchange go without incident.  
But then one of two things happen:

1) If my side (master) has nothing to send, the remote uucico dies with
   a signal 2 right after deciding on a protocol.  My side starts alarming
   the new uugetty on their side (their modem isn't quite set up properly).

2) If my side has files to send, they get queued up, but the remote uucico
   fails to send the proper response at one point.  My side starts alarming,
   with the other side sending some short response to each alarm.  The
   remote uucico doesn't die until the call ends, but they still don't
   exchange anything.


The remote side's log file after (1) just looks like this:

uucp tuccia  (6/7-14:55:21,19758,0) OK (startup)
uucp tuccia  (6/7-14:55:21,19758,0) CAUGHT (SIGNAL 2)
uucp tuccia  (6/7-14:57:32,19774,0) OK (startup)
uucp tuccia  (6/7-14:57:32,19774,0) CAUGHT (SIGNAL 2)

The log entries for (2) are similarly unhelpful.

My site calls several other sites with flawless behavior.  Their site
connects to a local 3B2/300 flawlessly.

The rest of this post are some audit traces from various connections.  If
anyone has any ideas, I'd like to hear them.


===Remote side's log from an attempt when I had files to send:

sys-tuccia
logFind called (name: nuucp, rmtname: tuccia)
validateFind (tuccia) FAIL
list (rmail) num = 1
list (/usr/spool/uucp) num = 1
list (/) num = 1
list (ALL) num = 1
_Request (TRUE), _Switch (TRUE), _CallBack (FALSE), _MyName (), return from callcheck:PFALSEomsg "ROK"
chdir(/usr/spool/uucp/tuccia)
 Rmtname tuccia, Role SLAVE,  Ifn - 0, Loginuser - nuucp
wmesg 'P'ge
omsg "Pge"
rmesg - 'U' imsg >^PUg^@got Ug
state - [INIT code a] (1)
state - [INIT code a]&[INIT code b] (3)
state - [O.K.] (10)
Proto started g
*** TOP ***  -  role=0, setline - X
rmesg - 'alarm 2
alarm 3
alarm 4
alarm 5
alarm 6
ret restline - 0
exit code 1
Conversation Complete: Status FAILED

===Another remote-side log when I had files to send, at x9 this time

TM_cnt: 0
sys-tuccia
logFind called (name: nuucp, rmtname: tuccia)
validateFind (tuccia) FAIL
list (rmail) num = 1
list (/u.m>kk-__,|jPnum = 1
list (/) num = 1
list (ALL) num = 1
_Request (TRUE), _Switch (TRUE), _CallBack (FALSE), _MyName (), return from callcheck: FALSEomsg "ROK"
chdir(/usr/spool/uucp/tuccia)
 Rmtname tuccia, Role SLAVE,  Ifn - 0, Loginuser - nuucp
wmesg 'P'ge
omsg "Pge"
rmesg - 'U' imsg >^PUg^@got Ug
send 73
pkgetpack: Connodata=1
rk4zK_cntl 77
send 61
state - [INIT code a] (1)
pkgetpack: Connodata=2
rec h->cntl 77
send 61
state - [INIT code a] (1)
alarm 1
send 61
pkgetpack: Connodata=3
rec h->cntl 77
send 61
state - [INIT code a] (1)
pkgetpack: Connodata=4
rec h->cntl 77
send 61
state - [INIT code a] (1)
alarm 2
send 61
pkgetpack: Connodata=5
rec h->cntl 77
send 61
state - [INIT code a] (1)
alarm 3
[alarms 4-7 deleted]
send 61
pkgetpack: Connodata=10
rec h->cntl 77
send 61
state - [INIT code a] (1)
alarm 8
send 6ycpkgetpack: Connodata=11
rec h->cntl 77
send 61
state - [INIT code a] (1)
alarm 9
send 61
pkgetpack: Connodata=12
rec h->cntl 77
send 61
state - [INIT code a] (1)
ret restline - 0
exit code 1
Conversation Complete: Status FAILED
[I forced a disconnect at this point]

====A connection when I didn't have anything to send

sys-tuccia
logFind called (name: nuucp, rmtname: tuccia)
validateFind (tuccia) FAIL
return from callcheck: FALSE Rmtname tuccia, Role SLAVE,  Ifn - 0, Loginuser - nuucp
wmesg 'P'ge
rmesg - 'U' got Ug
Proto started g
*** TOP ***  -  role=0, setline - X
rmesg - 'exit code 2
Conversation Complete: Status FAILED

====Another connection when I had nothing to end.  x9 this time.

sys-tuccia
logFind called (name: nuucp, rmtname: tuccia)
validateFind (tuccia) FAIL
list (rmail) num = 1
list (/usr/spool/uucp) num = 1
list (/) num = 1
list (ALL) num = 1
_Request (TRUE), _Switch (TRUE), _CallBack (FALSE), _MyName (), return from callcheck: FALSEomsg "ROK"
chdir(/usr/spool/uucp/tuccia)
 Rmtname tuccia, Role SLAVE,  Ifn - 0, Loginuser - nuucp
wmesg 'P'ge
omsg "Pge"
rmesg - 'U' imsg >^PUg@got Ug
send 73
pkgetpack: Connodata=1
rec h->cntl 77
send 61
state - [INIT code a] (1)
pkgetpack: Connodata=2
rec h->cntl 61
send 53
state - [INIT code a]&[INIT code b] (3)
pkgetpack: Connodata=3
rec h->cntl 57
state - [O.K.] (10)
Proto started g
*** TOP ***  -  role=0, setline - X
rmesg - 'exit code 2
Conversation Complete: Status FAILED
[Like I said, the log records "CAUGHT SIGNAL 2" at this point]



====My side, a connection when I had no files to send, at x9
mchFind called (acppkv)
list (rmail) num = 1
name (acppkv) not found; return FAIL
list (rmail) num = 1
list (/usr/spool) num = 1
list (/usr/spool) num = 1
list (/bin/rmail) list (/usr/bin/rnews) list (uucp) num = 3
_Request (TRUE), _Switch (TRUE), _CallBack (FALSE), _MyName (), _Commands /bin/rmail
_Commands /usr/bin/rnews
_Commands uucp
chdir(/usr/spool/uucp/acppkv)
conn(acppkv)
Device Type UUCP.2400 wanted
mlock tty00 succeeded
opening with O_NDELAY set
clear O_NDELAY
filelock: ok
fixline(6, 9600)
processdev: calling setdevcfg(uucico, UUCP.2400)
gdial(Tbit1k_2400) called
expect: ("")
got it
sendthem ()
CLOCAL set
PAUSE
<NO CR>AT~&F~S63=1^M)
[dialing script deleted]
sendthem (ECHO CHECK OFF
)
CLOCAL clear
^M)
getto ret 6
expect: ("")
got it
sendthem (PAUSE
<NO CR>^M)
expect: (in:)
 2400^M^J^M^JACPPKV login:got it
[login/password deleted :-)]
imsg >^M^JUNIX System V Release 3.1 AT&T 3B2^M^Jacppkv^M^JCopyright (c) 1984 AT&T^M^JAll Rights Reserved^M^J^PShere=acppkv^@Login Successful: System=acppkv
omsg "Stuccia -Q0 -x9"
imsg >^PROK^@msg-ROK
 Rmtname acppkv, Role MASTER,  Ifn - 6, Loginuser - root
rmesg - 'P' imsg >^PPge^@got Pge
wmesg 'U'g
omsg "Ug"
send 77
pkgetpack: Connodata=1
rec h->cntl 73
send 61
state - [INIT code a] (1)
pkgetpack: Connodata=2
rec h->cntl 61
send 57
state - [INIT code a]&[INIT code b] (3)
pkgetpack: Connodata=3
rec h->cntl 53
state - [O.K.] (10)
Proto started g
*** TOP ***  -  role=1, setline - X
gtwvec: dir /usr/spool/uucp/acppkv
wmesg 'H'
send 37777777610
rmesg - 'H' alarm 1
send 37777777610
alarm 2
send 37777777610
[alarms 3-7 deleted]
alarm 8
send 37777777610
alarm 9
send 37777777610
exit code 15
Conversation Complete: Status FAILED
-- 
Kenneth Herron                                            kherron@ms.uky.edu
University of Kentucky                                       +1 606 257 2975
Department of Mathematics       "So this won't be a total loss, can you make
         it so guys get to throw their mothers-in-law in?"  "Sure, why not?"