rmmod(8) System Manager's Manual rmmod(8)NAME
rmmod -- simple program to remove a module from the Linux Kernel
SYNOPSIS
rmmod [-f] [-w] [-s] [-v] [modulename]
DESCRIPTION
rmmod is a trivial program to remove a module (when module unloading support is provided) from the kernel. Most users will want to use
modprobe(8) with the -r option instead.
OPTIONS -v --verbose
Print messages about what the program is doing. Usually rmmod prints messages only if something goes wrong.
-f --force
This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.
With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as
unsafe (see lsmod(8)).
-w --wait Normally, rmmod will refuse to unload modules which are in use. With this option, rmmod will isolate the module, and wait until
the module is no longer used. Nothing new will be able to use the module, but it's up to you to make sure the current users
eventually finish with it. See lsmod(8)) for information on usage counts.
-s --syslog
Send errors to syslog instead of standard error.
-V --version
Show version of program and exit.
COPYRIGHT
This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.
SEE ALSO modprobe(8), insmod(8), lsmod(8)modinfo(8)rmmod(8)
Check Out this Related Man Page
RMMOD(8)RMMOD(8)NAME
rmmod - simple program to remove a module from the Linux Kernel
SYNOPSIS
rmmod [ -f ] [ -w ] [ -s ] [ -v ] [ modulename ]
DESCRIPTION
rmmod is a trivial program to remove a module (when module unloading support is provided) from the kernel. Most users will want to use
modprobe(8) with the -r option instead.
OPTIONS -v --verbose
Print messages about what the program is doing. Usually rmmod prints messages only if something goes wrong.
-f --force
This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled.
With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as
unsafe (see lsmod(8)).
-w --wait
Normally, rmmod will refuse to unload modules which are in use. With this option, rmmod will isolate the module, and wait until the
module is no longer used. Nothing new will be able to use the module, but it's up to you to make sure the current users eventually
finish with it. See lsmod(8)) for information on usage counts.
-s --syslog
Send errors to syslog instead of standard error.
-V --version
Show version of program and exit.
COPYRIGHT
This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.
SEE ALSO modprobe(8), insmod(8), lsmod(8)modinfo(8)
2010-03-01 RMMOD(8)
hi there,
i had some trivial questions about this program here. i am kinda confused with these, hope you can help me to understand here. :)
#include<stdio.h>
#include<sys/wait.h>
#include<sys/types.h>
#include<unistd.h>
int main(void)
{
int... (2 Replies)
Hi
I'm trying to change the configuration of the adapter, especially values revelant with Tx and Rx. Following appropiate manual i tried insmod command , but as a result i've got:
insmod: a module named e1000 already exists
Does anyone know the solution? (0 Replies)
Masters,
I have inserted a linux module which controlls the bandwidth of LAN . Just when I insmod'ed kernel panicked. When restarted I am stunned to find out that many of my other modules are missing. How can insertion of one module removes other modules . I use 2.6.9 kernel on a redhat 3.4.3... (1 Reply)
In Linux if you want to get rid of the PC speaker (beep!) without rebooting you can type
rmmod pcspkr
I'm looking for a way to remove (if possible) the BSD equivalent of the "pcspkr" module.
I scrolled quickly through GENERIC and didn't see any entries that looked conspicuously like the... (2 Replies)
Hi,
I wrote a kernel module that did a virtual network protocol and library that provide interface for application use to interact with the kernel module by ioctl actions.
insmod the module and unload the module, there will be no problem. But once I call the library with my example... (0 Replies)
Hello Linux forum!
I am working on an older Red hat Linux version(kernel) 2.4.21 and I have compiled the kernel and I select it on startup, but I get the following errors:
Mounting Local Filesystems: Modprobe: modprobe: Can't locate module usbcore
modprobe: modprobe: Can't locate module udf... (1 Reply)
I am writing a program, and want to have the option for the program to
continue execution even should things go wrong. I use an option --ignore-errors.
The problem is what I do when an error occurs, set the values to zero, or fill them up with some values, for example taken from a simple unit... (3 Replies)
I am making few changes inside modprobe.d directory, now there are two options to make them effective
1) rmmod module, make changes and modprobe module
2) dracut -f
I was wondering what's the difference between two, in terms of result, dracut makes kernel image again though and the other unplug... (0 Replies)
Hello :
I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it... (1 Reply)