mgetty fails in -current

From: Christoph Kukulies <kuku_at_physik.rwth-aachen.de>
Date: Mon, 6 Oct 2003 09:21:01 +0200
I don't know if it is a problem with 5.1 or with my ASUS P4SX (sio on board,
Sis chipset) or with the Devolo Fun II (ELSA Microlink) modem.

Anyway, I spent the sunday afternoon sending log files into the
mgetty+sendfax list (Gert Doering, the maintainer and author of mgetty)
was so king to help and analyze the problem.

He came to the conclusion that while mgetty should stay in a select()
waiting loop it gets unexpected input on the descriptor and
thinks a RING would come in. Instead the input comes from previous
chat with the modem and it looks if characters are not coming not fast
enough or delayed from the preceeding chat dialog.
I'm appending a piece of log:

10/05 16:47:11 aa0    got:[0d][0a]ERROR[0d]
10/05 16:47:11 aa0   mdm_command: string 'ERROR' -> ERROR
10/05 16:47:11 aa0   no class 2/2.0 faxmodem, no faxing available
10/05 16:47:11 aa0   waiting for line to clear (select), read: 
10/05 16:47:12 aa0    select returned 0
10/05 16:47:12 aa0   removing lock file
10/05 16:47:12 aa0  waiting...
10/05 16:47:12 aa0   checking lockfiles, locking the line
10/05 16:47:12 aa0   makelock(cuaa0) called
10/05 16:47:12 aa0   do_makelock: lock='/var/spool/lock/LCK..cuaa0'
10/05 16:47:12 aa0   lock made
10/05 16:47:12 aa0  wfr: waiting for ``RING''
10/05 16:47:12 aa0   got: [0a]
10/05 16:47:22 aa0  mdm_read_byte: read returned -1: Interrupted system call
10/05 16:47:22 aa0  wfr: timeout waiting for RING
10/05 16:47:22 aa0   wfr: rc=-1, drn=0
10/05 16:47:22 aa0  huh? Junk on the line?
10/05 16:47:22 aa0   >>> could be a dial-out program without proper locking - check this!
10/05 16:47:22 aa0   removing lock file
--
10/05 16:47:22 aa0  mgetty: experimental test release 1.1.30-Dec16
10/05 16:47:22 aa0   mgetty.c compiled at Oct  5 2003, 16:16:48
10/05 16:47:22 aa0   user id: 0, pid: 29530, parent pid: 1
10/05 16:47:22 aa0   reading configuration data for port 'cuaa0'
10/05 16:47:22 aa0   reading /usr/local/etc/mgetty+sendfax/mgetty.config...
10/05 16:47:22 aa0   conf lib: read: 'port cuaa0'
10/05 16:47:22 aa0   section: port cuaa0, **found**
10/05 16:47:22 aa0   conf lib: read: 'debug 4'
10/05 16:47:22 aa0   conf lib: read: 'fax-id 49 2405 xxxxx'
10/05 16:47:22 aa0   conf lib: read: 'speed 38400'
10/05 16:47:22 aa0   conf lib: read: 'direct NO'
10/05 16:47:22 aa0   conf lib: read: 'blocking YES'
10/05 16:47:22 aa0   conf lib: read: 'port-owner uucp'
10/05 16:47:22 aa0   conf lib: read: 'port-group uucp'


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
Received on Sun Oct 05 2003 - 22:21:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC