From: Stefan Wenk <stefan.wenk@gmx.at>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: netdev@vger.kernel.org,
"bugme-daemon@kernel-bugs.osdl.org"
<bugme-daemon@bugzilla.kernel.org>,
Richard Purdie <rpurdie@rpsys.net>
Subject: Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync"
Date: Mon, 30 Apr 2007 14:08:58 +0200 [thread overview]
Message-ID: <200704301408.58185.stefan.wenk@gmx.at> (raw)
In-Reply-To: <20070429142047.d8617669.akpm@linux-foundation.org>
On Sunday 29 April 2007 23:20, Andrew Morton wrote:
> (switch to email - please retain all ccs)
>
> On Sun, 29 Apr 2007 13:01:25 -0700 bugme-daemon@bugzilla.kernel.org wrote:
> > http://bugzilla.kernel.org/show_bug.cgi?id=8405
> >
> > Summary: pppd does stops compresion with "Lost compression
> > sync" Kernel Version: 2.6.18-2.6.21
> > Status: NEW
> > Severity: normal
> > Owner: other_modules@kernel-bugs.osdl.org
> > Submitter: stefan.wenk@gmx.at
> >
> >
> > Most recent kernel where this bug did *NOT* occur:2.6.17
> > Distribution: Fedora core 3
> > Hardware Environment:
> > Software Environment:
> > Problem Description:
> > I have the same problem as reported on
> > http://www.luga.at/mailing-lists/luga/2007/02/msg00032.html (in German).
> > When I connect to my ISP via an analogue serial modem my Linux Box sends
> > a PPP Compression Control Protocol Termination Request with "Lost
> > compression sync" to the provider and then the provider dropps the link.
> > This does not happen with kernel
> > 2.6.17, but happens from kernel version 2.6.18 to 2.6.21 (not tested:
> > 2.6.19). If I put the nodeflate command line to the pppd then the link
> > remains stable. Steps to reproduce:
> > In order to find out what is happening I have set up a ppp connection via
> > a serial nullmodem to another old Linux box (kernel 2.2.14) and have
> > activated the kernel debug in the ppp_deflate.ko module. The "Lost
> > compression sync:" is reproducable in this configuration - the only
> > difference is that the link remains (without deflate compression).
> >
> > Here is the log vor /var/log/messages:
> >
> > Apr 29 16:53:34 linux kernel: PPP Deflate Compression module registered
> > Apr 29 16:53:47 linux pppd[9090]: pppd 2.4.4 started by root, uid 0
> > Apr 29 16:53:47 linux pppd[9090]: Using interface ppp0
> > Apr 29 16:53:47 linux pppd[9090]: Connect: ppp0 <--> /dev/pts/9
> > Apr 29 16:53:47 linux pppd[9090]: kernel does not support PPP filtering
> > Apr 29 16:53:47 linux pppd[9090]: Deflate (15) compression enabled
> > Apr 29 16:53:47 linux pppd[9090]: Cannot determine ethernet address for
> > proxy ARP Apr 29 16:53:47 linux pppd[9090]: local IP address 192.168.3.2
> > Apr 29 16:53:47 linux pppd[9090]: remote IP address 192.168.3.1
> > Apr 29 16:54:03 linux kernel: z_decompress0: inflate returned -5 ()
> > Apr 29 16:54:03 linux pppd[9090]: PPPIOCGFLAGS flags: c030c0
> > Apr 29 16:54:03 linux pppd[9090]: Lost compression sync: disabling
> > compression
> >
> > I had a look at the kernel patch of 2.6.18 - the lib/zlib/zlib_inflate
> > was changed a lot and for me it looks to be the reason of the problem.
>
> If you're referring to 4f3865fb57a04db7cca068fed1c15badc064a302,
> "zlib_inflate: Upgrade library code to a recent version" then that was
> mainly a zlib_inflate change, not a zlib_deflate change.
>
> But yes, I'd say that this patch might well have been the cause.
>
> http://userweb.kernel.org/~akpm/zlib-backout.patch is a backout patch
> against 2.6.21. If you apply that to 2.6.21 does it make ppp work again?
thanks for this backout patch. I have applied it to 2.6.21 and now pppd is
working with deflate again.
next prev parent reply other threads:[~2007-04-30 12:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200704292001.l3TK1P6d000716@fire-2.osdl.org>
2007-04-29 21:20 ` [Bugme-new] [Bug 8405] New: pppd does stops compresion with "Lost compression sync" Andrew Morton
2007-04-30 12:08 ` Stefan Wenk [this message]
2007-04-30 13:31 ` Richard Purdie
2007-04-30 19:12 ` Stefan Wenk
2007-05-01 3:20 ` Stefan Wenk
2007-05-01 3:36 ` Andrew Morton
2007-05-01 7:27 ` Stefan Wenk
2007-05-01 21:22 ` Richard Purdie
2007-05-02 16:59 ` Stefan Wenk
2007-05-03 0:23 ` Richard Purdie
2007-05-03 17:18 ` Stefan Wenk
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=200704301408.58185.stefan.wenk@gmx.at \
--to=stefan.wenk@gmx.at \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/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;
as well as URLs for NNTP newsgroup(s).