[mgetty]: Problems with hanging sendfax (Solaris 2.5)

Christian Baur (Christian.Baur@cybernet-ag.net)
Thu, 12 Sep 1996 10:39:07 +0200


Hi all!

I have a problem with sendfax from the mgetty distribution (0.99-Aug96)
and I didn't find a solution yet (although I already browsed through the
mail-archive of this list).

I am using sendfax under Solaris 2.5 with a ELSA Microlink 28.8 TQV
(fax-device ttyb). The "faxrunq" runs every 5 minutes to deliver faxes.
This works fine.

In some cases however, the fax can't be delivered (AT+FDT -> some error
(-6), abort fax send!,  +FHS:-6) and after 120 seconds the "transfer"
gets aborted (Warning: got alarm signal, mdm_read_byte: read returned
-1: Interrupted system call, mdm_get_line: cannot read byte, return:
Interrupted system call). The sendfax process then hangs (the last line
of the log is "fax_send: 'AT+FCLASS=0'" and all following calls of the
"faxrunq" fail because of the lock.

So the main problem is, that all subsequent faxes can't be delivered. I
have to kill "sendfax" and then everything works fine again until the
next connection fails.

Any hints? Thanks!!

Here is a typical sequence from the logfile:

09/05 21:15:01 tyb  fax_wait_for(CONNECT)
09/05 21:17:01 tyb  Warning: got alarm signal!
09/05 21:17:01 tyb  mdm_read_byte: read returned -1: Interrupted system
call
09/05 21:17:01 tyb  mdm_get_line: cannot read byte, return: Interrupted
system call
09/05 21:17:01 tyb  AT+FDT -> some error (-6), abort fax send!
09/05 21:17:01 ##### failed transmitting f1.g3: phone="4293003",
+FHS:-6, dev=ttyb, time=120s, acct=""
 
09/05 21:17:01 tyb  fax_send: 'AT+FCLASS=0'
--
09/06 07:00:00  sendfax: experimental test release 0.99-Aug07
09/06 07:00:00  sending fax to 3507471
09/06 07:00:00  checking f1.g3
09/06 07:00:00   makelock(ttyb) called
09/06 07:00:00   get_lock_name(ttyb) called
09/06 07:00:00   -> ttyname /dev/ttyb
09/06 07:00:00   lock file: /var/spool/locks/LK.032.029.001
09/06 07:00:00   do_makelock: lock='/var/spool/locks/LK.032.029.001'
09/06 07:00:00   lock made

Regards
cb

PS: Please send any answers also to my mailaddress!

-- 
[ Christian Baur                cbaur@leo.org ]
[ Munich,Germany     God has a sense of humor ]