免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4475 | 回复: 12
打印 上一主题 下一主题

[网络管理] 在线等,服务器网络异常 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-14 09:01 |只看该作者 |倒序浏览
本帖最后由 晶都小帅 于 2012-07-20 16:59 编辑

各位达人,咨询一个问题,最近有一台服务器总是无故没有网络,ping网关都不通,然后重启网络服务就好了,查看系统日志也没有日志报错,请问这是什么问题?

感谢各位
问题已解决
DELL官方回复:
【参考故障现象】

Broadcom的网卡,当使用了默认的网卡驱动,并且运行在高I/O的情况下出现网卡异常DOWN掉的情况,导致业务异常中断。

【故障原因】

  Broadcom网卡采用PCI-MSI-X 的多CPU中断模式,如果没有开启irqbalance 的话问题是不会显示出来的。
  一旦打开了irqbalance ,默认是开启。恰好你又使用了默认的驱动版本,那么会发现这个问题就会显现出来。
更新最新的驱动版本后,网卡采用了PCI-MSI 的中断方法。而且可以正常打开irqbalance 使系统进行均匀的调度。
  我们可以使用的是更新到最新的驱动来解决这个问题和irqbalance 并行的问题.

Linux中对网卡中断方式的选择;
By default, the driver enables MSI if it is supported by the kernel. It runs an interrupt test during initialization to determine if MSI is working. If the test passes, the driver enables MSI. Otherwise, it uses legacy INTx mode.
使用默认网卡驱动:



使用最新网卡驱动:



MSI中断方式和MSI-X中断方式的区别:

MSI Version. This is the Message Signaled Interrupts (MSI) version being used. The option MSI corresponds to the PCI 2.2 specification that supports 32 messages and a single MSI address value. The option MSI-X corresponds to the PCI 3.0 specification that supports 2,048 messages and an independent message address for each message

【解决方案】

  升级最新的网卡驱动和固件。推荐使用DELL官方网卡的网卡驱动。

1. LINUX ,Centos 环境:

如果网卡版本低于:2.0.8  都需要更新到最新版本:

Linux ,Centos 5.4  默认网卡驱动1.9.3

Linux ,Centos 5.5 默认网卡驱动 2.0.2

Release Notes
                        Broadcom bnx2 Linux Driver
                             Version 2.0.8e
                                04/13/2010

                          Broadcom Corporation
                         5300 California Avenue,
                            Irvine, CA 92617

               Copyright (c) 2004 - 2010 Broadcom Corporation
                           All rights reserved

bnx2 v2.0.8e (April 13, 2010) cnic 1.9.13b (Dec 16, 2009)
=========================================================
   Fixes
   -----
   1. Problem: (RHBZ 51136 Driver loses one MSI-X vector after many hours
               of traffic.

      Cause: Chip timing out on write cycle to the MSI-X mask bit, causing
             the unmask operation to be dropped.

      Change: Increase GRC timeout in register 0x8cc.

      Impact: bnx2x MSI-X mode.

   2. Problem: (RHBZ 554706) scheduling while atomic warning when bonding and
               VLANs are used with cnic loaded.

      Cause: bond_del_vlans_from_slave() holds bond->lock when calling
             ndo_vlan_rx_register().  bnx2 calls bnx2_netif_stop() to
             stop the rx handling while changing the vlgrp.  The call
             also calls bnx2_cnic_stop() which has many sleeping functions.

      Change: Do not stop cnic when VLANs are changed.  Since there is no
              reset during VLAN change, there is no need to stop cnic.

      Impact: VLAN and iSCSI.
=========================================================


LINUX环境;最新网驱动版本:2.0.23b    Broadcom网卡最新固件版本:6.4.5



新版网卡驱动下载地址:

ftp://ftp.us.dell.com/network/Bc ... x_Source_A01.tar.gz

驱动安装方法参考 readme

新版网卡固件下载地址:

http://supportapj.dell.com/suppo ... 1&fileid=484491



ftp://ftp.us.dell.com/network/NETW_FRMW_LX_R319248.BIN


发布日期        2011/11/2
版本:        6.4.5, A11


附上:17版本的驱动
http://www.dell.com/support/driv ... p;fileId=2961022662

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
2 [报告]
发表于 2012-07-14 09:02 |只看该作者
,ping网关都不通,
返回的什么结果

论坛徽章:
0
3 [报告]
发表于 2012-07-14 10:14 来自手机 |只看该作者
无法到达网关地址

论坛徽章:
0
4 [报告]
发表于 2012-07-14 11:07 |只看该作者
这种问题如果不提供更为详细的诊断信息,大神都帮不了你。

论坛徽章:
0
5 [报告]
发表于 2012-07-14 21:22 |只看该作者
1. 检查网卡驱动,升级到最新版本。
2.检查网线,是否是网线问题,或者网线没插好。
3.检查是否有bound,如果有关闭一个网卡试试。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2012-07-14 21:54 |只看该作者
可能是网卡驱动的问题.
以前遇到过一个,网卡接光纤转换器,网络负载大一点就不同了,开始以为是光转的毛病,后来发现是网卡的事情,更换一个Intel的网卡解决问题.

论坛徽章:
0
7 [报告]
发表于 2012-07-16 12:40 |只看该作者
使用tcpdump抓包看看。

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
8 [报告]
发表于 2012-07-16 14:24 |只看该作者
升级下系统试试。

论坛徽章:
21
白羊座
日期:2013-08-23 15:49:17金牛座
日期:2013-10-08 17:00:03处女座
日期:2013-10-12 11:54:11CU十二周年纪念徽章
日期:2013-10-24 15:41:34午马
日期:2013-11-27 14:07:21巨蟹座
日期:2013-12-04 10:56:03水瓶座
日期:2013-12-04 15:58:00亥猪
日期:2014-05-24 16:02:3115-16赛季CBA联赛之辽宁
日期:2016-11-07 13:52:53戌狗
日期:2013-08-23 16:15:31白羊座
日期:2013-08-24 21:59:24巨蟹座
日期:2013-08-25 16:34:24
9 [报告]
发表于 2012-07-16 16:18 |只看该作者
tcpdump 感觉这方法能帮助你找出原因。

论坛徽章:
0
10 [报告]
发表于 2012-07-16 22:07 |只看该作者
如果服务器在保,可以直接换网卡
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP