在安装redhat as5.4系统上默认的Broadcom NetXtreme II BCM 5709驱动为1.9.3,经常出现网卡会down的情况。经和dell沟通后,将网卡的驱动降为1.9.20d,降级后很久没有再出现过问题,
后来在一台服务器上再次出现了网卡down的情况,经分析发现down的服务器上多了一个bnx2id的服务。是否是因为bnx2id的启动而引起的网卡down。谢谢!以下是一些服务器信息,如有需要进一步的信息,请联系!
网卡驱动模块信息
modinfo bnx2
filename: /lib/modules/2.6.18-164.el5PAE/updates/bnx2.ko
version: 1.9.20d
license: GPL
description: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author: Michael Chan <[email protected]>
srcversion: 44355DFF4A0181C084FA24C
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.el5PAE SMP mod_unload 686 REGPARM 4KSTACKS gcc-4. 1
parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)
chkconfig --list|grep bnx
bnx2id 0:on 1:on 2:on 3:on 4:on 5:on 6:on
bnx2id的服务启动脚本
cat /etc/init.d/bnx2id
#!/bin/sh
#
# chkconfig: 345 6 90
# description: Starts and stops Broadcom's iSCSI initiator software
#
# processname: bnx2id
# pidfile: /var/run/bnx2id.pid
# Source function library.
. /etc/init.d/functions
PATH=/sbin:/bin:/usr/sbin:/usr/bin
RETVAL=0
start()
{
echo -n $"Starting Broadcom iSCSI initiator software: "
modprobe -q bnx2i
dev_maj_no=`cat /proc/devices | awk '/bnx2i/{print $1}'`
\rm -rf /dev/bnx2i
mknod /dev/bnx2i c ${dev_maj_no} 0
daemon bnx2id
RETVAL=$?
success
echo
[ $RETVAL -eq 0 ] || return
}
stop()
{
echo -n $"Stopping Broadcom iSCSI initiator software: "
rmmod bnx2i 2>/dev/null
rmmod cnic 2>/dev/null
sleep 5
rm -f /var/run/bnx2id.pid
pkill -KILL bnx2id
success
echo
}
restart()
{
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
status bnx2id
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit $RETVAL
操作系统版本
lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Release: 5.4
Codename: Tikanga
uname -a
Linux 192_168_167_41 2.6.18-164.el5PAE #1 SMP Tue Aug 18 15:59:11 EDT 2009 i686 i686 i386 GNU/Linux
硬件型号
dmidecode -t 1
# dmidecode 2.9
SMBIOS 2.6 present.
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: PowerEdge R610
Version: Not Specified
Serial Number: XXXXXXX
UUID: 44454C4C-3600-1043-8033-B6C04F583258
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified