Networking
dmesg + rhel + 根據 dmesg 需要更新什麼
我們有 linux rhel 伺服器
uname -r 3.10.0-862.el7.x86_64 more /etc/redhat-release Red Hat Enterprise Linux Server release 7.5 (Maipo)
從
dmesg
我們看到以下dmesg | grep "The driver for the device detected" [ 3.142303] i40e 0000:05:00.0: The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver. [ 3.483157] i40e 0000:05:00.1: The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver. [ 3.777228] i40e 0000:05:00.2: The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver. [ 4.031402] i40e 0000:05:00.3: The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver. [ 4.017949] i40e 0000:05:00.2: PCI-Express: Speed 8.0GT/s Width x8 [ 4.018367] i40e 0000:05:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 32 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA [ 4.031399] i40e 0000:05:00.3: fw 7.81.51051 api 1.8 nvm 7.10 0x800051a6 19.0.12 [ 4.031402] i40e 0000:05:00.3: The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver. [ 4.261774] i40e 0000:05:00.3: MAC address: 2c:bd:fe:1f:60:a1
工具:
ethtool -i papa1 driver: i40e version: 2.1.14-k firmware-version: 7.10 0x800051a6 19.0.12 expansion-rom-version: bus-info: 0000:05:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes
lshw
lshw -class network -short H/W path Device Class Description =========================================================== /0/100/3/0 network NetXtreme BCM5720 Gigabit Ethernet PCIe /0/100/3/0.1 network NetXtreme BCM5720 Gigabit Ethernet PCIe /0/100/3.1/0 network NetXtreme BCM5720 Gigabit Ethernet PCIe /0/100/3.1/0.1 network NetXtreme BCM5720 Gigabit Ethernet PCIe /0/100/3.2/0 network Ethernet Controller X710 for 10GbE SFP+ /0/100/3.2/0.1 network Ethernet Controller X710 for 10GbE SFP+ /0/100/3.2/0.2 network Ethernet Controller X710 for 10GbE SFP+ /0/100/3.2/0.3 network Ethernet Controller X710 for 10GbE SFP+ /3 network Ethernet interface /4 virbr0-nic network Ethernet interface /5 virbr0 network Ethernet interface
這是否意味著我們需要升級新的核心版本?
如果是,哪個版本?
另外,我們從核心看到以下消息
[ 1.017375] pci 0000:03:00.0: can't claim BAR 6 [mem 0xfff00000-0xffffffff pref]: no compatible bridge window [ 1.017378] pci 0000:02:00.0: can't claim BAR 6 [mem 0xfffc0000-0xffffffff pref]: no compatible bridge window [ 1.017381] pci 0000:02:00.1: can't claim BAR 6 [mem 0xfffc0000-0xffffffff pref]: no compatible bridge window [ 1.017383] pci 0000:01:00.0: can't claim BAR 6 [mem 0xfffc0000-0xffffffff pref]: no compatible bridge window [ 1.017385] pci 0000:01:00.1: can't claim BAR 6 [mem 0xfffc0000-0xffffffff pref]: no compatible bridge window [ 1.017387] pci 0000:05:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window [ 1.017390] pci 0000:05:00.1: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window [ 1.017392] pci 0000:05:00.2: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window [ 1.017394] pci 0000:05:00.3: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window dmesg --level=err [ 2.632067] i8042: No controller found [ 3.108100] megaraid_sas 0000:03:00.0: Init cmd return status SUCCESS for SCSI host 0
正如您在評論中提到的,關於 NVM 版本的警告可能會被忽略。但是,由於伺服器有 X710 網卡,您應該考慮至少升級到核心版本 3.10.0-1112.el7;有關詳細資訊,請參閱RHEL 7 核心更改日誌。