升级Solarflare网卡固件

https://support.solarflare.com/index.php/component/cognidox/?view=categories&id=1945下载最新版本的Solarflare Linux Utilities RPM,然后解压、安装。

# unzip SF-107601-LS-63_Solarflare_Linux_Utilities_RPM_64bit.zip

# rpm -ivh sfutils-7.5.4.1001-1.x86_64.rpm
warning: sfutils-7.5.4.1001-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 1942abc7: NOKEY
Preparing...                ########################################### [100%]
   1:sfutils                ########################################### [100%]
Run "sfupdate"

    This will display the versions of the firmware currently 
    installed on your network adapter

Run "sfupdate --write"

    This will update the firmware on your adapter

sfupdate  --write --backup  这个命令可以在升级前保存原来的固件到本地文件中。

 示例:(https://github.com/coreos/bugs/issues/412

# sfupdate
Solarstorm firmware update utility [v3.4.0]
Copyright Solarflare Communications 2006-2013, Level 5 Networks 2002-2005

ens1f0 - MAC: 00-0F-53-12-00-88

ens1f1 - MAC: 00-0F-53-12-00-89
    Firmware version:   v3.2.0
    PHY type:           QT2025_KR
    PHY version:        v3.3.0.0
    Controller type:    Solarflare SFC9000 family
    Controller version: v3.2.0.6006
    Boot ROM version:   v3.1.0.4018

The PHY firmware is up to date
This utility contains more recent Boot ROM firmware [v3.3.1.6312]
   - run "sfupdate --write" to perform an update
This utility contains more recent controller firmware [v3.3.0.6275]
   - run "sfupdate --write" to perform an update

# sfupdate --write
Solarstorm firmware update utility [v3.4.0]
Copyright Solarflare Communications 2006-2013, Level 5 Networks 2002-2005
ens1f1: not changing PHY firmware from 3.3.0.0 to 3.3.0.0
ens1f1: updating controller firmware from 3.2.0.6006 to 3.3.0.6275
ens1f1: will be disabled during controller firmware update
To continue, press Y then Enter
To skip this update, press Enter
Y
ens1f1: writing controller firmware
[100%] Complete
[100%] Completeg adapter
ens1f1: updating Boot ROM from 3.1.0.4018 to 3.3.1.6312
ens1f1: writing Boot ROM
[100%] Complete
ens1f1: writing version information
[100%] Complete
ens1f0: writing version information
[100%] Complete

# sfupdate
Solarstorm firmware update utility [v3.4.0]
Copyright Solarflare Communications 2006-2013, Level 5 Networks 2002-2005

ens1f0 - MAC: 00-0F-53-12-00-88

ens1f1 - MAC: 00-0F-53-12-00-89
    Firmware version:   v3.4.0
    PHY type:           QT2025_KR
    PHY version:        v3.3.0.0
    Controller type:    Solarflare SFC9000 family
    Controller version: v3.3.0.6275
    Boot ROM version:   v3.3.1.6312

The PHY firmware is up to date
The Boot ROM firmware is up to date
The controller firmware is up to date

#ethtool -i ens1f0
driver: sfc
version: 4.0
firmware-version: 3.3.0.6275
bus-info: 0000:06:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
发布了87 篇原创文章 · 获赞 64 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/wqfhenanxc/article/details/99957244