From: udo@umunk.GUN.de (Udo Munk)
Newsgroups: comp.os.coherent
Subject: Re: uucico woes
Date: 29 Aug 92 23:22:45 GMT
Organization: umunk (private)
X-Newsreader: Tin 1.1 PL4

tbuck@teal.csn.org (Timothy E. Buchanan) writes:
: I've written before about uucico problems with C386 on my bitty 
: box. What drives me crazy is the Heisenburg nature of the bug; 
: yesterday it worked fine, sending mail, receiving files, today back 
: to calling, then hanging. And I didn't do anything in the meantime 
: (I know this is a cliche).
:  
: Here's an excerpt from a debug file-
:  
[ all fine until here ]
: SIGALRM received     #What is this?????

Hm, this really shouldn't happen, but I don't know why I gets an
alarm signal.

: 08/22 08:49:46 [csn]: Modem says     Annex Command Line Interpreter \
: *   Copyright 1991 Xylogics, Inc.  

And this looks like a false setting of the modems result codes either in
/usr/bin/modeminit or /etc/modemcap.

: Udo Monk suggested I use com4fr and also asked if I have a 16550AFN 
: chip (yes to that). When I place com4fr in /etc/ttys and run kill 
: quit 1 I get an unable to create device. Also, com4r was being used 
: successfully ytdy.

Is the file /dev/com4fr with the permission 666 available on your system?

: I don't understand why com's are used in /ttys /modemcap /L-devices 
: when C386 uses the asy drivers. At any rate, I reran asypatch, w/ 
: 19200 baud set in default/async and choosing lrif in the options 
: for ASY03. No joy there either.

The name of the devices is com, but Coherent 4.0 comes with the asy
driver, which is able to support up to 32 serial lines on several
I/O boards. Coherent 3.x comes with separate drivers for com1-com4
and some multi channel serial boards. Please note: the name of
the driver is asy, but it uses character special files with the
name comXXX from the directory /dev to access the lines.

: Are com's just links to asy's in C386? bob@mwc.com suggested I run 
: mknod on the com devices. I know the major number for com4 should 
: be 5 but what should I use for the minor number. Why can't I cp 
: these files to another dir? How can this work sometimes but fail 
: another?

Here is ls -la of all my com-devices from directory dev:

crw-rw-rw-  1 bin        bin          5 160 Fri Jul 10 02:11 /dev/com1fl
crw-rw-rw-  1 bin        bin          5 224 Fri Jul 10 02:11 /dev/com1fpl
crw-rw-rw-  1 bin        bin          5  96 Fri Jul 10 02:11 /dev/com1fpr
crw-rw-rw-  1 bin        bin          5  32 Fri Jul 10 02:11 /dev/com1fr
crw-rw-rw-  1 bin        bin          5 128 Fri Jul 10 02:11 /dev/com1l
crw-rw-rw-  1 bin        bin          5 192 Fri Jul 10 02:11 /dev/com1pl
crw-rw-rw-  1 bin        bin          5  64 Fri Jul 10 02:11 /dev/com1pr
crw-rw-rw-  1 bin        bin          5   0 Fri Jul 10 02:11 /dev/com1r
crw-rw-rw-  1 bin        bin          5 161 Fri Jul 10 02:11 /dev/com2fl
crw-rw-rw-  1 bin        bin          5 225 Fri Jul 10 02:11 /dev/com2fpl
crw-rw-rw-  1 bin        bin          5  97 Fri Jul 10 02:11 /dev/com2fpr
crw-rw-rw-  1 bin        bin          5  33 Fri Jul 10 02:11 /dev/com2fr
crw-rw-rw-  2 bin        bin          5 129 Sat Aug 29 19:01 /dev/com2l
crw-rw-rw-  1 bin        bin          5 193 Fri Jul 10 02:11 /dev/com2pl
crw-rw-rw-  1 bin        bin          5  65 Fri Jul 10 02:11 /dev/com2pr
crwx------  1 root       root         5   1 Sat Aug 29 18:32 /dev/com2r
crw-rw-rw-  1 bin        bin          5 162 Fri Jul 10 02:12 /dev/com3fl
crw-rw-rw-  1 bin        bin          5 226 Fri Jul 10 02:12 /dev/com3fpl
crw-rw-rw-  1 bin        bin          5  98 Fri Jul 10 02:12 /dev/com3fpr
crw-rw-rw-  1 bin        bin          5  34 Fri Jul 10 02:12 /dev/com3fr
crwx------  1 udo        user         5 130 Sat Aug 29 19:52 /dev/com3l
crw-rw-rw-  1 bin        bin          5 194 Fri Jul 10 02:12 /dev/com3pl
crw-rw-rw-  1 bin        bin          5  66 Fri Jul 10 02:12 /dev/com3pr
crw-rw-rw-  1 bin        bin          5   2 Fri Jul 10 02:12 /dev/com3r
crw-rw-rw-  1 bin        bin          5 163 Fri Jul 10 02:12 /dev/com4fl
crw-rw-rw-  1 bin        bin          5 227 Fri Jul 10 02:12 /dev/com4fpl
crw-rw-rw-  1 bin        bin          5  99 Fri Jul 10 02:12 /dev/com4fpr
crw-rw-rw-  1 bin        bin          5  35 Fri Jul 10 02:12 /dev/com4fr
crw-rw-rw-  1 bin        bin          5 131 Fri Jul 10 02:12 /dev/com4l
crw-rw-rw-  1 bin        bin          5 195 Fri Jul 10 02:12 /dev/com4pl
crw-rw-rw-  1 bin        bin          5  67 Fri Jul 10 02:12 /dev/com4pr
crw-rw-rw-  1 bin        bin          5   3 Fri Jul 10 02:12 /dev/com4r

Attention: initially all permissions must be 666!!! So first disable
all lines and change the permissions to 666 before enableing one.
Permissions not equal to 666 in the above list are because there
are running gettys/logins on that lines.

: Lastly, when the system was working, mail bob@mwc.com would send 
: via my smart-host and receive mail packets, but these stayed in 
: /usr/spool/uucp/csn and were not delivered. Why? I have aliases 
: written. Lexicon mentions a /.forward file, but neglects to give an 
: example. Is this needed, if so what is the format?

I've also noticed this, but very seldom. The next time uucico is
running the mails are delivered. Until today I haven't figured out
where the problem is. At last for me it's not really a problem,
because of heavy uucico-ing to several systems. So sometimes I
get a mail an hour later to read, that's all.

: Appreciate any help with this very frustrating problem.

Did you read the uucp installation guide from Joachim Riedel?
You should ask him about that. Also I think it would be a good
idea to post it all two weeks as an Coherent UUCP FAQ, or put it
into the Coherent FAQ's. What do you think about that Joachim?
--
Udo Munk     | voice:      +49 2131 275348             | uucp: +49 2131 278869
Oberstr. 21  | mail :      udo@umunk.GUN.de            |     2400/1200/300 8N1
4040 Neuss 1 | ...!{mcshh,smurf,unido}!easix!umunk!udo | MYNAME=bbsuser
Fed. Rep. of | CompuServe: 100021,2515                 | login: uucp
Germany      | at first connect get ~/info  and ~/files| pwd:   public