Subject: Re: Network hangs on current git kernel

From: Markus Trippelsdorf <[email-masked]>
Date: Sat, 2 Jun 2012 13:23:34 +0200

On 2012.06.02 at 13:15 +0200, Eric Dumazet wrote:
> On Sat, 2012-06-02 at 12:57 +0200, Francois Romieu wrote:
> > Eric Dumazet <[email-masked]> :
> > > On Sat, 2012-06-02 at 10:25 +0200, Markus Trippelsdorf wrote:
> > [hang]
> > > Maybe tell us what NIC it is, that sort of things...
> > 
> > As well as 'ip -s link' and complete dmesg from boot.
> > Kernel .config may be.
> 
> yes, and "netstat -s" is always useful

It's an ATL1E NIC. The kernel config is attached.

x4 ~ # ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    RX: bytes  packets  errors  dropped overrun mcast   
    67504459   240225   0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    67504459   240225   0       0       0       0      
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT 
    link/ether 32:b6:a1:5d:0e:50 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    0          0        0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    0          0        0       0       0       0      
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 00:24:8c:85:cb:a6 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    86110425   73948    0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    5936348    53272    0       0       5       0      

x4 ~ # netstat -s
Ip:
    313582 total packets received
    0 forwarded
    0 incoming packets discarded
    313535 incoming packets delivered
    293480 requests sent out
Icmp:
    4757 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 9
        echo replies: 4748
    4954 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 189
        echo request: 4765
IcmpMsg:
        InType0: 4748
        InType3: 9
        OutType3: 189
        OutType8: 4765
Tcp:
    1755 active connections openings
    582 passive connection openings
    0 failed connection attempts
    376 connection resets received
    2 connections established
    297761 segments received
    277427 segments send out
    106 segments retransmited
    0 bad segments received.
    375 resets sent
Udp:
    10802 packets received
    189 packets to unknown port received.
    0 packet receive errors
    11021 packets sent
    0 receive buffer errors
    0 send buffer errors
UdpLite:
TcpExt:
    927 TCP sockets finished time wait in fast timer
    23481 delayed acks sent
    Quick ack mode was activated 3 times
    3888 packets directly queued to recvmsg prequeue.
    5776 bytes directly in process context from backlog
    713707 bytes directly received in process context from prequeue
    124562 packet headers predicted
    2202 packets header predicted and directly queued to user
    6394 acknowledgments not containing data payload received
    75604 predicted acknowledgments
    19 times recovered from packet loss by selective acknowledgements
    Detected reordering 1 times using time stamp
    19 congestion windows fully recovered without slow start
    2 congestion windows partially recovered using Hoe heuristic
    7 congestion windows recovered without slow start after partial ack
    20 fast retransmits
    26 other TCP timeouts
    1 DSACKs sent for old packets
    2 DSACKs received
    64 connections reset due to unexpected data
    190 connections reset due to early user close
    TCPSackShifted: 1
    TCPSackMerged: 2
    TCPSackShiftFallback: 41
    TCPRcvCoalesce: 16980
IpExt:
    InBcastPkts: 32
    InOctets: 152575840
    OutOctets: 72695213
    InBcastOctets: 3072`

-- 
Markus