mgetty won't see the modem after the first call

Gert Doering (gert@greenie.muc.de)
Mon, 18 Oct 1999 12:30:23 +0200


Hi,

On Mon, Oct 18, 1999 at 10:15:50AM +0200, Eric Veldhuyzen wrote:
> Since I didn't get any answer the last time I asked this question,
> I try another time, this time with some additional information.

Actually, I was just bogged down with work, trade show, etc.

The problem is really weird.  Mgetty should never start up without
at least logging the version number - that is done before the serial
device is touched at all, so it really should show up.

Are you sure about the "new mgetty" that's being started?

What you could do is use "strace" to attach to that mgetty process,
and find out what it's doing.  Or attach to "init" (*warning* - don't
do this on a production system with lots of stuff going on) while
the first login is still active, logout, and watch what's going on.

(Something like "strace -f -p 1 >/tmp/log 2>&1", if I remember the syntax
correctly).

Then send the last few hundred lines of the output to us... (the part
showing the mgetty PID only).

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