nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Linux disable kernel module / driver

This is a discussion on Linux disable kernel module / driver within the Linux hardware forums, part of the Linux Getting Started category; How do I disable a Linux kernel module? How do I remove device driver permanently or temporarily from command prompt?...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux hardware

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-21-2007, 12:27 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 151
Rep Power: 4
sweta will become famous soon enough
Angry Linux disable kernel module / driver

How do I disable a Linux kernel module? How do I remove device driver permanently or temporarily from command prompt?
__________________
Friends - v-nessa - missyAdmin
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-21-2007, 12:34 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 917
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You can use rmmod command to remove module or device driver
Code:
lsmod
rmmod {module-name}
More about lsmod command -> How to display or show information about a Linux Kernel module or drivers

More about rmmod command -> Howto: Linux add remove a Linux kernel modules / drivers

Another option is to modify / edit file called /etc/modprobe.conf or /etc/modprobe.d/blacklist (Debian/Ubuntu) and append module name. This will avoid loading a Linux driver module automatically, see my tutorial -> Howto: Prevent a Linux kernel module from auto loading for more info.

HTH
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 08-21-2007, 12:38 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 151
Rep Power: 4
sweta will become famous soon enough
Default

Hey vivek, thanks for a quick reply.

fanx
__________________
Friends - v-nessa - missyAdmin
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux kernel deleted from /boot - how do I resinstall the kernel vaibhav.kanchan Getting started tutorials 2 03-25-2008 12:31 AM
Redhat linux 4 / 5 disable iptables firewall chiku Networking, Firewalls and Security 0 04-27-2007 05:19 PM
Linux disable network interface jerry Linux software 2 06-22-2006 08:27 PM
freebsd kernel module unload HellBoy All about FreeBSD/OpenBSD/NetBSD 2 01-05-2006 06:51 PM
Is Linux kernel is monolithic or modular kernel? chiku Linux software 2 06-02-2005 03:40 PM


All times are GMT +5.5. The time now is 08:53 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36