Go Back   Web Server Hosting Forum by BODHost > Support > Linux Server Hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-07, 09:59
BOD Member
 
Join Date: Nov 2006
Posts: 271
Default Disable a driver in Linux Kernel

Hello friends, today i will teach you how to disable a driver in Linux Kernel -

a) List the name of the driver with "lsmod" command. Make a note, this should be different from the file name no *.ko / or *.o in the end.

b) As root, type "rmmod drivername". At this point of time, make sure that the devices are not in use. You can also check the manual for the command by typing "man rmmod"

c) List the name of the drivers again by typing "lsmod", the driver should not be seen.

The next best alternative would be to blacklist it in the aim of a module. You can do the same with the following measures -

echo "blacklist driver name" > /etc/modprobe.d/blacklist

Regards to all
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 02:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.