Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Linux Kernel Module
PostPosted: Wed Aug 08, 2012 5:27 am 
Offline
Newbie

Joined: Wed Aug 08, 2012 5:21 am
Posts: 3
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:

nf_nat_sip
nf_conntrack_sip

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.


Top
   
 Post subject: Re: Linux Kernel Module
PostPosted: Wed Aug 08, 2012 6:45 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
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.


Top
   
 Post subject: Re: Linux Kernel Module
PostPosted: Wed Aug 08, 2012 6:56 am 
Offline
Newbie

Joined: Wed Aug 08, 2012 5:21 am
Posts: 3
drpks wrote:
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.


Top
   
 Post subject: Re: Linux Kernel Module
PostPosted: Wed Aug 08, 2012 8:41 am 
Offline
Newbie

Joined: Wed Aug 08, 2012 5:21 am
Posts: 3
I request to community members to help me.


Top
   
 Post subject: Re: Linux Kernel Module
PostPosted: Wed Aug 08, 2012 9:53 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
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 nf_nat_sip" and "sudo modprobe -r nf_conntrack_sip". This is only valid until next reboot (you have to blacklist them to make it permanent).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group