本帖最后由 oppo 于 2014-11-7 13:53 编辑
现象:
1. 有rx error和dropped
[root@mars71 10.55.22.71 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr A4:BA:DB:2A:7F:B2
inet addr:10.54.22.71 Bcast:10.54.22.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19690063551 errors:1651 dropped:1651 overruns:0 frame:1651
TX packets:286957776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2770004192553 (2.5 TiB) TX bytes:37963611935 (35.3 GiB)
Interrupt:106 Memory:d6000000-d6012800
[root@mars71 10.55.22.71 ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr A4:BA:DB:2A:7F:B4
inet addr:10.55.22.71 Bcast:10.55.22.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:146800819704 errors:14 dropped:60724 overruns:0 frame:14
TX packets:140655980537 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15526976368356 (14.1 TiB) TX bytes:85106426142042 (77.4 TiB)
Interrupt:114 Memory:d8000000-d8012800
[root@mars71 10.55.22.71 ~]#
2. message可以看到网卡间歇性中断
[root@mars71 10.55.22.71 ~]# cat /var/log/messages | grep bnx2
Nov 2 19:01:35 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 2 19:02:33 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 2 19:02:46 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 2 19:03:56 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 2 19:21:48 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 2 19:22:47 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 2 19:22:59 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 2 19:24:08 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 01:55:56 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 01:56:54 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 01:57:06 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 01:58:15 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 02:36:58 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 02:37:56 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 02:38:09 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 02:39:17 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 02:56:08 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 02:57:06 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 02:57:19 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 02:58:27 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:04:37 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:05:35 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:05:47 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:06:56 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:15:37 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:16:35 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:16:48 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:17:56 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:19:38 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:20:36 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:20:49 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:21:58 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:22:02 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:23:00 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:23:12 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:24:21 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:31:43 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:32:41 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 03:32:54 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 03:34:02 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 11:23:39 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 11:24:37 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 11:24:50 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 11:25:58 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 17:32:48 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 17:33:46 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 17:33:58 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 17:35:07 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 20:03:59 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 20:04:57 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 20:05:09 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 20:06:19 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 6 20:06:20 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 6 20:06:22 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 7 12:17:16 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 7 12:18:14 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 7 12:18:27 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 7 12:19:35 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 7 12:51:12 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 7 12:52:11 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
Nov 7 12:52:23 mars71 kernel: bnx2: eth1 NIC Copper Link is Down
Nov 7 12:53:33 mars71 kernel: bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
[root@mars71 10.55.22.71 ~]#
3. 机器型号
[root@mars71 10.55.22.71 ~]# dmidecode -s system-product-name
PowerEdge R710
[root@mars71 10.55.22.71 ~]#
4. 网卡型号
[root@mars71 10.55.22.71 ~]# lspci |grep Ethe
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
[root@mars71 10.55.22.71 ~]#
5. 网卡驱动信息
[root@mars71 10.55.22.71 ~]# lsmod |grep bnx2
bnx2 211976 0
[root@mars71 10.55.22.71 ~]# modinfo bnx2
filename: /lib/modules/2.6.18-164.el5/updates/bnx2.ko
version: 1.9.20b
license: GPL
description: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author: Michael Chan <[email]mchan@broadcom.com[/email]>
srcversion: 824BF2D5650956C545AC5BD
alias: pci:v000014E4d0000163Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Bsv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Asv*sd*bc*sc*i*
alias: pci:v000014E4d00001639sv*sd*bc*sc*i*
alias: pci:v000014E4d000016ACsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*
alias: pci:v000014E4d0000164Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*
depends:
vermagic: 2.6.18-164.el5 SMP mod_unload gcc-4.1
parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)
[root@mars71 10.55.22.71 ~]# ethtool -i eth0
driver: bnx2
version: 1.9.20b
firmware-version: 5.0.11 NCSI 2.0.5
bus-info: 0000:01:00.0
[root@mars71 10.55.22.71 ~]# ethtool -i eth1
driver: bnx2
version: 1.9.20b
firmware-version: 5.0.11 NCSI 2.0.5
bus-info: 0000:01:00.1
[root@mars71 10.55.22.71 ~]#
|