The kernel will automatically load the mlx4 kernel module which will request to load the mlx4_en and mlx4_ib modules if it detects Ethernet or InfiniBand ports (see mlx4_request_modules() in drivers/net/ethernet/mellanox/mlx4/main.c). So /etc/modprobe.d/mlx4.conf can be dropped from kmod.
Can you please test following:
* Remove /etc/modprobe.d/mlx4.conf
* Update initramfs
* check if mlx4_ib.ko, mlx4_en.ko, and mlx4.ko are in the initrd (use lsinitramfs)
* then do a boot test
The kernel will automatically load the mlx4 kernel module which will request to load the mlx4_en and mlx4_ib modules if it detects Ethernet or InfiniBand ports (see mlx4_request_ modules( ) in drivers/ net/ethernet/ mellanox/ mlx4/main. c). So /etc/modprobe. d/mlx4. conf can be dropped from kmod.
Can you please test following: d/mlx4. conf
* Remove /etc/modprobe.
* Update initramfs
* check if mlx4_ib.ko, mlx4_en.ko, and mlx4.ko are in the initrd (use lsinitramfs)
* then do a boot test