Problem solved,

Era conectat in capatul celalat intr-un router Dell pe care l-am inlocuit cu un 
Cisco.

 
 

-----------------------------------------------------------
Catalin Vasilescu




________________________________
 From: Catalin(ux) M. BOIE <ca...@embedromix.ro>
To: Catalin Vasilescu <catalin.vasile...@ymail.com>; Romanian Linux Users Group 
<rlug@lists.lug.ro> 
Sent: Monday, December 31, 2012 9:28 AM
Subject: Re: [rlug] RX  length errors
 
On Fri, 28 Dec 2012, Catalin Vasilescu wrote:

> Salut ,

Salut.

> Primesc length errors de cateva zile.
> Am schimbat cablul,portul la sw si pana si eth0 in eth1.
> Inca nu am facut update de driver.
> Stiu ca astfel de erori rezulta atunci cand setarile de duplex nu sunt la fel.
> Aveti un sfat ?

Acele erori sint pe rx (receive). Deci, cineva din retea ti le trimite. 
Poate switch-ul pe care il ai iti poate spune (din statistici) ce port 
face asta. Teoretic nu ar trebui sa-ti forwardeze astfel de pachete.

Oricum, sint destul de putine, nu ar trebui sa-ti faci griji.

Nu ai specificat ce tip de placa e. Dupa "a0:b3:cc" nu am gasit-o.
E posibil sa fie si un bug in driver si sa i se para ca "vede" pachete 
mici.

Pachetele pare ca trec de placa de retea catre kernel, asa ca ar trebui sa 
logheze acele pachete. Nu vezi nimic cu 'dmesg'-ul?

Cred ca-l poti prinde si cu tcpdump-ul:
tcpdump -nvvvli <interfata> less 59

Succes!

> root@debian:/var/log# ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr a0:b3:cc:xx:xx:xx
>           inet addr:109.163.x.x  Bcast:109.163.x.x  Mask:255.255.255.x
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:137332412 errors:40576 dropped:0 overruns:0 frame:40576
>           TX packets:258616269 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:8568610929 (7.9 GiB)  TX bytes:382393191380 (356.1 GiB)
>           Interrupt:17 Memory:fbce0000-fbd00000
>
>  
> ethtool eth1
> Settings for eth1:
>         Supported ports: [ TP ]
>         Supported link modes:   10baseT/Half 10baseT/Full
>                                 100baseT/Half
> 100baseT/Full
>                                 1000baseT/Full
>         Supports auto-negotiation: Yes
>         Advertised link modes:  10baseT/Half 10baseT/Full
>                                 100baseT/Half 100baseT/Full
>                                 1000baseT/Full
>         Advertised pause frame use: No
>         Advertised
> auto-negotiation: Yes
>         Speed: 1000Mb/s
>         Duplex: Full
>         Port: Twisted Pair
>         PHYAD: 1
>         Transceiver: internal
>         Auto-negotiation: on
>         MDI-X: on
>         Supports Wake-on: pumbag
>         Wake-on: g
>         Current message level: 0x00000001 (1)
>         Link detected: yes
>
>  ethtool -S eth1
> NIC statistics:
>      rx_packets: 139009776
>      tx_packets:
> 261690395
>      rx_bytes: 9228315359
>      tx_bytes: 387178701573
>      rx_broadcast: 1514916
>      tx_broadcast: 1
>      rx_multicast: 1358
>      tx_multicast: 6
>      rx_errors: 41079
>      tx_errors: 0
>      tx_dropped: 0
>      multicast: 1358
>      collisions: 0
>      rx_length_errors: 41079
>      rx_over_errors: 0
>      rx_crc_errors: 0
>      rx_frame_errors: 0
>      rx_no_buffer_count: 0
>      rx_missed_errors: 0
>      tx_aborted_errors: 0
>      tx_carrier_errors: 0
>     
> tx_fifo_errors: 0
>      tx_heartbeat_errors: 0
>      tx_window_errors: 0
>      tx_abort_late_coll: 0
>      tx_deferred_ok: 0
>      tx_single_coll_ok: 0
>      tx_multi_coll_ok: 0
>      tx_timeout_count: 0
>      tx_restart_queue: 81874
>      rx_long_length_errors: 0
>      rx_short_length_errors: 41079
>      rx_align_errors: 0
>      tx_tcp_seg_good: 51943185
>      tx_tcp_seg_failed: 0
>      rx_flow_control_xon: 0
>      rx_flow_control_xoff: 0
>      tx_flow_control_xon: 0
>      tx_flow_control_xoff: 0
>      rx_long_byte_count: 9228315359
>     
> rx_csum_offload_good: 137554367
>      rx_csum_offload_errors: 236
>      rx_header_split: 0
>      alloc_rx_buff_failed: 0
>      tx_smbus: 0
>      rx_smbus: 0
>      dropped_smbus: 0
>      rx_dma_failed: 0
>      tx_dma_failed: 0
>
>
>
> -----------------------------------------------------------
> Catalin Vasilescu
> _______________________________________________
> RLUG mailing list
> RLUG@lists.lug.ro
> http://lists.lug.ro/mailman/listinfo/rlug
>

--
Catalin(ux) M. BOIE
http://kernel.embedromix.ro/
_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui