Including a patch from kernel.org.  Given the size of the patch, you
may not trust it, but that's what I got ..

http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.11.4.bz2;z=15

If I understand the situation correctly, this needs to be reassigned
and cloned to a couple kernels, but I'll that that up to someone else
to confirm.

Justin

On Thu, Mar 17, 2005 at 02:09:19AM -0500, pryzbyj wrote:
> I assume that you have seen this:
>   http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.4
> 
> If not .. tag patch:)  In less than 100 lines, even!
> 
> Justin
> 
> On Thu, Mar 17, 2005 at 02:54:56AM +0100, Christian wrote:
> > Package: ppp
> > Version: 2.4.2+20040428-6
> > Severity: critical
> > Justification: breaks the whole system
> > 
> > hello pppeople,
> > 
> > i've encountered serious problems with pppd and days of monitoring the
> > issues lead me to the assumption that pppd is to blame. feel free to
> > tell me otherwise and i'll happily forward the problem to the right
> > people - because i am not guru enough to fix it.
> > 
> > the problem in short: i am using pppd with pppoe (ADSL dialup) i get 
> > disconnected by my ISP once a day and pppd receives "LCP terminated by
> > peer" then. normally pppd will reconnect and the box would be online
> > again. this does not happen anymore, instead 30min after disconnect all
> > RAM is chewed up by *something* (still don't know by what, please read
> > on) and OOM killer kicks in, killing almost every application.
> > 
> > i have reported the issue to the linux-kernel mailinglist first, because
> > i thought it was a kernel issue:
> >   http://lkml.org/lkml/2005/3/8/173
> >   http://lkml.org/lkml/2005/3/10/109
> > maybe the replies are noteworthy too. 
> > 
> > yesterday i hit the issue again, with more (hopefully helpful) details:
> >   http://www.ussg.iu.edu/hypermail/linux/kernel/0503.2/0316.html
> > again, the time between "LCP terminated by peer" to the first OOM
> > messages are (alsmost exactly) 30min. when this happens, i am usually
> > not around, so when i get to the machine, OOM has already happened. i
> > can recover the machine (no reboot, but SYSRQ-E) and i have to kill -9
> > pppd, anything else does not work:
> > 
> > http://nerdbynature.de/bits/sheep/2.6.11/oom/pppd.log
> > ("Terminating on signal 15" does not work, "+++ killed by SIGKILL +++"
> > is the only choice.)
> > 
> > i first noticed this behaviour with a new kernel, namely 2.6.11, but
> > downgrading to a former (stable for me) kernel (2.6.11-rc5-bk2) did not
> > help. instead, i downgraded from pppd-2.4.3-20041231+2 to
> > ppp-2.4.2+20040428-6 and got rid of the problem! 2.4.3 was uploaded on
> > 26.02.2005, and a couple of days later i switched to a new kernel and
> > did a "apt-get upgrade". that could be the cause, i suspected kernel
> > issues first. 
> > 
> > have a look at http://nerdbynature.de/bits/sheep/2.6.11/oom/   for
> > further details, feel free to ask. i still did not manage to reproduce
> > the problem "by hand", e.g. by setting up a pppoe server on the same
> > machine,  connecting with "pppd call..." and killing the pppoe server
> > (in the hope that it might send "LCP terminated by peer" to the pppd").
> > 
> > 
> > thank you for your time,
> > Christian.
> > 
> > -- System Information:
> > Debian Release: 3.1
> >   APT prefers unstable
> >   APT policy: (990, 'unstable'), (1, 'experimental')
> > Architecture: i386 (i686)
> > Kernel: Linux 2.6.11.3
> > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> > 
> > Versions of packages ppp depends on:
> > ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared 
> > libraries an
> > ii  libpam-modules              0.76-22      Pluggable Authentication 
> > Modules f
> > ii  libpam-runtime              0.76-22      Runtime support for the PAM 
> > librar
> > ii  libpam0g                    0.76-22      Pluggable Authentication 
> > Modules l
> > ii  libpcap0.7                  0.7.2-7      System interface for 
> > user-level pa
> > ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
> > ii  makedev                     2.3.1-76     creates device files in /dev
> > ii  netbase                     4.20         Basic TCP/IP networking system
> > ii  procps                      1:3.2.5-1    /proc file system utilities
> > 
> > -- no debconf information
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> 
> -- 
> Justin Pryzby
> whois jgalt
> 
> References
> 
> [0] 

-- 
Justin Pryzby
whois jgalt

References

[0] 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
  <title>/pub/linux/kernel/v2.6/patch-2.6.11.4.bz2</title>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <link href="/diff/diff.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- $Id: diffview.cgi,v 1.53 2005/02/26 02:18:44 hpa Exp $ -->
<!-- /pub/linux/kernel/v2.6/patch-2.6.11.4.bz2 15 -->
<h1><a href="/pub/linux/kernel/v2.6/patch-2.6.11.4.bz2" 
class="lsrc">/pub/linux/kernel/v2.6/patch-2.6.11.4.bz2</a></h1>
<pre>
<div class="subh"><a name="15">--- a/drivers/net/ppp_async.c   2005-03-15 
16:09:56 -08:00</a>
</div><div class="addh">+++ b/drivers/net/ppp_async.c   2005-03-15 16:09:56 
-08:00
</div><div class="hunk">@@ -1000,7 +1000,7 @@
</div><div class="ctxt">         data += 4;
</div><div class="ctxt">         dlen -= 4;
</div><div class="ctxt">         /* data[0] is code, data[1] is length */
</div><div class="subl">-        while (dlen &gt;= 2 &amp;&amp; dlen &gt;= 
data[1]) {
</div><div class="addl">+        while (dlen &gt;= 2 &amp;&amp; dlen &gt;= 
data[1] &amp;&amp; data[1] &gt;= 2) {
</div><div class="ctxt">                 switch (data[0]) {
</div><div class="ctxt">                 case LCP_MRU:
</div><div class="ctxt">                         val = (data[2] &lt;&lt; 8) + 
data[3];
</div></pre>
</body>
</html>

Reply via email to