table of contents
MODPROBE(8) | modprobe | MODPROBE(8) |
NAME¶
modprobe - Add and remove modules from the Linux KernelSYNOPSIS¶
modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] [modulename] [module parameters...]
modprobe [-r] [-v] [-n] [-i] [ modulename...]
modprobe [-c]
modprobe [--dump-modversions] [filename]
DESCRIPTION¶
modprobe intelligently adds or removes a module from the Linux kernel: note that for convenience, there is no difference between _ and - in module names (automatic underscore conversion is performed). modprobe looks in the module directory /lib/modules/`uname -r` for all the modules and other files, except for the optional configuration files in the /etc/modprobe.d directory (see modprobe.d(5)). modprobe will also use module options specified on the kernel command line in the form of <module>.<option> and blacklists in the form of modprobe.blacklist=<module>.Note that unlike in 2.4 series Linux kernels (which are not supported by this tool) this version of modprobe does not do anything to the module itself: the work of resolving symbols and understanding parameters is done inside the kernel. So module failure is sometimes accompanied by a kernel message: see dmesg(8).
modprobe expects an up-to-date modules.dep.bin file as generated by the corresponding depmod utility shipped along with modprobe (see depmod(8)). This file lists what other modules each module needs (if any), and modprobe uses this to add or remove these dependencies automatically.
If any arguments are given after the modulename, they are passed to the kernel (in addition to any options listed in the configuration file).
OPTIONS¶
-a, --all-b, --use-blacklist
-C, --config
This option is passed through install or remove commands to other modprobe commands in the MODPROBE_OPTIONS environment variable.
-c, --showconfig
--dump-modversions
-d, --dirname
--first-time
--force-vermagic
This applies to any modules inserted: both the module (or alias) on the command line and any modules on which it depends.
--force-modversion
This applies any modules inserted: both the module (or alias) on the command line and any modules on which it depends.
-f, --force
This applies to any modules inserted: both the module (or alias) on the command line and any modules it on which it depends.
-i, --ignore-install, --ignore-remove
-n, --dry-run, --show
-q, --quiet
-R, --resolve-alias
-r, --remove
There is usually no reason to remove modules, but some buggy modules require it. Your distribution kernel may not have been built to support removal of modules at all.
-S, --set-version
--show-depends
-s, --syslog
This option is passed through install or remove commands to other modprobe commands in the MODPROBE_OPTIONS environment variable.
-V, --version
-v, --verbose
This option is passed through install or remove commands to other modprobe commands in the MODPROBE_OPTIONS environment variable.
ENVIRONMENT¶
The MODPROBE_OPTIONS environment variable can also be used to pass arguments to modprobe.COPYRIGHT¶
This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.SEE ALSO¶
modprobe.d(5), insmod(8), rmmod(8), lsmod(8), modinfo(8) depmod(8)AUTHORS¶
Jon Masters <jcm@jonmasters.org>Robby Workman <rworkman@slackware.com>
Lucas De Marchi <lucas.de.marchi@gmail.com>
02/09/2019 | kmod |