Re: tcgetattr fails in 2.4.3

jerry (jdinardo@ix.netcom.com)
Mon, 2 Apr 2001 08:46:07 -0400


I am running pppd 2.4.0b4 so that should not be the problem. However if the
problem is related to tcgetattr bogus failure, then I do not think
pppd would be the problem especially since it is failing in chat.

Does anyone know under what conditions a errno=5 (IO error) should be
returned from tcgetattr(fd,&t) when fd is opened (rw).

> jerry wrote:
> > ppp chat script stopped working under 2.4.3. I ran a program of my own
> > that opens ttyS1 and it also fails on a tcgetattr with errno=5 (IO error).
> > The ppp chat script and my program both work fine under 2.4.2 and older.
>
> I noticed that, but then I noticed I'm using pppd 2.3.11, and
> Documentation/Changes says I should use 2.4.0b1. Then again
> Documentation/Changes said the same thing in kernel 2.4.2 as well, and
> pppd 2.3.11 works fine there.
>
> -- Jamie
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/