From: Simon J Ferrett (c9108932@peach.newcastle.edu.au)
Date: 09/15/93


From: c9108932@peach.newcastle.edu.au (Simon J Ferrett)
Subject: Re: Port respawning too fast
Date: Wed, 15 Sep 1993 18:33:24 GMT

levinson@vax.sonoma.edu writes:

>I have created an entry in my inittab for my com1 port on which I have another
>terminal with a null modem cable.

>I can log on, work, then log off, however on my consople I get the message:
>Respawning too fast. Port disabled for 5 minutes

>And then 5 minutes later it says the same thine.
>Anyone know how I can fix this? I am using .99pl12.

yes I had this exact problem, which is caused when the serial port
is hung up by getty, it drops the DTR (which, since its a null modem),
drops carrier) and gived getty a HUP causing it to quit.

I got around this my slightly modifying serial.c so that it didnt ever
hang up a serial port. (no hardware of mine needs it)

the modifcation in serial.c is as follows:
(about line 583)

                        }
                        if (clear_bit(RS_EVENT_HANGUP, &info->event)) {
/* simonf Sun Aug 29 17:43:13 EST 1993 tty_hangup(info->tty);*/
                                wake_up_interruptible(&info->open_wait);
                                info->flags &= ~(ASYNC_NORMAL_ACTIVE|
                                                 ASYNC_CALLOUT_ACTIVE);
                        }

ie: comment out the tty_hangup call.

hope this works as well for you as it did for me...

-- 
c9108932@cs.newcastle.edu.au - Simon Ferrett
Due to technical difficuties, we are unable to bring you your
regularly scheduled .signature - normal transmission will resume
as soon as possible...