Lsi卡和IB卡在CentOS中升级
LSI 9271
步骤1:准备升级工具和固件包
rpm -ivh MegaCli-8.07.14-1.noarch.rpm
[root@phegdata01 ~]# unzip 23-34-0-0005_SAS_2208_FW_IMAGE_APP_3-460-05-4565.zip
Archive: 23-34-0-0005_SAS_2208_FW_IMAGE_APP_3-460-05-4565.zip
inflating: 240_VD_Feature_Limitations_Known_Issues_Addendum_v1.0.pdf
inflating: Gas Gauge Update Procedure_RevD.pdf
inflating: mr2208fw.rom
inflating: TFM_70-25849-04.rom
inflating: TMMB_70-25842-12.rom
inflating: 23-34-0-0005_SAS_2208_FW_IMAGE_APP_3-460-05-4565.txt
步骤2:执行升级
[root@phegdata01 ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpFwFlash -f /root/mr2208fw.rom -a0
Adapter 0: LSI MegaRAID SAS 9271-8i
Vendor ID: 0x1000, Device ID: 0x005B
Package version on the controller: 23.12.0-0011
Package version of the image file: 23.34.0-0005
Download Completed.
Flashing image to adapter...
Adapter 0: Flash Completed.
Please reboot the system for the changes to take effect
Exit Code: 0x00
[root@phegdata01 ~]#
步骤3:升级前后验证
升级前
[root@phegdata01 ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0 | more
Adapter #0
==============================================================================
Versions
================
Product Name : LSI MegaRAID SAS 9271-8i
Serial No : SV54256880
FW Package Build: 23.12.0-0011
Mfg. Data
================
Mfg. Date : 10/15/15
Rework Date : 00/00/00
Revision No : 10B
Battery FRU : N/A
Image Versions in Flash:
================
BIOS Version : 5.38.00_4.12.05.00_0x05270000
WebBIOS Version : 6.1-62-e_62-Rel
Preboot CLI Version: 05.07-00:#%00011
FW Version : 3.240.05-2282
NVDATA Version : 2.1304.03-0117
Boot Block Version : 2.05.00.00-0010
BOOT Version : 07.26.13.219
Pending Images in Flash
================
BIOSBCONPCLIAPP NVDTBTBLBOOT
PCI Info
================
Controller Id : 0000
Vendor Id : 1000
Device Id : 005b
SubVendorId : 1000
SubDeviceId : 9271
Host Interface : PCIE
ChipRevision : D1
升级后
[root@phegdata01 ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -a0 | more
Adapter #0
==============================================================================
Versions
================
Product Name : LSI MegaRAID SAS 9271-8i
Serial No : SV54256880
FW Package Build: 23.34.0-0005
Mfg. Data
================
Mfg. Date : 10/15/15
Rework Date : 00/00/00
Revision No : 10B
Battery FRU : N/A
Image Versions in Flash:
================
BIOS Version : 5.50.03.0_4.17.08.00_0x06110200
WebBIOS Version : 6.1-76-e_76-Rel
Preboot CLI Version: 05.07-00:#%00011
FW Version : 3.460.05-4565
NVDATA Version : 2.1507.03-0155
Boot Block Version : 2.05.00.00-0010
BOOT Version : 07.26.26.219
Pending Images in Flash
================
None
PCI Info
================
Controller Id : 0000
Vendor Id : 1000
Device Id : 005b
SubVendorId : 1000
SubDeviceId : 9271
Host Interface : PCIE
ChipRevision : D1
Link Speed : 0
Number of Frontend Port: 0
Device Interface : PCIE
LSI 9211
步骤1:准备升级工具和固件包
[root@phegdata01 ~]# cd /opt/sas2ircu/
[root@phegdata01 sas2ircu]# ls
2118ir.bin mptsas2.rom sas2flash sas2ircu
步骤2:执行升级
[root@phegdata01 sas2ircu]# ./sas2flash -o -c 0 -b /opt/sas2ircu/mptsas2.rom -f 2118ir.bin
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Advanced Mode Set
Adapter Selected is a LSI SAS: SAS2008(B2)
Executing Operation: Flash Firmware Image
Firmware Image has a Valid Checksum.
Firmware Version 20.00.07.00
Firmware Image compatible with Controller.
Valid NVDATA Image found.
NVDATA Version 14.01.00.00
Checking for a compatible NVData image...
NVDATA Device ID and Chip Revision match verified.
NVDATA Versions Compatible.
Valid Initialization Image verified.
Valid BootLoader Image verified.
Beginning Firmware Download...
Firmware Download Successful.
Verifying Download...
Firmware Flash Successful.
Resetting Adapter...
Adapter Successfully Reset.
Executing Operation: Flash BIOS Image
Validating BIOS Image...
BIOS Header Signature is Valid
BIOS Image has a Valid Checksum.
BIOS PCI Structure Signature Valid.
BIOS Image Compatible with the SAS Controller.
Attempting to Flash BIOS Image...
Verifying Download...
Flash BIOS Image Successful.
Updated BIOS Version in BIOS Page 3.
Finished Processing Commands Successfully.
Exiting SAS2Flash.
[root@phegdata01 sas2ircu]#
步骤3:升级前后验证
升级前
[root@phegdata01 sas2ircu]# ./sas2flash -o -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Advanced Mode Set
Adapter Selected is a LSI SAS: SAS2008(B2)
Controller Number : 0
Controller : SAS2008(B2)
PCI Address : 00:06:00:00
SAS Address : 500605b-0-013c-a580
NVDATA Version (Default) : 11.00.00.08
NVDATA Version (Persistent) : 11.00.00.08
Firmware Product ID : 0x2713 (IR)
Firmware Version : 18.00.00.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS9211-8i
BIOS Version : 07.35.00.00
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : SAS9211-8i
Board Assembly : N/A
Board Tracer Number : N/A
升级后
[root@phegdata01 sas2ircu]# ./sas2flash -o -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
Advanced Mode Set
Adapter Selected is a LSI SAS: SAS2008(B2)
Controller Number : 0
Controller : SAS2008(B2)
PCI Address : 00:06:00:00
SAS Address : 500605b-0-013c-a580
NVDATA Version (Default) : 14.01.00.09
NVDATA Version (Persistent) : 14.01.00.09
Firmware Product ID : 0x2713 (IR)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS9211-8i
BIOS Version : 07.39.02.00
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : SAS9211-8i
Board Assembly : N/A
Board Tracer Number : N/A
Finished Processing Commands Successfully.
Exiting SAS2Flash.
[root@phegdata01 sas2ircu]#
IB
3.1 驱动
步骤1:准备驱动包
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# ls -alt
total 320
dr-xr-x---. 6 root root 4096 Apr 18 17:24 ..
drwxr-xr-x. 7 root root 4096 Feb 26 03:04 .
drwxr-xr-x. 2 root root 4096 Feb 26 03:04 repodata
drwxr-xr-x. 2 root root 8192 Feb 26 03:04 RPMS
drwxr-xr-x. 3 root root 31 Feb 26 03:03 utils
drwxr-xr-x. 2 root root 42 Feb 26 03:02 src
-rw-r--r--. 1 root root 7 Feb 26 03:02 .arch
-rw-r--r--. 1 root root 8 Feb 26 03:02 distro
-rw-r--r--. 1 root root 12 Feb 26 03:02 .mlnx
-rwxr-xr-x. 1 root root 18332 Feb 26 03:02 mlnx_add_kernel_support.sh
-rw-r--r--. 1 root root 2764 Feb 26 03:02 RPM-GPG-KEY-Mellanox
-rwxr-xr-x. 1 root root 11764 Feb 26 03:02 uninstall.sh
-rwxr-xr-x. 1 root root 5599 Feb 26 03:02 common.pl
-rwxr-xr-x. 1 root root 19066 Feb 26 03:02 create_mlnx_ofed_installers.pl
-rwxr-xr-x. 1 root root 4518 Feb 26 03:02 is_kmp_compat.sh
-rwxr-xr-x. 1 root root 205988 Feb 26 03:02 mlnxofedinstall
-rw-r--r--. 1 root root 22 Feb 26 03:01 .supported_kernels
drwxr-xr-x. 7 root root 4096 Feb 26 02:54 docs
步骤2:执行安装
安装依赖包
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# ./mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX-3.2-2.0.0.0.3841.logs
Verifying KMP rpms compatibility with target kernel...
Error: One or more required packages for installing MLNX_OFED are missing.
Please install the missing packages using your Linux distribution Package Management tool.
Run:
yum install gtk2 atk cairo tcl gcc-gfortran tk
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# yum install gtk2 atk cairo tcl gcc-gfortran tk
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 155 kB 00:00:05
(2/4): updates/7/x86_64/primary_db | 4.1 MB 00:00:07
(3/4): base/7/x86_64/primary_db | 5.3 MB 00:00:08
(4/4): extras/7/x86_64/primary_db | 117 kB 00:00:15
Determining fastest mirrors
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
Resolving Dependencies
--> Running transaction check
---> Package atk.x86_64 0:2.14.0-1.el7 will be installed
---> Package cairo.x86_64 0:1.14.2-1.el7 will be installed
--> Processing Dependency: libXrender.so.1()(64bit) for package: cairo-1.14.2-1.el7.x86_64
--> Processing Dependency: libGL.so.1()(64bit) for package: cairo-1.14.2-1.el7.x86_64
--> Processing Dependency: libEGL.so.1()(64bit) for package: cairo-1.14.2-1.el7.x86_64
---> Package gcc-gfortran.x86_64 0:4.8.5-4.el7 will be installed
--> Processing Dependency: libquadmath-devel = 4.8.5-4.el7 for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: libquadmath = 4.8.5-4.el7 for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: libgfortran = 4.8.5-4.el7 for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: gcc = 4.8.5-4.el7 for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-gfortran-4.8.5-4.el7.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package: gcc-gfortran-4.8.5-4.el7.x86_64
---> Package gtk2.x86_64 0:2.24.28-8.el7 will be installed
--> Processing Dependency: pango >= 1.20.0-1 for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXrandr >= 1.2.99.4-2 for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: hicolor-icon-theme for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libpangoft2-1.0.so.0()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libpangocairo-1.0.so.0()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libpango-1.0.so.0()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXrandr.so.2()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXinerama.so.1()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXfixes.so.3()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXdamage.so.1()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXcursor.so.1()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
--> Processing Dependency: libXcomposite.so.1()(64bit) for package: gtk2-2.24.28-8.el7.x86_64
---> Package tcl.x86_64 1:8.5.13-8.el7 will be installed
---> Package tk.x86_64 1:8.5.13-6.el7 will be installed
--> Processing Dependency: libXft.so.2()(64bit) for package: 1:tk-8.5.13-6.el7.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-4.el7 will be installed
--> Processing Dependency: libgomp = 4.8.5-4.el7 for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: cpp = 4.8.5-4.el7 for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: libgcc >= 4.8.5-4.el7 for package: gcc-4.8.5-4.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-4.el7.x86_64
---> Package hicolor-icon-theme.noarch 0:0.12-7.el7 will be installed
---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed
---> Package libXcursor.x86_64 0:1.1.14-2.1.el7 will be installed
---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
---> Package libXfixes.x86_64 0:5.0.1-2.1.el7 will be installed
---> Package libXft.x86_64 0:2.3.2-2.el7 will be installed
---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed
---> Package libXrandr.x86_64 0:1.4.2-2.el7 will be installed
---> Package libXrender.x86_64 0:0.9.8-2.1.el7 will be installed
---> Package libgfortran.x86_64 0:4.8.5-4.el7 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libquadmath.x86_64 0:4.8.5-4.el7 will be installed
---> Package libquadmath-devel.x86_64 0:4.8.5-4.el7 will be installed
---> Package mesa-libEGL.x86_64 0:10.6.5-3.20150824.el7 will be installed
--> Processing Dependency: mesa-libgbm = 10.6.5-3.20150824.el7 for package: mesa-libEGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libgbm.so.1()(64bit) for package: mesa-libEGL-10.6.5-3.20150824.el7.x86_64
---> Package mesa-libGL.x86_64 0:10.6.5-3.20150824.el7 will be installed
--> Processing Dependency: mesa-libglapi = 10.6.5-3.20150824.el7 for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libxshmfence.so.1()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libxcb-sync.so.1()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libxcb-present.so.0()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libxcb-dri3.so.0()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
--> Processing Dependency: libXxf86vm.so.1()(64bit) for package: mesa-libGL-10.6.5-3.20150824.el7.x86_64
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
---> Package pango.x86_64 0:1.36.8-2.el7 will be installed
--> Processing Dependency: libthai(x86-64) >= 0.1.9 for package: pango-1.36.8-2.el7.x86_64
--> Processing Dependency: libthai.so.0(LIBTHAI_0.1)(64bit) for package: pango-1.36.8-2.el7.x86_64
--> Processing Dependency: libthai.so.0()(64bit) for package: pango-1.36.8-2.el7.x86_64
--> Processing Dependency: libharfbuzz.so.0()(64bit) for package: pango-1.36.8-2.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-4.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-106.el7_2.4 will be installed
--> Processing Dependency: glibc-headers = 2.17-106.el7_2.4 for package: glibc-devel-2.17-106.el7_2.4.x86_64
--> Processing Dependency: glibc = 2.17-106.el7_2.4 for package: glibc-devel-2.17-106.el7_2.4.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-106.el7_2.4.x86_64
---> Package harfbuzz.x86_64 0:0.9.36-1.el7 will be installed
--> Processing Dependency: libgraphite2.so.3()(64bit) for package: harfbuzz-0.9.36-1.el7.x86_64
---> Package libXxf86vm.x86_64 0:1.1.3-2.1.el7 will be installed
---> Package libgcc.x86_64 0:4.8.3-9.el7 will be updated
---> Package libgcc.x86_64 0:4.8.5-4.el7 will be an update
---> Package libgomp.x86_64 0:4.8.3-9.el7 will be updated
---> Package libgomp.x86_64 0:4.8.5-4.el7 will be an update
---> Package libthai.x86_64 0:0.1.14-9.el7 will be installed
---> Package libxcb.x86_64 0:1.9-5.el7 will be updated
---> Package libxcb.x86_64 0:1.11-4.el7 will be an update
---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
---> Package mesa-libgbm.x86_64 0:10.6.5-3.20150824.el7 will be installed
---> Package mesa-libglapi.x86_64 0:10.6.5-3.20150824.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-78.el7 will be updated
--> Processing Dependency: glibc = 2.17-78.el7 for package: glibc-common-2.17-78.el7.x86_64
---> Package glibc.x86_64 0:2.17-106.el7_2.4 will be an update
---> Package glibc-headers.x86_64 0:2.17-106.el7_2.4 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-106.el7_2.4.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-106.el7_2.4.x86_64
---> Package graphite2.x86_64 0:1.3.6-1.el7_2 will be installed
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-78.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-106.el7_2.4 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-327.13.1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================
Installing:
atk x86_64 2.14.0-1.el7 base 251 k
cairo x86_64 1.14.2-1.el7 base 711 k
gcc-gfortran x86_64 4.8.5-4.el7 base 6.6 M
gtk2 x86_64 2.24.28-8.el7 base 3.4 M
tcl x86_64 1:8.5.13-8.el7 base 1.9 M
tk x86_64 1:8.5.13-6.el7 base 1.4 M
Installing for dependencies:
cpp x86_64 4.8.5-4.el7 base 5.9 M
gcc x86_64 4.8.5-4.el7 base 16 M
glibc-devel x86_64 2.17-106.el7_2.4 updates 1.0 M
glibc-headers x86_64 2.17-106.el7_2.4 updates 662 k
graphite2 x86_64 1.3.6-1.el7_2 updates 112 k
harfbuzz x86_64 0.9.36-1.el7 base 156 k
hicolor-icon-theme noarch 0.12-7.el7 base 42 k
kernel-headers x86_64 3.10.0-327.13.1.el7 updates 3.2 M
libXcomposite x86_64 0.4.4-4.1.el7 base 22 k
libXcursor x86_64 1.1.14-2.1.el7 base 30 k
libXdamage x86_64 1.1.4-4.1.el7 base 20 k
libXfixes x86_64 5.0.1-2.1.el7 base 18 k
libXft x86_64 2.3.2-2.el7 base 58 k
libXinerama x86_64 1.1.3-2.1.el7 base 14 k
libXrandr x86_64 1.4.2-2.el7 base 26 k
libXrender x86_64 0.9.8-2.1.el7 base 25 k
libXxf86vm x86_64 1.1.3-2.1.el7 base 17 k
libgfortran x86_64 4.8.5-4.el7 base 293 k
libmpc x86_64 1.0.1-3.el7 base 51 k
libquadmath x86_64 4.8.5-4.el7 base 182 k
libquadmath-devel x86_64 4.8.5-4.el7 base 46 k
libthai x86_64 0.1.14-9.el7 base 187 k
libxshmfence x86_64 1.2-1.el7 base 7.2 k
mesa-libEGL x86_64 10.6.5-3.20150824.el7 base 74 k
mesa-libGL x86_64 10.6.5-3.20150824.el7 base 184 k
mesa-libgbm x86_64 10.6.5-3.20150824.el7 base 40 k
mesa-libglapi x86_64 10.6.5-3.20150824.el7 base 39 k
mpfr x86_64 3.1.1-4.el7 base 203 k
pango x86_64 1.36.8-2.el7 base 287 k
Updating for dependencies:
glibc x86_64 2.17-106.el7_2.4 updates 3.6 M
glibc-common x86_64 2.17-106.el7_2.4 updates 11 M
libgcc x86_64 4.8.5-4.el7 base 95 k
libgomp x86_64 4.8.5-4.el7 base 130 k
libxcb x86_64 1.11-4.el7 base 189 k
Transaction Summary
=======================================================================================================================================================================
Install 6 Packages (+29 Dependent packages)
Upgrade ( 5 Dependent packages)
Total download size: 59 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/base/packages/atk-2.14.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA
Public key for atk-2.14.0-1.el7.x86_64.rpm is not installed
(1/40): atk-2.14.0-1.el7.x86_64.rpm | 251 kB 00:00:05
(2/40): cairo-1.14.2-1.el7.x86_64.rpm | 711 kB 00:00:05
Public key for glibc-2.17-106.el7_2.4.x86_64.rpm is not installed 15% [========- ] 3.8 MB/s | 8.9 MB 00:00:12 ETA
(3/40): glibc-2.17-106.el7_2.4.x86_64.rpm | 3.6 MB 00:00:01
(4/40): glibc-devel-2.17-106.el7_2.4.x86_64.rpm | 1.0 MB 00:00:00
(5/40): glibc-headers-2.17-106.el7_2.4.x86_64.rpm | 662 kB 00:00:00
(6/40): graphite2-1.3.6-1.el7_2.x86_64.rpm | 112 kB 00:00:00
(7/40): cpp-4.8.5-4.el7.x86_64.rpm | 5.9 MB 00:00:09
(8/40): harfbuzz-0.9.36-1.el7.x86_64.rpm | 156 kB 00:00:00
(9/40): hicolor-icon-theme-0.12-7.el7.noarch.rpm | 42 kB 00:00:00
(10/40): gtk2-2.24.28-8.el7.x86_64.rpm | 3.4 MB 00:00:02
(11/40): libXcomposite-0.4.4-4.1.el7.x86_64.rpm | 22 kB 00:00:00
(12/40): libXcursor-1.1.14-2.1.el7.x86_64.rpm | 30 kB 00:00:00
(13/40): libXdamage-1.1.4-4.1.el7.x86_64.rpm | 20 kB 00:00:00
(14/40): libXfixes-5.0.1-2.1.el7.x86_64.rpm | 18 kB 00:00:00
(15/40): libXft-2.3.2-2.el7.x86_64.rpm | 58 kB 00:00:00
(16/40): libXinerama-1.1.3-2.1.el7.x86_64.rpm | 14 kB 00:00:00
(17/40): libXrandr-1.4.2-2.el7.x86_64.rpm | 26 kB 00:00:00
(18/40): libXrender-0.9.8-2.1.el7.x86_64.rpm | 25 kB 00:00:00
(19/40): libXxf86vm-1.1.3-2.1.el7.x86_64.rpm | 17 kB 00:00:00
(20/40): libgcc-4.8.5-4.el7.x86_64.rpm | 95 kB 00:00:00
(21/40): libgfortran-4.8.5-4.el7.x86_64.rpm | 293 kB 00:00:00
(22/40): libgomp-4.8.5-4.el7.x86_64.rpm | 130 kB 00:00:00
(23/40): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:00:00
(24/40): libquadmath-4.8.5-4.el7.x86_64.rpm | 182 kB 00:00:00
(25/40): libquadmath-devel-4.8.5-4.el7.x86_64.rpm | 46 kB 00:00:00
(26/40): kernel-headers-3.10.0-327.13.1.el7.x86_64.rpm | 3.2 MB 00:00:02
(27/40): libthai-0.1.14-9.el7.x86_64.rpm | 187 kB 00:00:00
(28/40): libxshmfence-1.2-1.el7.x86_64.rpm | 7.2 kB 00:00:00
(29/40): libxcb-1.11-4.el7.x86_64.rpm | 189 kB 00:00:00
(30/40): mesa-libEGL-10.6.5-3.20150824.el7.x86_64.rpm | 74 kB 00:00:00
(31/40): mesa-libGL-10.6.5-3.20150824.el7.x86_64.rpm | 184 kB 00:00:00
(32/40): mesa-libgbm-10.6.5-3.20150824.el7.x86_64.rpm | 40 kB 00:00:00
(33/40): mesa-libglapi-10.6.5-3.20150824.el7.x86_64.rpm | 39 kB 00:00:00
(34/40): pango-1.36.8-2.el7.x86_64.rpm | 287 kB 00:00:00
(35/40): mpfr-3.1.1-4.el7.x86_64.rpm | 203 kB 00:00:00
(36/40): tk-8.5.13-6.el7.x86_64.rpm | 1.4 MB 00:00:01
(37/40): gcc-gfortran-4.8.5-4.el7.x86_64.rpm | 6.6 MB 00:00:15
(38/40): tcl-8.5.13-8.el7.x86_64.rpm | 1.9 MB 00:00:02
(39/40): glibc-common-2.17-106.el7_2.4.x86_64.rpm | 11 MB 00:00:12
(40/40): gcc-4.8.5-4.el7.x86_64.rpm | 16 MB 00:00:22
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.6 MB/s | 59 MB 00:00:23
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-1.1503.el7.centos.2.8.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Updating : libgcc-4.8.5-4.el7.x86_64 1/45
Updating : glibc-common-2.17-106.el7_2.4.x86_64 2/45
Updating : glibc-2.17-106.el7_2.4.x86_64 3/45
Installing : libXrender-0.9.8-2.1.el7.x86_64 4/45
Installing : libXfixes-5.0.1-2.1.el7.x86_64 5/45
Installing : mpfr-3.1.1-4.el7.x86_64 6/45
Installing : libmpc-1.0.1-3.el7.x86_64 7/45
Updating : libxcb-1.11-4.el7.x86_64 8/45
Installing : libquadmath-4.8.5-4.el7.x86_64 9/45
Installing : libXdamage-1.1.4-4.1.el7.x86_64 10/45
Installing : libXft-2.3.2-2.el7.x86_64 11/45
Installing : mesa-libglapi-10.6.5-3.20150824.el7.x86_64 12/45
Installing : mesa-libgbm-10.6.5-3.20150824.el7.x86_64 13/45
Installing : mesa-libEGL-10.6.5-3.20150824.el7.x86_64 14/45
Installing : libgfortran-4.8.5-4.el7.x86_64 15/45
Installing : cpp-4.8.5-4.el7.x86_64 16/45
Installing : libXcursor-1.1.14-2.1.el7.x86_64 17/45
Installing : libXrandr-1.4.2-2.el7.x86_64 18/45
Installing : 1:tcl-8.5.13-8.el7.x86_64 19/45
Installing : libXinerama-1.1.3-2.1.el7.x86_64 20/45
Installing : libXxf86vm-1.1.3-2.1.el7.x86_64 21/45
Installing : libXcomposite-0.4.4-4.1.el7.x86_64 22/45
Installing : atk-2.14.0-1.el7.x86_64 23/45
Installing : libxshmfence-1.2-1.el7.x86_64 24/45
Installing : mesa-libGL-10.6.5-3.20150824.el7.x86_64 25/45
Installing : cairo-1.14.2-1.el7.x86_64 26/45
Updating : libgomp-4.8.5-4.el7.x86_64 27/45
Installing : graphite2-1.3.6-1.el7_2.x86_64 28/45
Installing : harfbuzz-0.9.36-1.el7.x86_64 29/45
Installing : libthai-0.1.14-9.el7.x86_64 30/45
Installing : pango-1.36.8-2.el7.x86_64 31/45
Installing : kernel-headers-3.10.0-327.13.1.el7.x86_64 32/45
Installing : glibc-headers-2.17-106.el7_2.4.x86_64 33/45
Installing : glibc-devel-2.17-106.el7_2.4.x86_64 34/45
Installing : gcc-4.8.5-4.el7.x86_64 35/45
Installing : libquadmath-devel-4.8.5-4.el7.x86_64 36/45
Installing : hicolor-icon-theme-0.12-7.el7.noarch 37/45
Installing : gtk2-2.24.28-8.el7.x86_64 38/45
Installing : gcc-gfortran-4.8.5-4.el7.x86_64 39/45
Installing : 1:tk-8.5.13-6.el7.x86_64 40/45
Cleanup : libgomp-4.8.3-9.el7.x86_64 41/45
Cleanup : libxcb-1.9-5.el7.x86_64 42/45
Cleanup : glibc-2.17-78.el7.x86_64 43/45
Cleanup : glibc-common-2.17-78.el7.x86_64 44/45
Cleanup : libgcc-4.8.3-9.el7.x86_64 45/45
Verifying : 1:tcl-8.5.13-8.el7.x86_64 1/45
Verifying : gcc-4.8.5-4.el7.x86_64 2/45
Verifying : libXinerama-1.1.3-2.1.el7.x86_64 3/45
Verifying : libgcc-4.8.5-4.el7.x86_64 4/45
Verifying : glibc-headers-2.17-106.el7_2.4.x86_64 5/45
Verifying : glibc-common-2.17-106.el7_2.4.x86_64 6/45
Verifying : libxcb-1.11-4.el7.x86_64 7/45
Verifying : libXxf86vm-1.1.3-2.1.el7.x86_64 8/45
Verifying : glibc-devel-2.17-106.el7_2.4.x86_64 9/45
Verifying : hicolor-icon-theme-0.12-7.el7.noarch 10/45
Verifying : libXcursor-1.1.14-2.1.el7.x86_64 11/45
Verifying : mesa-libgbm-10.6.5-3.20150824.el7.x86_64 12/45
Verifying : libXcomposite-0.4.4-4.1.el7.x86_64 13/45
Verifying : atk-2.14.0-1.el7.x86_64 14/45
Verifying : 1:tk-8.5.13-6.el7.x86_64 15/45
Verifying : libXrender-0.9.8-2.1.el7.x86_64 16/45
Verifying : harfbuzz-0.9.36-1.el7.x86_64 17/45
Verifying : libquadmath-devel-4.8.5-4.el7.x86_64 18/45
Verifying : libXft-2.3.2-2.el7.x86_64 19/45
Verifying : libgfortran-4.8.5-4.el7.x86_64 20/45
Verifying : gcc-gfortran-4.8.5-4.el7.x86_64 21/45
Verifying : pango-1.36.8-2.el7.x86_64 22/45
Verifying : libmpc-1.0.1-3.el7.x86_64 23/45
Verifying : gtk2-2.24.28-8.el7.x86_64 24/45
Verifying : kernel-headers-3.10.0-327.13.1.el7.x86_64 25/45
Verifying : libXrandr-1.4.2-2.el7.x86_64 26/45
Verifying : libxshmfence-1.2-1.el7.x86_64 27/45
Verifying : mesa-libglapi-10.6.5-3.20150824.el7.x86_64 28/45
Verifying : libXfixes-5.0.1-2.1.el7.x86_64 29/45
Verifying : cpp-4.8.5-4.el7.x86_64 30/45
Verifying : libgomp-4.8.5-4.el7.x86_64 31/45
Verifying : cairo-1.14.2-1.el7.x86_64 32/45
Verifying : mpfr-3.1.1-4.el7.x86_64 33/45
Verifying : libquadmath-4.8.5-4.el7.x86_64 34/45
Verifying : graphite2-1.3.6-1.el7_2.x86_64 35/45
Verifying : mesa-libGL-10.6.5-3.20150824.el7.x86_64 36/45
Verifying : libXdamage-1.1.4-4.1.el7.x86_64 37/45
Verifying : mesa-libEGL-10.6.5-3.20150824.el7.x86_64 38/45
Verifying : libthai-0.1.14-9.el7.x86_64 39/45
Verifying : glibc-2.17-106.el7_2.4.x86_64 40/45
Verifying : glibc-2.17-78.el7.x86_64 41/45
Verifying : libgomp-4.8.3-9.el7.x86_64 42/45
Verifying : libxcb-1.9-5.el7.x86_64 43/45
Verifying : libgcc-4.8.3-9.el7.x86_64 44/45
Verifying : glibc-common-2.17-78.el7.x86_64 45/45
Installed:
atk.x86_64 0:2.14.0-1.el7 cairo.x86_64 0:1.14.2-1.el7 gcc-gfortran.x86_64 0:4.8.5-4.el7 gtk2.x86_64 0:2.24.28-8.el7 tcl.x86_64 1:8.5.13-8.el7
tk.x86_64 1:8.5.13-6.el7
Dependency Installed:
cpp.x86_64 0:4.8.5-4.el7 gcc.x86_64 0:4.8.5-4.el7 glibc-devel.x86_64 0:2.17-106.el7_2.4
glibc-headers.x86_64 0:2.17-106.el7_2.4 graphite2.x86_64 0:1.3.6-1.el7_2 harfbuzz.x86_64 0:0.9.36-1.el7
hicolor-icon-theme.noarch 0:0.12-7.el7 kernel-headers.x86_64 0:3.10.0-327.13.1.el7 libXcomposite.x86_64 0:0.4.4-4.1.el7
libXcursor.x86_64 0:1.1.14-2.1.el7 libXdamage.x86_64 0:1.1.4-4.1.el7 libXfixes.x86_64 0:5.0.1-2.1.el7
libXft.x86_64 0:2.3.2-2.el7 libXinerama.x86_64 0:1.1.3-2.1.el7 libXrandr.x86_64 0:1.4.2-2.el7
libXrender.x86_64 0:0.9.8-2.1.el7 libXxf86vm.x86_64 0:1.1.3-2.1.el7 libgfortran.x86_64 0:4.8.5-4.el7
libmpc.x86_64 0:1.0.1-3.el7 libquadmath.x86_64 0:4.8.5-4.el7 libquadmath-devel.x86_64 0:4.8.5-4.el7
libthai.x86_64 0:0.1.14-9.el7 libxshmfence.x86_64 0:1.2-1.el7 mesa-libEGL.x86_64 0:10.6.5-3.20150824.el7
mesa-libGL.x86_64 0:10.6.5-3.20150824.el7 mesa-libgbm.x86_64 0:10.6.5-3.20150824.el7 mesa-libglapi.x86_64 0:10.6.5-3.20150824.el7
mpfr.x86_64 0:3.1.1-4.el7 pango.x86_64 0:1.36.8-2.el7
Dependency Updated:
glibc.x86_64 0:2.17-106.el7_2.4 glibc-common.x86_64 0:2.17-106.el7_2.4 libgcc.x86_64 0:4.8.5-4.el7 libgomp.x86_64 0:4.8.5-4.el7 libxcb.x86_64 0:1.11-4.el7
Complete!
安装
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# ./mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX-3.2-2.0.0.0.5367.logs
Verifying KMP rpms compatibility with target kernel...
This program will install the MLNX_OFED_LINUX package on your machine.
Note that all other Mellanox, OEM, OFED, or Distribution IB packages will be removed.
Do you want to continue?[y/N]:y
rpm --nosignature -e --allmatches --nodeps libibverbs librdmacm libibverbs librdmacm rdma rdma libibverbs-1.1.8-5.el7.x86_64
Starting MLNX_OFED_LINUX-3.2-2.0.0.0 installation ...
Installing mlnx-ofa_kernel RPM
Preparing... ########################################
Updating / installing...
mlnx-ofa_kernel-3.2-OFED.3.2.2.0.0.1.g########################################
Configured /etc/security/limits.conf
Installing kmod-mlnx-ofa_kernel 3.2 RPM
Preparing... ########################################
kmod-mlnx-ofa_kernel-3.2-OFED.3.2.2.0.########################################
Installing mlnx-ofa_kernel-devel RPM
Preparing... ########################################
Updating / installing...
mlnx-ofa_kernel-devel-3.2-OFED.3.2.2.0########################################
Installing kmod-kernel-mft-mlnx 4.3.0 RPM
Preparing... ########################################
kmod-kernel-mft-mlnx-4.3.0-1.rhel7u1 ########################################
Installing knem-mlnx RPM
Preparing... ########################################
Updating / installing...
knem-mlnx-1.1.2.90mlnx1-OFED.3.2.1.0.0########################################
Installing kmod-knem-mlnx 1.1.2.90mlnx1 RPM
Preparing... ########################################
kmod-knem-mlnx-1.1.2.90mlnx1-OFED.3.2.########################################
Installing kmod-iser 1.7.0 RPM
Preparing... ########################################
kmod-iser-1.7.0-OFED.3.2.2.0.0.1.g378f########################################
Installing kmod-srp 1.5.5 RPM
Preparing... ########################################
kmod-srp-1.5.5-OFED.3.2.2.0.0.1.g378ff########################################
Installing kmod-isert 1.0 RPM
Preparing... ########################################
kmod-isert-1.0-OFED.3.2.2.0.0.1.g378ff########################################
Installing mpi-selector RPM
Preparing... ########################################
Updating / installing...
mpi-selector-1.0.3-1.32200 ########################################
Installing user level RPMs:
Preparing... ########################################
ofed-scripts-3.2-OFED.3.2.2.0.0 ########################################
Preparing... ########################################
libibverbs-1.1.8mlnx1-OFED.3.2.1.5.0.3########################################
Preparing... ########################################
libibverbs-devel-1.1.8mlnx1-OFED.3.2.1########################################
Preparing... ########################################
libibverbs-devel-static-1.1.8mlnx1-OFE########################################
Preparing... ########################################
libibverbs-utils-1.1.8mlnx1-OFED.3.2.1########################################
Preparing... ########################################
libmlx4-1.0.6mlnx1-OFED.3.2.0.1.1.3220########################################
Preparing... ########################################
libmlx4-devel-1.0.6mlnx1-OFED.3.2.0.1.########################################
Preparing... ########################################
libmlx5-1.0.2mlnx1-OFED.3.2.1.5.3.3220########################################
Preparing... ########################################
libmlx5-devel-1.0.2mlnx1-OFED.3.2.1.5.########################################
Preparing... ########################################
libibcm-1.0.5mlnx2-OFED.3.0.11.gd7d485########################################
Preparing... ########################################
libibcm-devel-1.0.5mlnx2-OFED.3.0.11.g########################################
Preparing... ########################################
libibumad-1.3.10.2.MLNX20150406.966500########################################
Preparing... ########################################
libibumad-devel-1.3.10.2.MLNX20150406.########################################
Preparing... ########################################
libibumad-static-1.3.10.2.MLNX20150406########################################
Preparing... ########################################
libibmad-1.3.12.MLNX20151122.d140cb1-0########################################
Preparing... ########################################
libibmad-devel-1.3.12.MLNX20151122.d14########################################
Preparing... ########################################
libibmad-static-1.3.12.MLNX20151122.d1########################################
Preparing... ########################################
ibsim-0.6-0.8.g9d76581.32200 ########################################
Preparing... ########################################
ibacm-1.1.0mlnx-OFED.3.2.0.0.5.32200 ########################################
Preparing... ########################################
librdmacm-1.0.21mlnx-OFED.3.1.1.5.5.32########################################
Preparing... ########################################
librdmacm-utils-1.0.21mlnx-OFED.3.1.1.########################################
Preparing... ########################################
librdmacm-devel-1.0.21mlnx-OFED.3.1.1.########################################
Preparing... ########################################
libsdp-1.1.108-OFED.3.0.8.gfbd01df.322########################################
Preparing... ########################################
libsdp-devel-1.1.108-OFED.3.0.8.gfbd01########################################
Preparing... ########################################
opensm-libs-4.6.1.MLNX20160112.774e977########################################
Preparing... ########################################
opensm-4.6.1.MLNX20160112.774e977-0.1.########################################
Preparing... ########################################
opensm-devel-4.6.1.MLNX20160112.774e97########################################
Preparing... ########################################
opensm-static-4.6.1.MLNX20160112.774e9########################################
Preparing... ########################################
dapl-2.1.7mlnx-OFED.3.2.0.0.9.32200 ########################################
Preparing... ########################################
dapl-devel-2.1.7mlnx-OFED.3.2.0.0.9.32########################################
Preparing... ########################################
dapl-devel-static-2.1.7mlnx-OFED.3.2.0########################################
Preparing... ########################################
dapl-utils-2.1.7mlnx-OFED.3.2.0.0.9.32########################################
Preparing... ########################################
perftest-3.0-0.18.gb464d59.32200 ########################################
Preparing... ########################################
mstflint-4.3.0-1.49.g9b9af70.32200 ########################################
Preparing... ########################################
mft-4.3.0-25 ########################################
Preparing... ########################################
sdpnetstat-1.60-26.32200 ########################################
Preparing... ########################################
srptools-1.0.2-12.32200 ########################################
Preparing... ########################################
rds-tools-2.0.7-1.12.32200 ########################################
Preparing... ########################################
rds-devel-2.0.7-1.12.32200 ########################################
Preparing... ########################################
ibutils2-2.1.1-0.76.MLNX20160222.gd366########################################
Preparing... ########################################
ibutils-1.5.7.1-0.12.gdcaeae2.32200 ########################################
Preparing... ########################################
cc_mgr-1.0-0.29.ga1ea4b7.32200 ########################################
Preparing... ########################################
dump_pr-1.0-0.25.ga1ea4b7.32200 ########################################
Preparing... ########################################
ar_mgr-1.0-0.30.ga1ea4b7.32200 ########################################
Preparing... ########################################
ibdump-4.0.0-2.32200 ########################################
Preparing... ########################################
infiniband-diags-1.6.6.MLNX20151130.7f########################################
Preparing... ########################################
infiniband-diags-compat-1.6.6.MLNX2015########################################
Preparing... ########################################
qperf-0.4.9-9.32200 ########################################
Preparing... ########################################
fca-2.5.2431-1.32200 ########################################
Preparing... ########################################
mxm-3.4.3079-1.32200 ########################################
Preparing... ########################################
mvapich2-2.2a-1.32200 ########################################
Preparing... ########################################
openmpi-1.10.3a1-1.32200 ########################################
Preparing... ########################################
hcoll-3.4.807-1.32200 ########################################
Preparing... ########################################
libibprof-1.1.22-1.32200 ########################################
Preparing... ########################################
mlnx-ethtool-4.2-1.32200 ########################################
Preparing... ########################################
mlnxofed-docs-3.2-2.0.0.0 ########################################
Preparing... ########################################
mpitests_mvapich2-3.2.17-e1c7f2f.32200########################################
Preparing... ########################################
mpitests_openmpi-3.2.17-e1c7f2f.32200 ########################################
Device (81:00.0):
81:00.0 InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE] (rev b0)
Link Width: x8
PCI Link Speed: 5GT/s
Installation finished successfully.
Preparing... ################################# [100%]
Updating / installing...
1:mlnx-fw-updater-3.2-2.0.0.0 ################################# [100%]
Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/infiniband/openib.conf
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
Device #1:
----------
Device Type: ConnectX2
Part Number: MHQH29B_A3-A5
Description: ConnectX-2 VPI adapter card; dual-port; 40Gb/s QSFP; PCIe2.0 x8 5.0GT/s; RoHS R6
PSID: MT_0D81120009
PCI Device Name: 81:00.0
Port1 GUID: 0002c9030059c86f
Port2 GUID: 0002c9030059c870
Versions: Current Available
FW 2.9.1000 2.9.1000
Status: Up to date
Log File: /tmp/MLNX_OFED_LINUX-3.2-2.0.0.0.5367.logs/fw_update.log
To load the new driver, run:
/etc/init.d/openibd restart
步骤3:安装前后验证
查看Driver加载
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# /etc/init.d/openibd status
HCA driver loaded
Configured IPoIB devices:
ib0 ib1
Currently active IPoIB devices:
Configured Mellanox EN devices:
Currently active Mellanox devices:
ib0
ib1
The following OFED modules are loaded:
rdma_ucm
ib_srp
rdma_cm
ib_addr
ib_ipoib
mlx4_core
mlx4_ib
mlx4_en
ib_uverbs
ib_umad
ib_ucm
ib_sa
ib_cm
ib_mad
ib_core
scsi_transport_srp
查看卡状态
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# ibstat
CA 'mlx4_0'
CA type: MT26428
Number of ports: 2
Firmware version: 2.9.1000
Hardware version: b0
Node GUID: 0x0002c9030059c86e
System image GUID: 0x0002c9030059c871
Port 1:
State: Down
Physical state: Polling
Rate: 10
Base lid: 0
LMC: 0
SM lid: 0
Capability mask: 0x02590868
Port GUID: 0x0002c9030059c86f
Link layer: InfiniBand
Port 2:
State: Down
Physical state: Polling
Rate: 10
Base lid: 0
LMC: 0
SM lid: 0
Capability mask: 0x02590868
Port GUID: 0x0002c9030059c870
Link layer: InfiniBand
查看固件版本
[root@phegdata01 ~]# ethtool -i ib0
driver: ib_ipoib
version: 1.0.0
firmware-version: 2.9.1000
bus-info: 0000:81:00.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[root@phegdata01 ~]#
查看Device name
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# mst status
MST modules:
------------
MST PCI module loaded
MST PCI configuration module loaded
MST devices:
------------
/dev/mst/mt26428_pciconf0 - PCI configuration cycles access.
domain:bus:dev.fn=0000:81:00.0 addr.reg=88 data.reg=92
Chip revision is: B0
/dev/mst/mt26428_pci_cr0 - PCI direct access.
domain:bus:dev.fn=0000:81:00.0 bar=0xc8000000 size=0x100000
Chip revision is: B0
查看PSID
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# flint -d /dev/mst/mt26428_pci_cr0 query
Image type: FS2
FW Version: 2.9.1000
Device ID: 26428
Description: Node Port1 Port2 Sys image
GUIDs: 0002c9030059c86e 0002c9030059c86f 0002c9030059c870 0002c9030059c871
MACs: 0002c959c86e 0002c959c86f
VSD:
PSID: MT_0D81120009
查看PSID方法2
[root@phegdata01 MLNX_OFED_LINUX-3.2-2.0.0.0-rhel7.1-x86_64]# mstflint -d 81:00.0 q
Image type: FS2
FW Version: 2.9.1000
Device ID: 26428
Description: Node Port1 Port2 Sys image
GUIDs: 0002c9030059c86e 0002c9030059c86f 0002c9030059c870 0002c9030059c871
MACs: 0002c959c86e 0002c959c86f
VSD:
PSID: MT_0D81120009
查看PSID方法3
[root@phegdata01 ~]# ibv_devinfo
hca_id: mlx4_0
transport: InfiniBand (0)
fw_ver: 2.9.1000
node_guid: 0002:c903:0059:c86e
sys_image_guid: 0002:c903:0059:c871
vendor_id: 0x02c9
vendor_part_id: 26428
hw_ver: 0xB0
board_id: MT_0D81120009
phys_port_cnt: 2
Device ports:
port: 1
state: PORT_DOWN (1)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: InfiniBand
port: 2
state: PORT_DOWN (1)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: InfiniBand
升级固件
步骤1:用PSID到官网下载固件
步骤2:执行升级
[root@phegdata01 ~]# flint -d 81:00.0 -i /root/fw-ConnectX2-rel-2_9_1000-MHQH29B_A3-A5.bin b
Current FW version on flash: 2.9.1000
New FW version: 2.9.1000
Note: The new FW version is the same as the current FW version on flash.
Do you want to continue ? (y/n) [n] : y
Burning FS2 FW image without signatures - OK
Restoring signature - OK
Lsi卡和IB卡在CentOS中升级的更多相关文章
- webstorm卡、闪退以及win10中jdk配置【转】
原文地址:webstorm卡.闪退以及win10中jdk配置 今天 webstorm 突然一直处于 indexing 索引状态,然后就卡死,重装也无法解决. 搜了一下后,有人说使用 64 位客户端 ...
- 非接触IC卡中typeA卡和typeB卡的区别--总结,二者的调制方式和编码方式不同
非接触IC卡中typeA卡和typeB卡的区别--总结,二者的调制方式和编码方式不同 1.非接触式IC卡的国际规范ISO/IEC14443的由来? 在非接触式IC卡的发展过程中,这些问题逐渐被解决并形 ...
- 智能手机中下一次被消灭的部件是电话卡和TF卡
智能手机中下一次被消灭的部件是电话卡和TF卡. 侧滑实体键盘,实体拍照键,HDMI外接接口,实体切换双卡键,可拆卸后盖……这些都消亡了,被其更好的内在设计所取代.而电话卡和TF卡仍在使用.将来的智能手 ...
- 1,Linux(CentOS)中的基本配置
1,hostname(主机名) 查看主机名:hostname 临时修改主机名:hostname hadoop1 永久修改主机名:vi etc/sysconfig/network : [NETWORK ...
- MicroSD卡(TF卡)SPI模式实现方法
现在我们手机的内存卡多为Micro SD卡,又叫TF卡,所以Micro SD卡比SD卡常见.自己曾经也想写写SD卡的读取程序,但又不想特地再去买个SD卡,这时想起手机内存卡不是和SD卡很像吗?在网上查 ...
- IC卡、M1卡、CPU卡、SAM卡、PSAM卡的联系与区别
一. 技术方面(非接触式IC卡) 1. 逻辑加密卡又叫存储卡,卡内的集成电路具有加密逻辑和EEPROM(电可擦除可编程只读存储器). 2. CPU卡又叫智能卡,卡内的集成电路包括中央处理器(CPU ...
- 图文:TF卡和SD卡的区别及什么是TF卡?什么是SD卡
小型存储设备凭借低廉的价格.多样化的品种.实用等特性大量充斥在大家身边,比如智能手机手机上.数码照相机上.游戏机上(一般是掌机)等都小型电子设备都频繁的使用到这种统称为SD的产品,比如TF卡和SD卡( ...
- 信用评分卡(A卡/B卡/C卡)的模型简介及开发流程|干货
https://blog.csdn.net/varyall/article/details/81173326 如今在银行.消费金融公司等各种贷款业务机构,普遍使用信用评分,对客户实行打分制,以期对客户 ...
- 初识CPU卡、SAM卡/CPU卡简介、SAM卡简介 【转】
初识CPU卡.SAM卡/CPU卡简介.SAM卡简介 IC卡按照接口方式可分为接触式卡.非接触式卡.复合卡:按器件技术可分为非加密存储卡.加密存储卡和CPU卡. 加密存储卡是对持卡人的认证,只有输入正确 ...
随机推荐
- 神州笔记本电脑【K670D】安装 Ubuntu18.04 系列操作
一.使用U盘安装 Ubuntu 前的处理如下: 进入BIOS将SSD设为启动首选项 -> F10保存退出 -> 用方向键高亮ubuntu启动项 -> 按e键进入编辑状态 -> ...
- numpy数组
一.数组创建 基础数组 1.array() array函数可以创建一维或多维数 一维数组 1.arange(起始值,终值,步长) 2.linspace(起始值,终值,元素个数) --创建等步长的数组 ...
- python语言编程算法
编程题 1 台阶问题/斐波那契 一只青蛙一次可以跳上1级台阶,也可以跳上2级.求该青蛙跳上一个n级的台阶总共有多少种跳法. fib = lambda n: n if n <= 2 else fi ...
- B/S图书管理系统
B/S图书管理系统 系统管理 ①新用户注册 ②用户信息修改:修改信息,修改密码 ③锁定用户 ④注销用户 书籍管理 ①新书入库 ②借书办理 ③还书办理 ④书记注销 个人管理 ①图书查询 ②借书单查询 ③ ...
- C++ 基础 1:C++ 对 C 语言的增强
1 namespace 命名空间 1.1 C++ 命名空间的定义 C++标准 引入了关键字 namespace(命名空间),可以更好地控制标识符的作用域. namespace name { ... } ...
- Module not found: Can't resolve 'bootstrap/dist/css/bootstrap-theme.css' in 'C:\react-form-validation-demo\src'
此错误是由配置错误.版本不匹配或引导安装损坏引起的.如果已经安装了引导程序和反应引导程序,则可以通过以下方式进行更改: npm install --save bootstrap@^4.0.0-al ...
- HiveMQ TDengine extension 使用指南
我们简单介绍一下 HiveMQ extension for TDengine 的部署和使用方法. TDengine 和 HiveMQ 部署方法 TDengine 安装最新 TDengine serve ...
- Java 架构学习图谱
- python脚本打包成rpm软件包
前言 软件最终都会有交付的形式,有的是用tar包,有个是以目录,有的是封成一个文件包,从大多数使用场景来说,直接打包成软件包的方式是最简单,也是最不容易出错的,路径可以在包里面写死了 实践 关于打包的 ...
- Java(7)泛型
目录 一.泛型概述 1.什么是泛型 2.为什么用泛型 3.在集合中使用泛型 二.自定义泛型结构 1.泛型类.接口 2.泛型方法 三.举例泛型类和泛型方法的使用场景 1.泛型类举例: 2.泛型方法举例 ...