寻觅生命中的那一片浅草......

Update_Broadcom_NIC_driver_on_CentOS

1、build rpm package from source code
cd /dist/dist/
wget http://www.broadcom.com/docs/driver_download/NXII/linux-5.2.55.zip
cd /dist/src
unzip ../dist/linux-5.2.55.zip
cd Server/Linux/Driver/
rpm -Uvh netxtreme2-5.2.55-1.src.rpm

The source will be instlled in /usr/src/redhat/SOURCES
The build rules file will be instlled in /usr/src/redhat/SPECS

cd /usr/src/redhat/SPECS
rpmbuild -bb netxtreme2.spec
the package is stored in /usr/src/redhat/RPMS/x86_64/

2、install rpm package
vi update_net_driver.sh

if rpm -Uvh /usr/src/redhat/RPMS/x86_64/netxtreme2-5.2.55-1.x86_64.rpm
then
rmmod bnx2
modprobe bnx2
fi

save and quit
sh update_net_driver.sh

3、check driver version
ethtool -i eth0
ethtool -i eth1

尚无评论

发表评论

2024年四月
« 5月    
1234567
891011121314
15161718192021
22232425262728
2930