Problem with two mgetty tasks on two different serial ports
Gert Doering (gert@greenie.muc.de)
Thu, 13 May 1999 19:54:16 +0200
Hi,
On Tue, May 11, 1999 at 09:32:53PM -0400, Ruben Fagundo wrote:
> I was wondering if any one had seen something similar to this. I have
> tried several variations to try and solve this, but this is what I have
> concluded. Any help appreciated.
>
> I have two mgetty tasks running on two com ports com1 and com2 as seen
> in this segment of the RH5.1 Linux inittab:
>
> d4:12345:respawn:/sbin/mgetty -x 9 /dev/ttyS0
> d5:12345:respawn:/sbin/mgetty -x 9 /dev/ttyS1
>
> I want them to both accept concurrent login, and/or fax messages,
> independent of each other, i.e, one could be receiving a fax, while the
> other has a ppp connection going, or two ppp connections going. The
> problem is that when both mgetty tasks are going at the same time, and a
> fax comes in, it picks up the line, then hangs it up again. I am using
> two external Courier V. Everything modems at this point, and the same
> thing happens on both. Here is the section of the log file.
This is very very weird. Two different serial ports on different modems
should not interfere at all. Maybe you have noise on the Telco line
coming into your company? Does it work if you connect the two different
modems to different machines (just for testing)? If not, it's definitely
not a "something broken on that one machine" problem.
> Notice that at 12:09, the "alarm signal occurred". I am also including
> the matching section of the messages file for completeness. I have
> tried this on both modems with the same results. minicom seems to work
> OK. The com ports all have separate IRQ's. When I disable one of the
> mgetty tasks, from the inittab, everything works fine. Also note that
> the additional com port is coming from an ISA card that was added
> because the system only had one com port natively. I'm lost on this
> one....
You're sure that the IRQ lines are not colliding with some other card?
Sound card or something?
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