Skip to contentSkip to conversation

Ethernet packet loss - frame errors

LARTC Justin Schoeman 3 participants 8 messages Oct 13, 2006 – Nov 1, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
           TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
           Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Any help appreciated.

Thanks,

Justin

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Possibly the length of the cable ?

Quoted 27 lines · Justin Schoeman

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
           TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
           Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Any help appreciated.

Quoted 9 lines

Thanks,

Justin

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Justin Schoeman
Quoted 1 line · Andrei Sandu

Possibly the length of the cable ?

It is a 5m cable. It is also the 'common' cable - it is unplugged from the router and plugged into the bridge (the other side stays in the switch).

-justin

Quoted 40 lines

On 10/13/06, *Justin Schoeman* <[email protected] <mailto:[email protected]>> wrote:

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459 TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:492595115 ( 469.7 Mb) TX bytes:579725462 (552.8 Mb) Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Any help appreciated.

Thanks,

Justin

_______________________________________________
LARTC mailing list
[email protected] <mailto:[email protected]>
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Quoted 6 lines

------------------------------------------------------------------------

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Justin Schoeman
Quoted 24 lines · On Fri, 13 Oct 2006 10:26:14 +0200 Justin Schoeman <[email protected]>…

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
           TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
           Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Quoted 6 lines

Any help appreciated.

Thanks,

Justin

What speed and driver?
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#4 lore raw
In reply to Justin Schoeman
Quoted 27 lines · Stephen Hemminger
Quoted 24 lines · On Fri, 13 Oct 2006 10:26:14 +0200 Justin Schoeman <[email protected]>…

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
           TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
           Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Quoted 8 lines
Quoted 6 lines

Any help appreciated.

Thanks,

Justin

What speed and driver?

sky 2 driver, hardcoded for 100Mbps full duplex.

-justin
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#5 lore raw
In reply to Justin Schoeman

OK - Just finished more testing, and it seems to be a bug in the sky2 driver...

ping -s 1450 -f xxx.xxx.xxx.xxx

works perfectly, but

ping -s 1500 -f xxx.xxx.xxx.xxx

fails 100% with all packets being logged as frame errors.

-justin

Quoted 26 lines · Justin Schoeman

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
          TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
          Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Any help appreciated.

Quoted 8 lines

Thanks,

Justin

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#6 lore raw
In reply to Justin Schoeman
Quoted 30 lines · On Sat, 14 Oct 2006 15:18:32 +0200 Justin Schoeman <[email protected]>…
Quoted 29 lines · Stephen Hemminger
Quoted 26 lines · On Fri, 13 Oct 2006 10:26:14 +0200 Justin Schoeman <[email protected]>…

Hi all,

I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Now I get the following:

[root@localhost net]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:03:2D:07:61:5D

           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:1969134 errors:0 dropped:0 overruns:0 frame:176459
           TX packets:2186662 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:492595115 (469.7 Mb)  TX bytes:579725462 (552.8 Mb)
           Interrupt:17

eth3 is the interface that connects to the switch. As you can see, 1 in 10 rx packets are framing errors.

What are possible causes for this? The cable is a constant, so is not likely to cause problems, so what else can possibly cause such a high number of frame errors?

Any help appreciated.

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

Thanks,

Justin

What speed and driver?

sky 2 driver, hardcoded for 100Mbps full duplex.

In that driver, frame errors come from receiving fragments. Fragments are any packet shorter 64 bytes and has an invalid CRC.

These might occur if you have got a duplex mismatch.

Signature · 5 lines
Stephen Hemminger <[email protected]>
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#7 lore raw
In reply to Justin Schoeman
Quoted 5 lines · On Mon, 16 Oct 2006 16:09:50 +0200 Justin Schoeman <[email protected]>…

OK - Just finished more testing, and it seems to be a bug in the sky2 driver...

ping -s 1450 -f xxx.xxx.xxx.xxx

Quoted 8 lines

works perfectly, but

ping -s 1500 -f xxx.xxx.xxx.xxx

fails 100% with all packets being logged as frame errors.

-justin

Do you have an MTU mismatch? If the sender assumes it can send large packets, and the receiver doesn't expect them it might cause it.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc