Subject: Re: Trouble asserting DTR on 1.3D
To: Tom Ivar Helbekkmo <tih@Hamartun.Priv.NO>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: port-i386
Date: 04/13/1998 13:06:08
On 12 Apr 1998, Tom Ivar Helbekkmo wrote:

> I've finally gotten around to upgrading my old i386 box from 1.3_BETA
> to a reasonably recent 1.3D (less than one month old, anyway).  This
> went very smoothly (I'd already upgraded my Sparc and VAX systems, so
> I knew where the potential snags were), except that my SLIP link no
> longer worked.  The slattach(8) process would just sit there and spin,
> eating CPU, without forking and disconnecting.  A bit of debugging
> showed that the problem was the asserting of DTR, thus:
> 
> 	if (ioctl(fd, TIOCSDTR, 0) < 0)
> 		err(1, "TIOCSDTR");
> 
> For some weird reason, the call to ioctl(2) never returns; as stated
> above, the process just spins in user space.  ifdeffing out this one
> statement from the code gave me a slattach that works, so I'm happy,
> but it does look that a bug that could do with some fixing.  :-)

Make sure your com.c is the latest. Charles found a problem like this, and
fixed it. 

Take care,

Bill