Defunct processes on Solaris
Valerio Di Giampietro (VDiGiampietro@sansalvo.marelli.it)
Fri, 5 Sep 1997 18:12:42 +0200
Some times ago i had the same problem and i solved it.
I also answered the same question asked by Frederic Vecoven on this list,
but this solution didn't work for him.
Following is a repost of my message sent to Frederic Vecoven
Forwarded message:
> From valerio Fri Mar 7 23:04:13 1997
> Subject: Re: problem with mgetty on Sparc Solaris 2.5.1
> To: veco@montefiore.ulg.ac.be (Frederic Vecoven)
> Date: Fri, 7 Mar 1997 23:04:13 +0100 (MET)
>
> >
> > Hi.
> >
> > I have been using mgetty (still 0.99) on a PC running Solaris 2.5.1,
> > without any problems since ! It really works great, still many thanks
> > to Gert for his work.
>
> me too (mgetty on a PC running Linux)
>
> >
> > Now, I am trying adding a modem to a Sparc. I compiled last version
> > of mgetty, changed the jumper to RS232, and I am using the same modem
> > (USR Robotic Sportster 28800) than the PC.
>
> me too (i am using exactly the same modem on a UltraSparc running Solaris
> 2.5.1)
>
> > 03/07 12:06:22 m/a timeout in chat script, waiting for `OK'
> > 03/07 12:06:22 m/a init chat failed, exiting...: Interrupted system
> > call
>
> I had exactly the same error message
>
> >
> > Now, as you can see, the serial line is totally unreachable... I have
> > tried
> > using kermit and tip on /dev/cua/a and /dev/term/a, the system says
> > "all port
> > busy" for cua/a, and nothing (but hangs) on term/a
>
> I had the same problem; mgetty was not respawning beacuse it was a <defunct>
> process son of the init process so it was not possible to kill his father
> and the serial line was unusable until the next reboot.
>
> >
> >
> > Does this sound a bell for someone ????
> >
> after weeks of trials i found the solution: put the following line on
> mgetty.config (and the same on sendfax.config):
>
> init-chat "" \d\d\d\d+++\d\d\dATZ\d\d\d\d\d OK ATX3&D3&R1 OK
>
> the important thing is '&R1' (Ignore RTS); I suppose mgetty lowers the RTS
> and waits for 'OK', but the modem doesn't send 'OK'
> beacuse it sees the RTS low and the operating system is unable to complete
> the 'read' call. Setting 'Ignore RTS' solves the problem.
>
I hope this help
----
Valerio Di Giampietro
LAN & Unix System Administrator
Magneti Marelli - Divisione Macchine Rotanti
Zona Industriale
66050 S. Salvo (CH) - Italy
---------------------------------------------------------
Phone : +39-873-345-646
Fax : +39-873-345-602
E-Mail: VDiGiampietro@sansalvo.marelli.it
Web : http://www.webcom.com/vdg
.