Intel driver on EVE-NG
Moderator: mike
-
- Posts: 10
- Joined: Wed Nov 20, 2019 10:40 am
Intel driver on EVE-NG
Hi Everyone,
I would like to upgrade my intel i40e driver (network card Intel XL710) on my baremetal installation. My current driver version is 2.3.2-k.
When trying to compile the latest i40e driver, I have the following error:
common.mk:82: *** Kernel header files not in any of the expected locations.
common.mk:83: *** Install the appropriate kernel development package, e.g.
common.mk:84: *** kernel-devel, for building kernel modules and try again. Stop.
So I did install the appropriate kernel headers
wanc@MUZTC622:~/i40e-2.14.13/src$ uname -r
4.20.17-eve-ng-ukms+
wanc@MUZTC622:~/i40e-2.14.13/src$ sudo apt install linux-headers-4.20.17-eve-ng-ukms+
but I still have the same error message:
wanc@MUZTC622:~/i40e-2.14.13/src$ sudo make install
common.mk:82: *** Kernel header files not in any of the expected locations.
common.mk:83: *** Install the appropriate kernel development package, e.g.
common.mk:84: *** kernel-devel, for building kernel modules and try again. Stop.
I even tried to install the generic headers but the issue is always the same. I tried to reboot the server but I can't find out
Do you have any clue to be able to compile the latest intel driver ?
Regards,
I would like to upgrade my intel i40e driver (network card Intel XL710) on my baremetal installation. My current driver version is 2.3.2-k.
When trying to compile the latest i40e driver, I have the following error:
common.mk:82: *** Kernel header files not in any of the expected locations.
common.mk:83: *** Install the appropriate kernel development package, e.g.
common.mk:84: *** kernel-devel, for building kernel modules and try again. Stop.
So I did install the appropriate kernel headers
wanc@MUZTC622:~/i40e-2.14.13/src$ uname -r
4.20.17-eve-ng-ukms+
wanc@MUZTC622:~/i40e-2.14.13/src$ sudo apt install linux-headers-4.20.17-eve-ng-ukms+
but I still have the same error message:
wanc@MUZTC622:~/i40e-2.14.13/src$ sudo make install
common.mk:82: *** Kernel header files not in any of the expected locations.
common.mk:83: *** Install the appropriate kernel development package, e.g.
common.mk:84: *** kernel-devel, for building kernel modules and try again. Stop.
I even tried to install the generic headers but the issue is always the same. I tried to reboot the server but I can't find out
Do you have any clue to be able to compile the latest intel driver ?
Regards,
-
- Posts: 2
- Joined: Thu Apr 08, 2021 3:28 pm
Re: Intel driver on EVE-NG
Hi there,
I'm doing a new install and have the same problem as you. I install Ubuntu 18 and then followed this to make it work with the Intel network card: https://yawnbox.wordpress.com/2018/10/2 ... ntu-18-10/
Then I installed Eve-NG and its custom kernel stops the adapter working again. Had a live support session with Rusty and we downloaded kernel headers but 'make install' on the driver for the network adapter gives me the same errors as you are seeing.
I looked in the driver's src/common.mk file and I see that the kernel search path looks like this:
But the kernel headers that were installed went into /usr/src/linux-headers-4.20.17.2-eve-ng-uksm-wg+ which is not in the search path. I added it manually to common.mk but this results in a compilation error - it can't find sys/socket.h:
I am hoping someone has a solution for this. If I get one I will reply with my findings here.
I may have to resort to buying a new network card.
Andy
I'm doing a new install and have the same problem as you. I install Ubuntu 18 and then followed this to make it work with the Intel network card: https://yawnbox.wordpress.com/2018/10/2 ... ntu-18-10/
Then I installed Eve-NG and its custom kernel stops the adapter working again. Had a live support session with Rusty and we downloaded kernel headers
Code: Select all
linux-headers-4.20.17.2-eve-ng-uksm-wg+
I looked in the driver's src/common.mk file and I see that the kernel search path looks like this:
Code: Select all
# Kernel Search Path
# All the places we look for kernel source
KSP := /lib/modules/${BUILD_KERNEL}/source \
/lib/modules/${BUILD_KERNEL}/build \
/usr/src/linux-${BUILD_KERNEL} \
/usr/src/linux-$(${BUILD_KERNEL} | sed 's/-.*//') \
/usr/src/kernel-headers-${BUILD_KERNEL} \
/usr/src/kernel-source-${BUILD_KERNEL} \
/usr/src/linux-$(${BUILD_KERNEL} | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/linux \
/usr/src/kernels/${BUILD_KERNEL} \
/usr/src/kernels
Code: Select all
root@eve-ng:~/i40e-2.15.9/src# vim common.mk
root@eve-ng:~/i40e-2.15.9/src# make install
*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but
*** the signing key cannot be found. Module signing has been
*** disabled for this build.
make[1]: Entering directory '/usr/src/linux-headers-4.20.17.2-eve-ng-uksm-wg+'
CC [M] /root/i40e-2.15.9/src/i40e_main.o
In file included from ./include/linux/compat.h:16:0,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:41,
from ./include/net/sock.h:51,
from ./include/linux/tcp.h:23,
from ./include/net/tcp.h:24,
from /root/i40e-2.15.9/src/i40e.h:7,
from /root/i40e-2.15.9/src/i40e_main.c:8:
./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory
#include <sys/socket.h> /* for struct sockaddr. */
^~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:291: recipe for target '/root/i40e-2.15.9/src/i40e_main.o' failed
make[2]: *** [/root/i40e-2.15.9/src/i40e_main.o] Error 1
Makefile:1562: recipe for target '_module_/root/i40e-2.15.9/src' failed
make[1]: *** [_module_/root/i40e-2.15.9/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.20.17.2-eve-ng-uksm-wg+'
Makefile:69: recipe for target 'default' failed
make: *** [default] Error 2
root@eve-ng:~/i40e-2.15.9/src#
I may have to resort to buying a new network card.
Andy
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Intel driver on EVE-NG
After investigation in our Helpdesk chat, I thinks best way for you will be install esxi and then eve
-
- Posts: 2
- Joined: Thu Apr 08, 2021 3:28 pm
Re: Intel driver on EVE-NG
Hi Uldis -
Thanks for coming back on this.
I may just use a different network card instead to keep the performance of the bare-metal installation.
Could support for i40e be included as a feature request for future versions of EVE-NG, or is there some technical reason why it may not be possible?
Many thanks,
Andy
Thanks for coming back on this.
I may just use a different network card instead to keep the performance of the bare-metal installation.
Could support for i40e be included as a feature request for future versions of EVE-NG, or is there some technical reason why it may not be possible?
Many thanks,
Andy
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Intel driver on EVE-NG
Yes, another Intel card.
But regarding drivers, we cannot prdict all drivers in the world mate.
and this one is driver which tunes very badly...
Sorry
But regarding drivers, we cannot prdict all drivers in the world mate.
and this one is driver which tunes very badly...
Sorry
-
- Posts: 10
- Joined: Wed Nov 20, 2019 10:40 am
Re: Intel driver on EVE-NG
Hi
Thank you for your reply.
Can you please give u some example of intel card which can work well?
Thank you for your reply.
Can you please give u some example of intel card which can work well?
-
- Posts: 10
- Joined: Wed Nov 20, 2019 10:40 am
Re: Intel driver on EVE-NG
For more precision:
we need network card for 1GE ports
network card for 10 GE ports
and for 100 GE ports.
It can be the same card or different card for each requirement.
Regards,
Carole
we need network card for 1GE ports
network card for 10 GE ports
and for 100 GE ports.
It can be the same card or different card for each requirement.
Regards,
Carole
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Intel driver on EVE-NG
As I know you have not very brand servre, name is Supermicro or whatever it is..
if you want by Intel NIC, then make sure this box supports it!
e1000
or other series E nic...
I cannot guarantee that such box is compatible with intel ards either, even you have already one of it
as I told you, best for you would be esxi option...
more this box you have is dedicated for storage and not for production server...
sorry
if you want by Intel NIC, then make sure this box supports it!
e1000
or other series E nic...
I cannot guarantee that such box is compatible with intel ards either, even you have already one of it
as I told you, best for you would be esxi option...
more this box you have is dedicated for storage and not for production server...
sorry
-
- Posts: 1
- Joined: Mon Mar 29, 2021 2:55 pm
Re: Intel driver on EVE-NG
Hi Uldis,
I understand that you do recommend using ESXi to make it work with any network card. My question is then: Is it possible to make LLDP and LACP work transparently between Physical routers and Virtualized EVE-NG routers when using ESXi ?
Note that we suceeded to make LACP and LLDP work with a bare metal installation between physical routers and Virtualized routers but if ESXi installation is recommended, we could choose to go this way.
I understand that you do recommend using ESXi to make it work with any network card. My question is then: Is it possible to make LLDP and LACP work transparently between Physical routers and Virtualized EVE-NG routers when using ESXi ?
Note that we suceeded to make LACP and LLDP work with a bare metal installation between physical routers and Virtualized routers but if ESXi installation is recommended, we could choose to go this way.
-
- Posts: 5086
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Intel driver on EVE-NG
stay on bare, bare is totally ok