Messages of a hdlc device
Hello Halasa !!!
I'm using the generic hdlc layer with PPP protocol against a Lucent MAX6000. Everything works OK but there a kernel message bothering me:
protocol 0008 is buggy, dev hdlc0
I get this message nearly once per minute.
Do anyone know what is this message about ?
Must I worry about that ?
thanks in advance
---
Henrique Gobbi
Software Engineer
+55 11 50333339
Cyclades Corporation
Hello !!!
Are Halasa still maintaining the GENERIC HDLC LAYER ?
If not, how is the maintainer ?
regards
henrique
Quoted 18 lines · henrique
Hello Halasa !!!
I'm using the generic hdlc layer with PPP protocol against a Lucent MAX6000. Everything works OK but there a kernel message bothering me:
protocol 0008 is buggy, dev hdlc0
I get this message nearly once per minute.
Do anyone know what is this message about ?
Must I worry about that ?thanks in advance
---
Henrique Gobbi
Software Engineer
+55 11 50333339
Cyclades Corporation
Quoted 1 line · henrique
Are Halasa still maintaining the GENERIC HDLC LAYER ?
Well... I think I, Krzysztof Halasa, still do that.
Not that I have much time for such things - at least for now I'm limited to patching things and possibly working on 2.5 version.
Signature · 2 lines
Krzysztof Halasa Network Administrator
Quoted 8 lines · henrique
I'm using the generic hdlc layer with PPP protocol against a Lucent MAX6000. Everything works OK but there a kernel message bothering me:
protocol 0008 is buggy, dev hdlc0
I get this message nearly once per minute.
Do anyone know what is this message about ?
Not sure what exactly causes it. I was getting it while running tcpdump on PPP device.
Quoted 1 line
Must I worry about that ?
No.
Signature · 2 lines
Krzysztof Halasa Network Administrator
Em Tue, Jul 16, 2002 at 03:10:33PM +0200, Krzysztof Halasa escreveu:
Quoted 5 lines
Quoted 3 lines · henrique
I'm using the generic hdlc layer with PPP protocol against a Lucent MAX6000. Everything works OK but there a kernel message bothering me:
Quoted 8 lines
Quoted 5 lines
protocol 0008 is buggy, dev hdlc0
I get this message nearly once per minute.
Do anyone know what is this message about ?
Not sure what exactly causes it. I was getting it while running tcpdump on PPP device.
This is becoming a FAQ... see net/core/dev.c, line 907 on 2.5:
/* skb->nh should be correctly
set by sender, so that the second statement is
just protection against buggy protocols.
*/
skb2->mac.raw = skb2->data;
if (skb2->nh.raw < skb2->data || skb2->nh.raw > skb2->tail) {
if (net_ratelimit())
printk(KERN_DEBUG "protocol %04x is buggy, dev %s\n",
skb2->protocol, dev->name);
skb2->nh.raw = skb2->data;
}- Arnaldo
Hi,
Quoted 17 lines · Arnaldo Carvalho de Melo
Em Tue, Jul 16, 2002 at 03:10:33PM +0200, Krzysztof Halasa escreveu:
Quoted 5 lines
Quoted 3 lines · henrique
I'm using the generic hdlc layer with PPP protocol against a Lucent MAX6000. Everything works OK but there a kernel message bothering me:
Quoted 8 lines
Quoted 5 lines
protocol 0008 is buggy, dev hdlc0
I get this message nearly once per minute.
Do anyone know what is this message about ?
Not sure what exactly causes it. I was getting it while running tcpdump on PPP device.
This is becoming a FAQ... see
net/core/dev.c, line 907 on 2.5:
Quoted 12 lines
/* skb->nh should be correctly
set by sender, so that the second statement is
just protection against buggy protocols.
*/
skb2->mac.raw = skb2->data;
if (skb2->nh.raw < skb2->data || skb2->nh.raw > skb2->tail) {
if (net_ratelimit())
printk(KERN_DEBUG "protocol %04x is buggy, dev %s\n",
skb2->protocol, dev->name);
skb2->nh.raw = skb2->data;
}Not exactly a FAQ answer though. How about:
The error would appear to be benign. Something in the protocol stack is not setting one of the header fields correctly and this code has corrected the fault.
This error is only seen when running network monitoring software such as tcpdump as that is the only time the particular code path that detects the error is followed.
Also shouldn't that be:
Quoted 2 lines
printk(KERN_DEBUG "protocol %04x is buggy, dev %s\n",
htons(skb2->protocol),dev->name);
Signature · 1 line
Bob Dunlop
Em Tue, Jul 16, 2002 at 04:48:17PM +0100, Bob Dunlop escreveu:
Quoted 6 lines
Quoted 6 lines
This is becoming a FAQ... see
net/core/dev.c, line 907 on 2.5:/*
skb->nhshould be correctly
set by sender, so that the second statement is just protection against buggy protocols.
*/
<SNIP>
Quoted 1 line
Not exactly a FAQ answer though:
Agreed, but I talked with Henrique privately (in portuguese) and give a long explanation with examples of how to fix that.
- Arnaldo
Quoted 14 lines · Arnaldo Carvalho de Melo
This is becoming a FAQ... see
net/core/dev.c, line 907 on 2.5:/* skb->nh should be correctly set by sender, so that the second statement is just protection against buggy protocols. */ skb2->mac.raw = skb2->data; if (skb2->nh.raw < skb2->data || skb2->nh.raw > skb2->tail) { if (net_ratelimit()) printk(KERN_DEBUG "protocol %04x is buggy, dev %s\n", skb2->protocol, dev->name); skb2->nh.raw = skb2->data; }
Sure I know thats it, but I remember checking the code which resulted in nothing. Don't remember details, so I'll look at it again.
Signature · 2 lines
Krzysztof Halasa Network Administrator