Re: How to blacklist a device driver (sysemd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/15/2017 10:35 AM, Frank Thommen wrote:

I tried with the files
  /etc/modprobe.d/blacklist
  /etc/modprobe.d/blacklist.conf
and with entries
  blacklist mlx5_core
  blacklist mlx5_ib

The "blacklist" entries prevent a module being loaded by its alias (typically a PCI ID), but not from being loaded if something explicitly loads it by module name.  Most likely, those modules are included in your initrd.

I'd suggest using the entries described above, and editing grub.conf to add arguments to the kernel command line:
    rd.driver.blacklist=mlx5_core rd.driver.blacklist=mlx5_ib
... then rebuilding your initrd using "dracut --force"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux