Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-05-03 Thread Stefan Wenk
On Thursday 03 May 2007 02:23, Richard Purdie wrote: On Wed, 2007-05-02 at 18:59 +0200, Stefan Wenk wrote: The situation now is similar as without any modifications. Instead of -5 (Z_BUF_ERROR) we get back -3 (Z_DATA_ERROR) from zlib_inflate. Here is the kernel log kernel: PPP generic

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-05-02 Thread Stefan Wenk
Having looked at the code a bit further, I have a theory that it was impossible to reach the zlib_inflateSyncPacket call ppp deflate needs. The patch below fixes that and also adds some debugging so if that isn't the problem, we might get some further clues as to what the problem is...

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-05-02 Thread Richard Purdie
On Wed, 2007-05-02 at 18:59 +0200, Stefan Wenk wrote: The situation now is similar as without any modifications. Instead of -5 (Z_BUF_ERROR) we get back -3 (Z_DATA_ERROR) from zlib_inflate. Here is the kernel log kernel: PPP generic driver version 2.4.2 pppd[6101]: pppd 2.4.4 started by

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-05-01 Thread Stefan Wenk
From the commend line: `dmesg -n 8'. The really big fix is to boot with the ignore_loglevel boot option. This will turn on all messages and will defeat any userspace attempt to turn the loglevel down. Thanks. With this command I see also the KERN_DEBUG printks now. Here is the full diff

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-05-01 Thread Richard Purdie
On Tue, 2007-05-01 at 09:27 +0200, Stefan Wenk wrote: Now I have changed these modifications back, and I do not see more debug information except those below: z_decompress0: Would have triggered an error as inflate returned -5 () z_decompress0: Would have triggered an error as inflate

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-04-30 Thread Stefan Wenk
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 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=8405 Summary: pppd does stops compresion with Lost compression sync Kernel

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-04-30 Thread Richard Purdie
On Mon, 2007-04-30 at 14:08 +0200, Stefan Wenk wrote: 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 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=8405 Here is the log vor

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-04-30 Thread Stefan Wenk
On Monday 30 April 2007 21:12, Stefan Wenk wrote: On Monday 30 April 2007 15:31, Richard Purdie wrote: On Mon, 2007-04-30 at 14:08 +0200, Stefan Wenk wrote: 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

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-04-30 Thread Andrew Morton
On Tue, 1 May 2007 05:20:10 +0200 Stefan Wenk [EMAIL PROTECTED] wrote: What is more interesting is that the pppd server log is logging errors. There are LCP EchoReq and EchoRep. Later a LCP ProtoRej messages occurs and then the connection is broken. I have attached a pppdump file of the

Re: [Bugme-new] [Bug 8405] New: pppd does stops compresion with Lost compression sync

2007-04-29 Thread Andrew Morton
(switch to email - please retain all ccs) On Sun, 29 Apr 2007 13:01:25 -0700 [EMAIL PROTECTED] 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