I'm currently installing a server with 13.2-RELEASE, that has a Mellanox ConnectX3 on board, which is not needed in this setup. To see if I can save some Watts (that server ends up at a colocation where we pay per kWh), I'd like to have it disabled via
I have already added
Do those mechanisms ignore/don't work for compiled-in kernel modules? How can one prevent them from loading anyways (other than building your own kernel)?
hw.pci.do_power_nodriver=3
in /boot/loader.conf and not loading it's driver (mlx4).I have already added
module_blacklist="mlx4"
to /boot/loader.conf and devmatch_blacklist="mlx4"
to /etc/rc.conf, yet mlx4_core is always loaded at boot and can't be unloaded via kldunload
(i.e. it immediately gets loaded again).Do those mechanisms ignore/don't work for compiled-in kernel modules? How can one prevent them from loading anyways (other than building your own kernel)?