public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* tcgetattr fails in 2.4.3
@ 2001-04-01  0:12 jerry
  2001-04-02  8:23 ` Jamie Lokier
  0 siblings, 1 reply; 3+ messages in thread
From: jerry @ 2001-04-01  0:12 UTC (permalink / raw)
  To: linux-kernel

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.
jpd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tcgetattr fails in 2.4.3
  2001-04-01  0:12 tcgetattr fails in 2.4.3 jerry
@ 2001-04-02  8:23 ` Jamie Lokier
  2001-04-02 12:46   ` jerry
  0 siblings, 1 reply; 3+ messages in thread
From: Jamie Lokier @ 2001-04-02  8:23 UTC (permalink / raw)
  To: jerry; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tcgetattr fails in 2.4.3
  2001-04-02  8:23 ` Jamie Lokier
@ 2001-04-02 12:46   ` jerry
  0 siblings, 0 replies; 3+ messages in thread
From: jerry @ 2001-04-02 12:46 UTC (permalink / raw)
  To: linux-kernel

 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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-02 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-01  0:12 tcgetattr fails in 2.4.3 jerry
2001-04-02  8:23 ` Jamie Lokier
2001-04-02 12:46   ` jerry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox