The “mlnx_add_kernel_support.sh” script can be executed directly from the
mlnxofedinstall script. For further information, please see '--add-kernel-support'
option below.
If you regenerate kernel modules for a custom kernel (using --
add-kernel-support), the packages installation will not involve
automatic regeneration of the initramfs. In some cases, such as
a system with a root filesystem mounted over a ConnectX card,
not regenerating the initramfs may even cause the system to
fail to reboot.
In such cases, the installer will recommend running the
following command to update the initramfs:
On some OSs, dracut -f might result in the following error
message which can be safely ignore.
libkmod: kmod_module_new_from_path: kmod_module 'mdev' already exists
with different path
dracut -f
Warning
On Ubuntu and Debian distributions drivers installation use
Dynamic Kernel Module Support (DKMS) framework. Thus, the
drivers' compilation will take place on the host during
MLNX_OFED installation.Therefore, using
"mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and
Debian distributions.