I forgot to mention that I have analyzed the pppd logs and found out that
it enters in this state when closing connection with the other peer. In
particular, when the peer doesn't reply for N LCP Requests and our pppd
gives up and terminate connection.
What I mean is that, this happens when pppd is restoring TTY line
discipline, after tcflush(). I saw this in the source code of pppd 2.4.3
which is what I'm using.
Anyway, I'll give the 2.6.17.1 a try and report again tomorrow.
Regards,
Jorge Matias
----- Original Message -----
From: "Phil Mayers" <p.mayers@xxxxxxxxxxxxxx>
To: <linux-ppp@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 28, 2006 12:03 AM
Subject: Re: pppd stuck in ioctl(TIOCSETD) in Linux 2.6.15.4+
Jorge Daniel Sequeira Matias wrote:
Hi everyone,
I'm running a PPTP VPN Server for almost 4 years now. This server is
running in a Debian Linux (unstable).
The configuration for the last 1 year and a half was the following:
Computer 2x Intel Xeon 2.6GHz and 512MB RAM
Linux v2.6.11.6 (vanilla) with MPPE patch
After the upgrade to a Linux v2.6.15.4 (vanilla) with no patches to
There were a couple of bugs recently in the TTY layer related to poptop
and running pppd on PTYs, but I believe 2.6.15 did not contain them
(though I find the git logs incomprehensible so could be wrong). See:
http://bugzilla.kernel.org/show_bug.cgi?id=6402
http://bugzilla.kernel.org/show_bug.cgi?id=6530
Just in case, you should definitely try the latest kernel - 2.6.17.1 is
stable.
If that doesn't solve it and if you can reliably reproduce it you could do
a "git bisect" to track the bug down (tedious though):
http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
http://www.kernel.org/pub/software/scm/git/docs/howto/isolate-bugs-with-bisect.txt
http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html