From: Tristan Colgate <colgate@spods.dcs.kcl.ac.uk>
To: axp-list@redhat.com
Subject: RE: 2.1.130 and pppd
Date: Fri, 18 Dec 1998 12:08:57 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.3.93.981218120751.32558A-100000@zippy.spods.dcs.kcl.ac.uk> (raw)
In-Reply-To: <Pine.LNX.4.04.9812140014320.12488-100000@earth.terran.org>
The latest Alan Cox patch for 132 mentions a fix for a panic in the ppp
code... this will hopefully fix the problem.
Tristan 'Minty' Colgate
================================
<colgate@spods.dcs.kcl.ac.uk>
PGP 5.0 key available on request
================================
'We are the music makers, the dreamers of the dream...'
-Willy Wonka
On Mon, 14 Dec 1998, B. James Phillippe wrote:
> On Mon, 14 Dec 1998, Vignaud Jean-Baptiste wrote:
>
> > > From: B. James Phillippe [mailto:bryan@terran.org]
> ...
> > > YES. There IS a fatal bug in the 2.1 kernel with networking. I have
> > > observed several Kernel panics, all from skput:over. All but one were
> > > dev:ppp0 (the oddball was eth0). The address is consistant across each
> > > panic (even the oddball for eth0) so this should not be hard to find.
> > > Without a -g compiled kernel, the closest I could see was
> > > rcv_proto_vjc_uncomp. However, I am rebuilding a 2.1.131 with -g and will
> > > try to nail this bastard tonight. It's already caused me major grief and
> > > some filesystem damage.
> >
> > I'v observed exactly the same behaviour on my sx164, the ppp compressor
> > was provocating kernel panic in rcv_proto_vjc_uncomp. To continue using
> > pppd you have to specify the "novj" option to the pppd...
>
> Yes, I have since found the exact line where the Panic occurs (with the
> symbol kernel and gdb). I put in a new check to catch the problem and give
> me more information. It has just succeeded this evening, after nearly two
> days of uptime. Here is the patch showing my test code (this is for
> debugging only, but has the side-effect of avoiding the panic):
>
> --- drivers/net/ppp.c.orig Mon Dec 14 00:18:06 1998
> +++ drivers/net/ppp.c Sat Dec 12 01:30:37 1998
> @@ -2047,6 +2047,11 @@
> "ppp: error in VJ decompression\n");
> return 0;
> }
> + /*BP*/if( skb->tail+(new_count+PPP_HDRLEN-skb->len) > skb->end ) {
> + printk( KERN_ERR "Avoiding PPP Panic! t:%p,e:%p c:%d,l:%d\n",
> + skb->tail, skb->end, new_count, skb->len );
> + return 0;
> + }/*BP*/
> skb_put(skb, new_count + PPP_HDRLEN - skb->len);
> return rcv_proto_ip(ppp, skb);
> }
>
> And here it is in action:
>
> Dec 13 23:54:25 earth kernel: Avoiding PPP Panic! t:fffffc0000a1bdce,e:fffffc0000a1be70 c:0,l:1470
>
> I have not had time to look further. It is possible there is a bug other
> than just trusting the return value of the VJ decompression algorithm.
> I'll post here and linux-kernel when I have more info.
>
> cheers,
> -bp
> --
> B. James Phillippe . bryan@terran.org
> Linux Engineer/Admin . http://www.terran.org/~bryan
> Member since 1.1.59 . finger:bryan@earth.terran.org
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
prev parent reply other threads:[~1998-12-18 12:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-10 18:48 2.1.130 and pppd Stefan Katzenbeisser
1998-12-10 19:04 ` Joakim Roubert
1998-12-11 10:37 ` Tristan Colgate
1998-12-11 17:30 ` Konrad Podloucky
1998-12-12 0:53 ` Tristan Colgate
1998-12-12 1:22 ` B. James Phillippe
1998-12-14 8:13 ` Vignaud Jean-Baptiste
1998-12-14 8:20 ` B. James Phillippe
1998-12-18 12:08 ` Tristan Colgate [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox