I'm trying to prevent the ipmi kernel modules from loading on a server with a SuperMicro X8DTG-D motherboard running Ubuntu 14.04. My motivation for doing so is that the modules sometimes seem to take a very long time to unload when I attempt to reboot the machine. My understanding is that putting the following into a file in /etc/modprobe.d and regenerating the RAM disk used on boot should prevent the listed modules from loading; however, they still appear to be loaded when the machine is booted even though I confirmed that the file containing the below lines is included in the RAM disk:

```
    alias ipmi_si off
    alias ipmi_devintf off
    alias ipmi_msghandler off

```

Any ideas as to how to disable loading of these modules?
['https://serverfault.com/questions/592278', 'https://serverfault.com', 'https://serverfault.com/users/86482/']
I suggest to create a file /etc/modprobe.d/blacklist-ipmi.conf containing

```
blacklist ipmi_si
blacklist ipmi_devintf
blacklist ipmi_msghandler

```
If you have **ipmitool** package installed, comment your module in 
```
/usr/lib/modules-load.d/ipmievd.conf
```