Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem by inittab and mgetty + modem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Gert Andersen
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2007
Posts: 138
Location: Broendby, Denmark

PostPosted: Thu Dec 06, 2007 5:07 pm    Post subject: problem by inittab and mgetty + modem Reply with quote

Hello.

I have a problem by making gentoo amd64 work by modem with using mgetty for modem.
It look like mgetty not like to iit my modem proberly by inittab to mgetty to modem.
In my inittab have I this:


# TERMINALS
#c0:2345:respawn:/sbin/mgetty 11520 tty0 linux
c1:2345:respawn:/sbin/agetty 115200 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
s0:2345:respawn:/sbin/mgetty ttyS0
#s1:2345:respawn:/sbin/mgetty ttyS0
#s0:2345:respwan:/sbin/mgetty ttyS0 vt100
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

when i trying to comment the line with c1 to c6 out will gentoo not start up after reboot and is hanging by load local.
My serial port ttyS0 is where my modem is on, syslog messages shows "ttyS0 (ireq=4)

In my mgetty.config i have this
port ttyS0
debug 4
speed 115200
data-only y

and in my log for it mgettt.tssy0 gettng i this

12/06 17:30:17 yS0 checking lockfiles, locking the line
12/06 17:30:17 yS0 makelock(ttyS0) called
12/06 17:30:17 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
12/06 17:30:17 yS0 lock made
12/06 17:30:17 yS0 wfr: waiting for ``RING''
12/06 17:30:17 yS0 got: [00]
12/06 17:30:17 yS0 checking lockfiles, locking the line
12/06 17:30:17 yS0 makelock(ttyS0) called
12/06 17:30:17 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
12/06 17:30:17 yS0 lock not made: lock file exists (pid=15473)
12/06 17:30:17 yS0 lock file exists (dialout)!
12/06 17:30:17 yS0 lockfile found, pid=15473
12/06 17:30:17 yS0 looking for utmp entry... (my PID: 12598)
12/06 17:30:17 yS0 utmp + wtmp entry made
12/06 17:30:17 yS0 lockfile found, pid=15473[00]
12/06 17:30:27 yS0 mdm_read_byte: read returned -1: Interrupted system call
12/06 17:30:27 yS0 wfr: timeout waiting for RING
12/06 17:30:27 yS0 wfr: rc=-1, drn=0
12/06 17:30:27 yS0 huh? Junk on the line?
12/06 17:30:27 yS0 >>> could be a dial-out program without proper locking - check this!
12/06 17:30:27 yS0 removing lock file
12/06 17:30:27 yS0 checklock: stat failed, no file
--
12/06 17:30:27 yS0 mgetty: interim release 1.1.35-Feb22
12/06 17:30:27 yS0 check for lockfiles
12/06 17:30:27 yS0 locking the line
12/06 17:30:27 yS0 WARNING: DCD line still active, check modem settings (AT&Dx)
12/06 17:30:27 yS0 lowering DTR to reset Modem
12/06 17:30:28 yS0 send: ATZ|AT&FE0&C1&D2V1S0=0/V1[0d]
12/06 17:30:28 yS0 waiting for ``OK''
12/06 17:30:32 yS0 lockfile found, pid=15833
12/06 17:30:32 yS0 lockfile found, pid=15833
12/06 17:30:42 yS0 lockfile found, pid=15833
12/06 17:30:48 yS0 timeout in chat script, waiting for `OK'
12/06 17:30:48 yS0 init chat timed out, trying force-init-chat
12/06 17:30:48 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\d
12/06 17:30:52 yS0 lockfile found, pid=15833ATQ0V1H0[0d]
12/06 17:30:52 yS0 waiting for ``OK''
12/06 17:31:02 yS0 lockfile found, pid=15833
12/06 17:31:12 yS0 lockfile found, pid=15833
12/06 17:31:12 yS0 timeout in chat script, waiting for `OK'
12/06 17:31:12 yS0 init chat failed, exiting...: Interrupted system call
12/06 17:31:12 ##### failed in mg_init_data, dev=ttyS0, pid=15833

--

Some one know what can ber wrong ?
_________________
Gert K. Andersen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum