Spawning too fast...

"Frere Roy" (frereroy@taize.fr)
Wed, 9 Apr 1997 21:34:52 +0200


Hello,

I'm using mgetty 0.98 on our Linux server to control 2 USR Sportster
33.6 voice modems in data mode to connect using ppp.

They are quite heavily used but only for short periods at a time
which means 20 or 30 login/logouts per day.

All works well for 24/48 hours but then I get the "spawning too fast"
error and it is as if one of the modems fails to reintialise properly
because it no longer responds to a "RING" - can be either one.

I switch it off, then on again and do a 'telinit q" and all is well but
I would really like to be able to find a permanent fix for the problem. 

I use &F1 and ATZ as initialisation strings

Anyone got any ideas ?

Below is a log from a session that didn't work.

Thanks, best wishes, Roy

04/09 13:09:55 yC0 mgetty: official release 0.98
04/09 13:09:55 yC0 reading configuration data for port 'ttyC0'
04/09 13:09:55 yC0 conf lib: read: 'debug 5'
04/09 13:09:55 yC0 conf lib: read: 'fax-id ASI (+33) 78930099'
04/09 13:09:55 yC0 conf lib: read: 'speed 38400'
04/09 13:09:55 yC0 conf lib: read: 'port-owner uucp'
04/09 13:09:55 yC0 conf lib: read: 'port-group uucp'
04/09 13:09:55 yC0 conf lib: read: 'port-mode 0664'
04/09 13:09:55 yC0 conf lib: read: 'fax-owner root'
04/09 13:09:55 yC0 conf lib: read: 'fax-group uucp'
04/09 13:09:55 yC0 conf lib: read: 'fax-mode 0640'
04/09 13:09:55 yC0 conf lib: read: 'port ttyC0'
04/09 13:09:55 yC0 section: port ttyC0, **found**
04/09 13:09:55 yC0 conf lib: read: 'toggle-dtr n'
04/09 13:09:55 yC0 conf lib: read: 'init-chat "" \dATZ OK'
04/09 13:09:55 yC0 conf lib: read: 'issue-file /etc/issue_C0_986'
04/09 13:09:55 yC0 conf lib: read: 'port ttyC1'
04/09 13:09:55 yC0 section: port ttyC1, ignore
04/09 13:09:55 yC0 conf lib: read: 'toggle-dtr n'
04/09 13:09:55 yC0 conf lib: read: 'init-chat "" \dATZ OK'
04/09 13:09:55 yC0 conf lib: read: 'issue-file /etc/issue_C1_987'
04/09 13:09:55 yC0 key: 'speed', type=0, flags=3, data=38400
04/09 13:09:55 yC0 key: 'switchbd', type=0, flags=1, data=19200
04/09 13:09:55 yC0 key: 'direct', type=3, flags=1, data=FALSE
04/09 13:09:55 yC0 key: 'blocking', type=3, flags=1, data=FALSE
04/09 13:09:55 yC0 key: 'port-owner', type=1, flags=3, data=uucp
04/09 13:09:55 yC0 key: 'port-group', type=1, flags=3, data=uucp
04/09 13:09:55 yC0 key: 'port-mode', type=0, flags=3, data=436
04/09 13:09:55 yC0 key: 'toggle-dtr', type=3, flags=3, data=FALSE
04/09 13:09:55 yC0 key: 'toggle-dtr-waittime', type=0, flags=1,
data=500 04/09 13:09:55 yC0 key: 'data-only', type=3, flags=1,
data=FALSE 04/09 13:09:55 yC0 key: 'fax-only', type=3, flags=1,
data=FALSE 04/09 13:09:55 yC0 key: 'modem-type', type=1, flags=2,
data=data 04/09 13:09:55 yC0 key: 'init-chat', type=2, flags=3, data=
\dATZ OK 04/09 13:09:55 yC0 key: 'modem-check-time', type=0, flags=1,
data=3600 04/09 13:09:55 yC0 key: 'rings', type=0, flags=1, data=1
04/09 13:09:55 yC0 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
04/09 13:09:55 yC0 key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c

04/09 13:09:55 yC0 key: 'answer-chat-timeout', type=0, flags=1, data=80
04/09 13:09:55 yC0 key: 'autobauding', type=3, flags=1, data=FALSE
04/09 13:09:55 yC0 key: 'ringback', type=3, flags=1, data=FALSE 04/09
13:09:55 yC0 key: 'ringback-time', type=0, flags=1, data=30 04/09
13:09:55 yC0 key: 'issue-file', type=1, flags=3, data=/etc/issue_C0_986
04/09 13:09:55 yC0 key: 'prompt-waittime', type=0, flags=1, data=500
04/09 13:09:55 yC0 key: 'login-prompt', type=1, flags=1, data=@!login:
04/09 13:09:55 yC0 key: 'login-time', type=0, flags=1, data=120 04/09
13:09:55 yC0 key: 'fax-id', type=1, flags=3, data=ASI (+33) 78930099
04/09 13:09:55 yC0 key: 'fax-server-file', type=1, flags=0,
data=(empty) 04/09 13:09:55 yC0 key: 'diskspace', type=0, flags=1,
data=1024 04/09 13:09:55 yC0 key: 'notify', type=1, flags=1,
data=fax-admin 04/09 13:09:55 yC0 key: 'fax-owner', type=1, flags=3,
data=root 04/09 13:09:55 yC0 key: 'fax-group', type=1, flags=3,
data=uucp 04/09 13:09:55 yC0 key: 'fax-mode', type=0, flags=3, data=416
04/09 13:09:55 yC0 key: 'debug', type=0, flags=2, data=6 04/09 13:09:55
yC0 key: 'statistics-chat', type=2, flags=0, data=(empty) 04/09
13:09:55 yC0 key: 'statistics-file', type=1, flags=0, data=(empty)
04/09 13:09:55 yC0 key: 'gettydefs', type=1, flags=1, data=n 04/09
13:09:55 yC0 key: 'term', type=1, flags=0, data=(empty) 04/09 13:09:55
yC0 check for lockfiles 04/09 13:09:55 yC0 checklock: no active
process has lock, will remove 04/09 13:09:55 yC0 locking the line 04/09
13:09:55 yC0 makelock(ttyC0) called 04/09 13:09:55 yC0 do_makelock:
lock='/var/spool/locks/LCK..ttyC0' 04/09 13:09:55 yC0 lock made 04/09
13:09:55 yC0 tss: set speed to 38400 (017) 04/09 13:09:55 yC0
tio_set_flow_control( HARD ) 04/09 13:09:55 yC0 waiting for line to
clear (VTIME), read: [c8][ea][0a]i*J[9d] U[aa][9a]UH[f8] 04/09 13:09:55
yC0 send: \dATZ[0d] 04/09 13:09:56 yC0 waiting for ``OK'' 04/09
13:09:56 yC0 got: ATZ[0d] 04/09 13:09:56 yC0 CND: ATZ[0d][0a]OK **
found ** 04/09 13:09:56 yC0 waiting for line to clear (VTIME), read:
[0d][0a] 04/09 13:09:57 yC0 removing lock file 04/09 13:09:57 yC0
waiting... 04/09 14:09:57 yC0 select returned 0 04/09 14:09:57 yC0
checking if modem is still alive 04/09 14:09:57 yC0 makelock(ttyC0)
called 04/09 14:09:57 yC0 do_makelock:
lock='/var/spool/locks/LCK..ttyC0' 04/09 14:09:57 yC0 lock made 04/09
14:09:57 yC0 fax_send: 'AT' 04/09 14:09:57 yC0 got:AT[0d] 04/09
14:09:57 yC0 mdm_command: string 'AT' 04/09 14:09:57 yC0
got:[0d][0a]OK[0d] 
04/09 14:09:57 yC0 mdm_command: string 'OK' -> OK
04/09 14:09:57 yC0 waiting for line to clear (VTIME), read: 
04/09 14:09:57 yC0 removing lock file 
04/09 14:09:57 yC0 waiting... 
04/09 14:21:56 yC0 select returned 1 
04/09 14:21:56 yC0 checking lockfiles, locking the line 
04/09 14:21:56 yC0 makelock(ttyC0) called 
04/09 14:21:56 yC0 do_makelock: lock='/var/spool/locks/LCK..ttyC0' 
04/09 14:21:56 yC0 lock made 
04/09 14:21:56 yC0 waiting for ``RING'' 
04/09 14:21:56 yC0 got: [0d] 
04/09 14:21:56 yC0 CND: OK[0a]RING ** found ** 

04/09 14:21:56 yC0 send: ATA[0d] 
04/09 14:21:56 yC0 waiting for ``CONNECT'' 
04/09 14:21:56 yC0 got: [0d] 
04/09 14:21:56 yC0 CND: RING[0a]ATA[0d] 
04/09 14:21:56 yC0 CND: ATA 
04/09 14:23:16 yC0 timeout in chat script, waiting for `CONNECT' 
04/09 14:23:17 ##### failed timeout dev=ttyC0, pid=15350, caller=,
conn='', name =''

04/09 14:23:17 yC0 removing lock file
--
04/09 14:23:18 yC0 mgetty: official release 0.98
04/09 14:23:18 yC0 reading configuration data for port 'ttyC0'
04/09 14:23:18 yC0 conf lib: read: 'debug 5'
04/09 14:23:18 yC0 conf lib: read: 'fax-id ASI (+33) 78930099'
04/09 14:23:18 yC0 conf lib: read: 'speed 38400'
04/09 14:23:18 yC0 conf lib: read: 'port-owner uucp'
04/09 14:23:18 yC0 conf lib: read: 'port-group uucp'
04/09 14:23:18 yC0 conf lib: read: 'port-mode 0664'
04/09 14:23:18 yC0 conf lib: read: 'fax-owner root'
l


-- 

Taize Community, 71250 TAIZE, France
Personal email: roy@taize.fr
To contact Taize: community@taize.fr
To visit Taize: meetings@taize.fr
Other info: info@taize.fr
Web site http://www.taize.fr
.