mgetty gets strange after /bin/login linux 2.2.14
"Mark F. Vickers" (mvickers@real.com)
Fri, 28 Jan 2000 18:44:24 -0800
Hello,
Thank you for writting me back!
I did the "ingmore-carrier yes" and still things get strange after /bin/login.
I still think it's something to due with that handoff to the shell, since I can
open two minicom session, on on a modem connected to a "normal"
port and the other on a cyclades port and paste stuff back and forth all day
long.
I toss a fortune on the screen, any problems with that?
Do you have a copy of the RealPlayer or the RealJukebox?
Thanks
-Vickers
01/28 18:27:44 ##### failed dev=ttyC18, pid=9571, got signal 15, exiting
01/28 18:27:44 C18 removing lock file
--
01/28 18:27:44 C18 mgetty: experimental test release 1.1.19-Nov24
01/28 18:27:44 C18 mgetty.c compiled at Jan 21 2000, 17:23:41
01/28 18:27:44 C18 user id: 0, parent pid: 1
01/28 18:27:44 C18 reading configuration data for port 'ttyC18'
01/28 18:27:44 C18 reading /usr/local/etc/mgetty+sendfax/mgetty.config...
01/28 18:27:44 C18 conf lib: read: 'init-chat "" \datz OK \d\datz OK AT OK'
01/28 18:27:44 C18 conf lib: read: 'debug 4'
01/28 18:27:44 C18 conf lib: read: 'fax-id 49 115 xxxxxxxx'
01/28 18:27:44 C18 conf lib: read: 'speed 115200'
01/28 18:27:44 C18 conf lib: read: 'ignore-carrier true'
01/28 18:27:44 C18 key: 'speed', type=0, flags=2, data=115200
01/28 18:27:44 C18 key: 'switchbd', type=0, flags=1, data=0
01/28 18:27:44 C18 key: 'direct', type=3, flags=1, data=FALSE
01/28 18:27:44 C18 key: 'blocking', type=3, flags=1, data=FALSE
01/28 18:27:44 C18 key: 'port-owner', type=1, flags=1, data=uucp
01/28 18:27:44 C18 key: 'port-group', type=1, flags=1, data=modem
01/28 18:27:44 C18 key: 'port-mode', type=0, flags=1, data=432
01/28 18:27:44 C18 key: 'toggle-dtr', type=3, flags=1, data=TRUE
01/28 18:27:44 C18 key: 'toggle-dtr-waittime', type=0, flags=1, data=500
01/28 18:27:44 C18 key: 'data-only', type=3, flags=2, data=TRUE
01/28 18:27:44 C18 key: 'fax-only', type=3, flags=1, data=FALSE
01/28 18:27:44 C18 key: 'modem-type', type=1, flags=1, data=auto
01/28 18:27:44 C18 key: 'modem-quirks', type=0, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'init-chat', type=2, flags=3, data= \datz OK \d\datz OK
AT OK
01/28 18:27:44 C18 key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
01/28 18:27:44 C18 key: 'post-init-chat', type=2, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'modem-check-time', type=0, flags=1, data=3600
01/28 18:27:44 C18 key: 'rings', type=0, flags=1, data=1
01/28 18:27:44 C18 key: 'msn-list', type=2, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'cnd-program', type=1, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
01/28 18:27:44 C18 key: 'answer-chat-timeout', type=0, flags=1, data=80
01/28 18:27:44 C18 key: 'autobauding', type=3, flags=1, data=FALSE
01/28 18:27:44 C18 key: 'ringback', type=3, flags=1, data=FALSE
01/28 18:27:44 C18 key: 'ringback-time', type=0, flags=1, data=30
01/28 18:27:44 C18 key: 'ignore-carrier', type=3, flags=3, data=TRUE
01/28 18:27:44 C18 key: 'issue-file', type=1, flags=1, data=/etc/issue
01/28 18:27:44 C18 key: 'prompt-waittime', type=0, flags=1, data=500
01/28 18:27:44 C18 key: 'login-prompt', type=1, flags=1, data=@!login:
01/28 18:27:44 C18 key: 'login-time', type=0, flags=1, data=240
01/28 18:27:44 C18 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
01/28 18:27:44 C18 key: 'fax-id', type=1, flags=3, data=49 115 xxxxxxxx
01/28 18:27:44 C18 key: 'fax-min-speed', type=0, flags=1, data=0
01/28 18:27:44 C18 key: 'fax-max-speed', type=0, flags=1, data=14400
01/28 18:27:44 C18 key: 'fax-server-file', type=1, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'diskspace', type=0, flags=1, data=1024
01/28 18:27:44 C18 key: 'notify', type=1, flags=1, data=faxadmin
01/28 18:27:44 C18 key: 'fax-owner', type=1, flags=1, data=uucp
01/28 18:27:44 C18 key: 'fax-group', type=1, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'fax-mode', type=0, flags=1, data=432
01/28 18:27:44 C18 key: 'debug', type=0, flags=2, data=9
01/28 18:27:44 C18 key: 'statistics-chat', type=2, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'statistics-file', type=1, flags=0, data=(empty)
01/28 18:27:44 C18 key: 'gettydefs', type=1, flags=1, data=n
01/28 18:27:44 C18 key: 'term', type=1, flags=0, data=(empty)
01/28 18:27:44 C18 check for lockfiles
01/28 18:27:44 C18 checklock: stat failed, no file
01/28 18:27:44 C18 locking the line
01/28 18:27:44 C18 makelock(ttyC18) called
01/28 18:27:44 C18 do_makelock: lock='/var/lock/LCK..ttyC18'
01/28 18:27:44 C18 lock made
01/28 18:27:45 C18 tio_get_rs232_lines: status: RTS CTS DTR
01/28 18:27:45 C18 WARNING: DSR is off - modem turned off or bad cable?
01/28 18:27:45 C18 lowering DTR to reset Modem
01/28 18:27:45 C18 tss: set speed to 115200 (10002)
01/28 18:27:45 C18 tio_set_flow_control( HARD )
01/28 18:27:45 C18 waiting for line to clear (VTIME), read:
01/28 18:27:46 C18 send: \datz[0d]
01/28 18:27:46 C18 waiting for ``OK''
01/28 18:27:46 C18 got: atz[0d]
01/28 18:27:46 C18 CND: atz[0d][0a]OK ** found **
01/28 18:27:47 C18 send: \d\datz[0d]
01/28 18:27:48 C18 waiting for ``OK''
01/28 18:27:48 C18 got: [0d]
01/28 18:27:48 C18 CND: OK[0a]atz[0d]
01/28 18:27:49 C18 CND: atz[0d][0a]OK ** found **
01/28 18:27:50 C18 send: AT[0d]
01/28 18:27:50 C18 waiting for ``OK''
01/28 18:27:50 C18 got: [0d]
01/28 18:27:50 C18 CND: OK[0a]AT[0d]
01/28 18:27:50 C18 CND: AT[0d][0a]OK ** found **
01/28 18:27:50 C18 waiting for line to clear (VTIME), read: [0d][0a]
01/28 18:27:50 C18 removing lock file
01/28 18:27:50 C18 waiting...
01/28 18:28:48 C18 select returned 1
01/28 18:28:48 C18 checking lockfiles, locking the line
01/28 18:28:48 C18 makelock(ttyC18) called
01/28 18:28:48 C18 do_makelock: lock='/var/lock/LCK..ttyC18'
01/28 18:28:48 C18 lock made
01/28 18:28:48 C18 wfr: waiting for ``RING''
01/28 18:28:48 C18 got: [0d][0a]RING[0d]
01/28 18:28:48 C18 CND: RING
01/28 18:28:48 C18 wfr: rc=0, drn=0
01/28 18:28:48 C18 send: ATA[0d]
01/28 18:28:48 C18 waiting for ``CONNECT''
01/28 18:28:48 C18 got: ATA[0d]
01/28 18:28:48 C18 CND: OKATA[0d][0a]CONNECT ** found **
01/28 18:29:04 C18 send:
01/28 18:29:04 C18 waiting for ``_''
01/28 18:29:04 C18 got: 28800/REL - LAPM[0d]
01/28 18:29:04 C18 CND: CONNECT 28800/REL - LAPM
01/28 18:29:04 C18 CND: found: 28800/REL - LAPM[0a] ** found **
01/28 18:29:04 C18 waiting for line to clear (VTIME), read:
01/28 18:29:04 C18 warning: carrier signal is ignored
01/28 18:29:04 C18 looking for utmp entry... (my PID: 9575)
01/28 18:29:04 C18 utmp + wtmp entry made
01/28 18:29:05 C18 tio_set_flow_control( HARD )
01/28 18:29:05 C18 print welcome banner (/etc/issue)
01/28 18:29:05 C18 getlogname (no opts), read:mvickers[0d]
01/28 18:29:11 C18 input finished with '\r', setting ICRNL ONLCR
01/28 18:29:11 C18 tio_get_rs232_lines: status: RTS CTS DTR DCD
01/28 18:29:11 C18 login: use login config file
/usr/local/etc/mgetty+sendfax/login.config
01/28 18:29:11 C18 match: user='mvickers', key=''
01/28 18:29:11 C18 match: user='mvickers', key=''
01/28 18:29:11 C18 match: user='mvickers', key=''
01/28 18:29:11 C18 match: user='mvickers', key='*'*** hit!
01/28 18:29:11 C18 calling login: cmd='/bin/login', argv[]='login mvickers'
01/28 18:29:11 ##### data dev=ttyC18, pid=9575, caller='none', conn='28800/REL -
LAPM', name='', cmd='/bin/login', user='mvickers'
01/28 18:29:11 C18 setenv: 'CALLER_ID=none'
01/28 18:29:11 C18 setenv: 'CONNECT=28800/REL - LAPM'
Gert Doering wrote:
> Hi,
>
> On Mon, Jan 24, 2000 at 03:08:35PM -0800, Mark F. Vickers wrote:
> > It just kinda dies an increasingly unresponsive death.
>
> So what does the mgetty log file show? Some warnings about DCD not
> present before calling /bin/login? (Which could be cause by bad cabling).
>
> Does "ignore-carrier yes" in mgetty.config improve things?
>
> gert
>
> --
> USENET is *not* the non-clickable part of WWW!
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany gert@greenie.muc.de
> fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de
--
Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588