Linux Kernel Module

Hi,

I am running a Linode server (Ubuntu 10.04 LTS). There are two linux kernel modules, which are creating problem and not required by use. Modules are listed below:

nfnatsip

nfconntracksip

Is there any one who can help me to remove these kernel functions. or Should i recompile the kernel again.

Thanks in advance for any help.

Vijay Th.

4 Replies

What you need is to "blacklist module". Search for that :)

PD: you can unload them now using "modprobe -r module_name". To prevent loading on boots, you have to blacklist them.

@drpks:

What you need is to "blacklist module". Search for that :)

PD: you can unload them now using "modprobe -r module_name". To prevent loading on boots, you have to blacklist them.

Thanks for reply. There are many files in /etc/modprob.d/ directory, as listed:

blacklist-ath_pci.conf

blacklist.conf

blacklist-firewire.conf

blacklist-framebuffer.conf

blacklist-watchdog.conf

Where should i make the entry of the module to disable it. Will the change take effect by making entry to the file. I have tried it in blacklist.conf file. But zcat /proc/config.gz tells that these modules are loaded.

I request to community members to help me.

All files under /etc/modprobe.d/ are processed on boot (this is why you see modules still loaded). You can edit one of them or add a new one.

To unload those modules without reboot, you can do "sudo modprobe -r nfnatsip" and "sudo modprobe -r nfconntracksip". This is only valid until next reboot (you have to blacklist them to make it permanent).

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct