mgetty respawns again and again
Antonio Martinez (antonioNOanSPAM@colpos.colpos.mx.invalid)
Thu, 18 Nov 1999 07:23:27 -0800
Hi, I would like to know if somebody can help me with this.
My problem is that mgetty respawns over and over.
My inittab line is
so:2345:respawn:/sbin/mgetty -x 9 /dev/ttyS0
I suspect that it is my rockwell modem the one causing the
problem
because when i use the -r option in the inittab line, the
problem
is gone.
Could it be the init-chat string I am using??
I found an init string in the inf file of the software of my
modem:
AT&FE0V1&C1&D2S95=45S0=0
I have also used the that is recommend in the manual
for rockwell modems with no success
ATQ0V1E0 OK AT&K3S0=0 OK
Thanks in advance
Antonio Martinez
antonio@colpos.colpos.mx
The log file (never ending) looks like
11/17 13:56:12 yS0 check for lockfiles
11/17 13:56:12 yS0 checklock: stat failed, no file
11/17 13:56:12 yS0 locking the line
11/17 13:56:12 yS0 makelock(ttyS0) called
11/17 13:56:12 yS0 do_makelock:
lock='/var/lock/LCK..ttyS0'
11/17 13:56:12 yS0 lock made
11/17 13:56:12 yS0 can't get group 'modem': No such file or
directory
11/17 13:56:12 yS0 tio_get_rs232_lines: status: RTS CTS
DSR DTR
11/17 13:56:12 yS0 tss: set speed to 57600 (10001)
11/17 13:56:12 yS0 tio_set_flow_control( HARD )
11/17 13:56:12 yS0 waiting for line to clear (VTIME),
read:
11/17 13:56:12 yS0 send: ATZ&FQ0V1[0d]
11/17 13:56:12 yS0 waiting for ``OK''
11/17 13:56:12 yS0 got: [0d][0a]OK ** found **
11/17 13:56:32 yS0 send: ATE0&C1&D2[0d]
11/17 13:56:32 yS0 waiting for ``OK''
11/17 13:56:32 yS0 got: [0d]
11/17 13:56:32 yS0 CND: OK[0a]A[00]TE0&C1&D2[0d]
11/17 13:56:52 yS0 CND: A[0d][0a]OK ** found **
11/17 13:56:52 yS0 send: AT&K3S95=45S0=0[0d]
11/17 13:56:52 yS0 waiting for ``OK''
11/17 13:56:52 yS0 got: [0d]
11/17 13:56:52 yS0 CND: OK[0d][0a]OK ** found **
11/17 13:57:12 yS0 mdm_send: 'AT+FCLASS=2'
11/17 13:57:12 yS0 got:[0d][0a]
11/17 13:57:22 yS0 Warning: got alarm signal!
11/17 13:57:22 yS0 mdm_read_byte: read returned -1:
Interrupted system
call
11/17 13:57:22 yS0 mdm_get_line: cannot read byte, return:
Interrupted
system call -> ERROR
11/17 13:57:22 yS0 no class 2/2.0 faxmodem, no faxing
available
11/17 13:57:22 yS0 waiting for line to clear (VTIME),
read:
11/17 13:57:22 yS0 removing lock file
11/17 13:57:22 yS0 waiting...
11/17 13:57:32 yS0 select returned 1
11/17 13:57:32 yS0 checking lockfiles, locking the line
11/17 13:57:32 yS0 makelock(ttyS0) called
11/17 13:57:32 yS0 do_makelock:
lock='/var/lock/LCK..ttyS0'
11/17 13:57:32 yS0 lock made
11/17 13:57:32 yS0 wfr: waiting for ``RING''
11/17 13:57:32 yS0 got: [0d][0a]OK[0d]
11/17 13:57:32 yS0 CND: OK
11/17 13:57:32 yS0 got: [0a]
11/17 13:57:42 yS0 mdm_read_byte: read returned -1:
Interrupted system
call
11/17 13:57:42 yS0 wfr: timeout waiting for RING
11/17 13:57:42 yS0 wfr: rc=-1, drn=0
11/17 13:57:42 yS0 huh? Junk on the line?
11/17 13:57:42 yS0 removing lock file
* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful