Linux PPP protocol development
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz <arekm@pld-linux.org>
To: linux-ppp@vger.kernel.org
Subject: some change in ppp 2.4.3: tcflush failed: Bad file descriptor
Date: Tue, 23 Nov 2004 10:57:42 +0000	[thread overview]
Message-ID: <200411231157.43347.arekm@pld-linux.org> (raw)

Hi,

Something changed in ppp 2.4.3. Now after disconnect I'm getting:

Nov 17 16:00:23 arm pppd[17641]: local  IP address xx
Nov 17 16:00:24 arm pppd[17641]: remote IP address xx
Nov 17 16:00:24 arm pppd[17641]: primary   DNS address xx
Nov 17 16:00:24 arm pppd[17641]: secondary DNS address xx
Nov 18 16:00:21 arm pppd[17641]: LCP terminated by peer
Nov 18 16:00:21 arm pppd[17641]: Connect time 1440.0 minutes.
Nov 18 16:00:21 arm pppd[17641]: Sent 97298679 bytes, received 1835111999 
bytes.
Nov 18 16:00:22 arm pppd[17641]: Child process /etc/ppp/ip-down (pid 19630) 
terminated with signal 15
Nov 18 16:00:24 arm pppd[17641]: Connection terminated.
Nov 18 16:00:25 arm pppd[17641]: Using interface ppp0
Nov 18 16:00:25 arm pppd[17641]: Connect: ppp0 <--> /dev/pts/12
Nov 18 16:00:56 arm pppd[17641]: LCP terminated by peer
Nov 18 16:00:59 arm pppd[17641]: Connection terminated.
Nov 18 16:00:59 arm pppd[17641]: tcflush failed: Bad file descriptor
Nov 18 16:00:59 arm pppd[17641]: Using interface ppp0
Nov 18 16:00:59 arm pppd[17641]: Connect: ppp0 <--> /dev/pts/13
Nov 18 16:01:29 arm pppd[17641]: LCP terminated by peer
Nov 18 16:01:32 arm pppd[17641]: Connection terminated.
Nov 18 16:01:32 arm pppd[17641]: tcflush failed: Bad file descriptor
Nov 18 16:01:32 arm pppd[17641]: Using interface ppp0
Nov 18 16:01:32 arm pppd[17641]: Connect: ppp0 <--> /dev/pts/15
Nov 18 16:02:02 arm pppd[17641]: LCP terminated by peer
Nov 18 16:02:05 arm pppd[17641]: Connection terminated.
Nov 18 16:02:05 arm pppd[17641]: tcflush failed: Bad file descriptor
Nov 18 16:02:05 arm pppd[17641]: Using interface ppp0

With 2.4.2 there was no problem with ,,tcflush failed: Bad file descriptor'' 
on the same kernel.

pppd is called with:
/usr/sbin/pppd lock persist holdoff 30 maxfail 0 crtscts asyncmap 00000000 
defaultroute usepeerdns mtu 1480 user xyz noauth unit 0 pty "pppoa -I eth1" 
ipparam ppp0 linkname ppp0

where pppoa comes from eagle-usb.

Did anyone seen such problem with new ppp?
-- 
Arkadiusz Mi¶kiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/

             reply	other threads:[~2004-11-23 10:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23 10:57 Arkadiusz Miskiewicz [this message]
2004-11-23 16:06 ` some change in ppp 2.4.3: tcflush failed: Bad file descriptor James Carlson
2004-11-25 15:44 ` Arkadiusz Miskiewicz
2004-11-25 16:09 ` Arkadiusz Miskiewicz
2004-11-25 21:27 ` Paul Mackerras
2004-11-25 22:55 ` Arkadiusz Miskiewicz
2004-11-26  0:51 ` Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411231157.43347.arekm@pld-linux.org \
    --to=arekm@pld-linux.org \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox