Cent OS 7 中未找到内核头

Cent OS 7 中未找到内核头

我正在尝试安装 ixgbevf 驱动程序。

# dkms build -m ixgbevf -v 2.14.2
Error! echo
Your kernel headers for kernel 3.13.0-74-generic cannot be found at
/lib/modules/3.13.0-74-generic/build or /lib/modules/3.13.0-74-generic/source.

我尝试安装内核头文件,但它们已经安装好了。

# yum install kernel-headers --disableexcludes=all
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * epel: mirror.symnds.com
 * extras: linux.cc.lehigh.edu
 * updates: centos.mirror.nac.net
Package kernel-headers-3.10.0-327.18.2.el7.x86_64 already installed and latest version
Nothing to do

这是内核开发。

[root@29d56ccc770d ~]# yum install kernel-devel
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * epel: mirror.symnds.com
 * extras: linux.cc.lehigh.edu
 * updates: centos.mirror.nac.net
Package kernel-devel-3.10.0-327.18.2.el7.x86_64 already installed and latest version
Nothing to do

关于如何安装 ixgbevf 驱动程序,有什么建议吗?

相关内容