author:headsen chen
date: 2019-01-18 10:22:20
notice:created by headsen chen himself and not allowed to copy, or you will count law question!
版本环境:centos6.8 ,64位,内核:2.6.32
1,配置网卡:
在新卡装上机器,接收光纤,两根线都有接,而且是反接的方式接,接通后,光纤灯会亮
2,安装软件RDMA的方式安装,编译内核和用户态,重启进入新内核4.7
3,安装驱动:
正常的kernel安装方法(2.6的内核)
# /mnt/mlnx-en-4.4-2.0.7.0-rhel6.8-x86_64/install
这里必须采用这种,因为是新内核4.7
#tar fx mlnx-en-4.4-2.0.7.0-rhel6.8-x86_64.tgz#cd mlnx-en-4.4-2.0.7.0-rhel6.8-x86_64#./install --add-kernel-support --skip-repo
Logs dir:/tmp/mlnx-en.28728.logs
General log file:/tmp/mlnx-en.28728.logs/general.log
Verifying KMP rpms compatibility with target kernel...
This program will install the mlnx-en package on your machine.
Note that all other Mellanox, OEM, OFED, RDMAorDistribution IB packages will be removed.
Those packages are removed due to conflicts with mlnx-en, do notreinstall them.
Do you want tocontinue?[y/N]:y
rpm--nosignature -e --allmatches --nodeps rdma rdma
Starting mlnx-en-4.4-2.0.7.0installation ...
Installing mlnx-en-utils 4.4RPM
Preparing...##################################################
mlnx-en-utils ##################################################
Installing kmod-mlnx-en 4.4RPM
Preparing...#############