* 2.1.130 and pppd
@ 1998-12-10 18:48 Stefan Katzenbeisser
1998-12-10 19:04 ` Joakim Roubert
1998-12-11 10:37 ` Tristan Colgate
0 siblings, 2 replies; 9+ messages in thread
From: Stefan Katzenbeisser @ 1998-12-10 18:48 UTC (permalink / raw)
To: axp-list
Today I tried to migrate to the 2.1.130 kernel; since then I cannot establish a
ppp connection:
Oct 10 10:14:35 dolph kernel: Use of setserial/setrocket to set SPD_* flags is deprecated
Oct 10 10:15:07 dolph kernel: registered device ppp0
Oct 10 10:15:07 dolph pppd[417]: pppd 2.3.3 started by katz, uid 500
Oct 10 10:15:07 dolph pppd[417]: Using interface ppp0
Oct 10 10:15:07 dolph pppd[417]: Connect: ppp0 <--> /dev/modem
Oct 10 10:15:08 dolph pppd[417]: ioctl(SIOCADDRT) device route: Network is down(50)
Oct 10 10:15:08 dolph pppd[417]: Connection terminated.
Oct 10 10:15:09 dolph pppd[417]: Exit.
Did anyone see this behaviour before?
Stefan.
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
| Stefan Katzenbeisser
| e-mail: katz@mail.com
| skatzenbeisser@acm.org
| http://stud3.tuwien.ac.at/~e9625414/
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Public PGP key available on my homepage or upon request.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.1.130 and pppd
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
1 sibling, 0 replies; 9+ messages in thread
From: Joakim Roubert @ 1998-12-10 19:04 UTC (permalink / raw)
To: axp-list
On Thu, 10 Dec 1998, Stefan Katzenbeisser wrote:
> Today I tried to migrate to the 2.1.130 kernel; since then I cannot establish a
> ppp connection:
Did you go from at 2.0-kernel to a 2.1-kernel?
If yes, recompile ppp.
/Jokke tmw.
···
http://www.efd.lth.se/~d97jro/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.1.130 and pppd
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
1 sibling, 1 reply; 9+ messages in thread
From: Tristan Colgate @ 1998-12-11 10:37 UTC (permalink / raw)
To: axp-list
Hi,
I have been getting a kernel panic when establishing ppp connection on
2.1.130, 2.1.129 works just fine though. it complains about something to
do with being unable to sync with something (Im away from my alpha atm so
I cant get the exact message).
Has anyone else found this?
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 Thu, 10 Dec 1998, Stefan Katzenbeisser wrote:
> Today I tried to migrate to the 2.1.130 kernel; since then I cannot establish a
> ppp connection:
>
> Oct 10 10:14:35 dolph kernel: Use of setserial/setrocket to set SPD_* flags is deprecated
> Oct 10 10:15:07 dolph kernel: registered device ppp0
> Oct 10 10:15:07 dolph pppd[417]: pppd 2.3.3 started by katz, uid 500
> Oct 10 10:15:07 dolph pppd[417]: Using interface ppp0
> Oct 10 10:15:07 dolph pppd[417]: Connect: ppp0 <--> /dev/modem
> Oct 10 10:15:08 dolph pppd[417]: ioctl(SIOCADDRT) device route: Network is down(50)
> Oct 10 10:15:08 dolph pppd[417]: Connection terminated.
> Oct 10 10:15:09 dolph pppd[417]: Exit.
>
> Did anyone see this behaviour before?
>
> Stefan.
>
> --
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> | Stefan Katzenbeisser
> | e-mail: katz@mail.com
> | skatzenbeisser@acm.org
> | http://stud3.tuwien.ac.at/~e9625414/
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> Public PGP key available on my homepage or upon request.
>
> --
> 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
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.1.130 and pppd
1998-12-11 10:37 ` Tristan Colgate
@ 1998-12-11 17:30 ` Konrad Podloucky
1998-12-12 0:53 ` Tristan Colgate
0 siblings, 1 reply; 9+ messages in thread
From: Konrad Podloucky @ 1998-12-11 17:30 UTC (permalink / raw)
To: axp-list; +Cc: Tristan Colgate
On 11-Dec-98 Tristan Colgate wrote:
> Hi,
>
> I have been getting a kernel panic when establishing ppp connection on
> 2.1.130, 2.1.129 works just fine though. it complains about something to
> do with being unable to sync with something (Im away from my alpha atm so
> I cant get the exact message).
>
> Has anyone else found this?
>
> 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
>
>
I'm running ppp under 2.1.130 with no problems. Did you update the pppd?
I'm using :
pppd version 2.3 patch level 5
(as reported by 'pppd --version').
Konrad Podloucky
______________________________________________________________________
Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Linux's (real and perceived) virtues over Windows NT include:
* Customization [...]
* Availability/Reliability [...]
* Scaleability/Performance [...]
* Interoperability [...]"
-- Microsoft ('Halloween II')
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.1.130 and pppd
1998-12-11 17:30 ` Konrad Podloucky
@ 1998-12-12 0:53 ` Tristan Colgate
1998-12-12 1:22 ` B. James Phillippe
0 siblings, 1 reply; 9+ messages in thread
From: Tristan Colgate @ 1998-12-12 0:53 UTC (permalink / raw)
To: axp-list
same version , though i have just started using Raines ppp scriptss, but
as I said, its all fine under 2.1.126
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 Fri, 11 Dec 1998, Konrad Podloucky wrote:
>
> On 11-Dec-98 Tristan Colgate wrote:
> > Hi,
> >
> > I have been getting a kernel panic when establishing ppp connection on
> > 2.1.130, 2.1.129 works just fine though. it complains about something to
> > do with being unable to sync with something (Im away from my alpha atm so
> > I cant get the exact message).
> >
> > Has anyone else found this?
> >
> > 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
> >
> >
>
> I'm running ppp under 2.1.130 with no problems. Did you update the pppd?
> I'm using :
> pppd version 2.3 patch level 5
> (as reported by 'pppd --version').
>
>
> Konrad Podloucky
> ______________________________________________________________________
> Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
> Vienna, Austria PGP-key available by request
>
> Running LINUX on an Alpha
>
>
> "Linux's (real and perceived) virtues over Windows NT include:
> * Customization [...]
> * Availability/Reliability [...]
> * Scaleability/Performance [...]
> * Interoperability [...]"
> -- Microsoft ('Halloween II')
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: 2.1.130 and pppd
1998-12-12 0:53 ` Tristan Colgate
@ 1998-12-12 1:22 ` B. James Phillippe
1998-12-14 8:13 ` Vignaud Jean-Baptiste
0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1998-12-12 1:22 UTC (permalink / raw)
To: axp-list
On Sat, 12 Dec 1998, Tristan Colgate wrote:
> On Fri, 11 Dec 1998, Konrad Podloucky wrote:
>
> >
> > On 11-Dec-98 Tristan Colgate wrote:
> > > Hi,
> > >
> > > I have been getting a kernel panic when establishing ppp connection on
> > > 2.1.130, 2.1.129 works just fine though. it complains about something to
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.
Please keep the linux-kernel people aware of this, or it might not get
fixed for a long time.
-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
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: 2.1.130 and pppd
1998-12-12 1:22 ` B. James Phillippe
@ 1998-12-14 8:13 ` Vignaud Jean-Baptiste
1998-12-14 8:20 ` B. James Phillippe
0 siblings, 1 reply; 9+ messages in thread
From: Vignaud Jean-Baptiste @ 1998-12-14 8:13 UTC (permalink / raw)
To: axp-list
Hi,
> -----Original Message-----
> From: B. James Phillippe [mailto:bryan@terran.org]
> Sent: samedi 12 décembre 1998 02:23
> To: axp-list@redhat.com
> Subject: Re: 2.1.130 and pppd
> On Sat, 12 Dec 1998, Tristan Colgate wrote:
> > On Fri, 11 Dec 1998, Konrad Podloucky wrote:
> > > On 11-Dec-98 Tristan Colgate wrote:
> > > > Hi,
> > > > I have been getting a kernel panic when establishing ppp
> connection on
> > > > 2.1.130, 2.1.129 works just fine though. it complains about
> something to
>
> 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...
Jean-Baptiste
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: 2.1.130 and pppd
1998-12-14 8:13 ` Vignaud Jean-Baptiste
@ 1998-12-14 8:20 ` B. James Phillippe
1998-12-18 12:08 ` Tristan Colgate
0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1998-12-14 8:20 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: 2.1.130 and pppd
1998-12-14 8:20 ` B. James Phillippe
@ 1998-12-18 12:08 ` Tristan Colgate
0 siblings, 0 replies; 9+ messages in thread
From: Tristan Colgate @ 1998-12-18 12:08 UTC (permalink / raw)
To: axp-list
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
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-12-18 12:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox