解决RHEL/CentOS/Oracle Linux 7/8 安装Openonload驱动的问题
场景:Solarfare网卡安装onload-8.1.1.17驱动是报错(见红色部分),导致驱动安装失败解决方法:#kernel问题——需要通过yum安装:yuminstall-ykernel-devel后再进行驱动安装[root@localhostscripts]#./onload_installonload_install:BuildingOnload.mmakebuildtree:Nokernelbuildat‘/lib/modules/4.18.0-372.9.1.el8.x86_64

场景:
Solarfare网卡安装
onload-8.1.1.17驱动是报错(见红色部分),导致驱动安装失败
解决方法:
#kernel问题——
需要通过yum安装:
yum install -y kernel-devel
后再进行驱动安装
[root@localhost scripts]#
./onload_install
onload_install: Building Onload.
mmakebuildtree: No kernel build at ‘/lib/modules/4.18.0-372.9.1.el8.x86_64/build’
onload_build: FAILED: mmakebuildtree –driver -d x86_64_linux-4.18.0-372.9.1.el8.x86_64
onload_install: ERROR: Build failed. Not installing.
[root@localhost scripts]#
#autocompat.sh Error问题——
需要通过yum安装:
yum install -y elfutils-devel
后再进行驱动安装
[root@localhost scripts]#
./onload_install
onload_install: Building Onload.
Build tree made for linux as x86_64_linux-4.18.0-372.9.1.el8.x86_64
make: Entering directory ‘/soft/onload-8.1.1.17/build/x86_64_linux-4.18.0-372.9.1.el8.x86_64’
/soft/onload-8.1.1.17/src/driver/linux_resource/kernel_compat.sh -k /lib/modules/4.18.0-372.9.1.el8.x86_64/build -q > driver/linux_resource/autocompat.h
kernel_compat.sh: Kernel build tree is unable to build modules
make: *** [/soft/onload-8.1.1.17/src/mmake.mk:34: driver/linux_resource/autocompat.h] Error 1
make: Leaving directory ‘/soft/onload-8.1.1.17/build/x86_64_linux-4.18.0-372.9.1.el8.x86_64’
onload_build: ERROR: Failed to build driver components.
onload_install: ERROR: Build failed. Not installing.
[root@localhost scripts]#
#capability.h: No such file or directory问题——
需要通过yum安装:
yum install -y libcap*
后再进行驱动安装
make[1]: Entering directory ‘/soft/onload-8.1.1.17/build/gnu_x86_64/tools’
make[2]: Entering directory ‘/soft/onload-8.1.1.17/build/gnu_x86_64/tools/cplane’
nice cc -I. -I./../../include -I/soft/onload-8.1.1.17/src/include -I/soft/onload-8.1.1.17/src/tools/cplane -DNDEBUG -D_GNU_SOURCE -m64 -Wall -Wundef -Wpointer-arith -Wstrict-prototypes -Wnested-externs -Wno-stringop-truncation -Wno-format-truncation -Wimplicit-fallthrough=5 -fomit-frame-pointer -DTRANSPORT_CONFIG_OPT_HDR='
/soft/onload-8.1.1.17/src/tools/cplane/server.c:13:10: fatal error: sys/capability.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/soft/onload-8.1.1.17/mk/after.mk:151: server.o] Error 1
make[2]: Leaving directory ‘/soft/onload-8.1.1.17/build/gnu_x86_64/tools/cplane’
make[1]: *** [/soft/onload-8.1.1.17/src/tools/mmake.mk:20: all] Error 2
make[1]: Leaving directory ‘/soft/onload-8.1.1.17/build/gnu_x86_64/tools’
make: *** [/soft/onload-8.1.1.17/src/mmake.mk:25: all] Error 2
make: Leaving directory ‘/soft/onload-8.1.1.17/build/gnu_x86_64’
onload_build: ERROR: Failed to build 64-bit user-level components.
onload_install: ERROR: Build failed. Not installing.
[root@localhost scripts]#
#libc_compat.h error
问题——
需要通过yum安装以下glibc库
yum install -y glibc.i686
yum install -y glibc-devel.i686
#libsfcaffinity.so error
问题——
需要通过yum安装以下libgcc库
yum install -y libgcc
yum install -y libgcc.i686
Windows 10 是一款微软推出的经典操作系统,拥有硬件兼容性与多任务处理能力。它更偏向把系统状态查看和常用调节动作放在一起,适合需要持续观察和微调设备状态的场景。
极度公式是一款跨平台专业LaTeX公式识别编辑软件,支持OCR公式识别和多平台编辑。和使用说明,避免使用,享受完整功能与稳定支持。做扫描整理、文字提取和表格转换时,它能把识别后的处理步骤接得更顺,资料录入这类场景会省下不少时间。
















