If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:modprobe (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> modprobe (lincmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name modprobe!
modprobe (bbcmd) Add and remove modules from the Linux Kernel.
modprobe (lincmd) Add and remove modules from the Linux Kernel

Linux-Command

Goto:   Config  -  Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

modprobe adds and removes modules from the Linux Kernel. It is part of the kmod package.

While insmod just inserts and rmmod just removes exactly the specified modules modprobe does both intelligently,
honouring the dependency databases created by depmod. The databases covered are:

modules.dep                # created by depmod
modules.dep.bin            # created by depmod
modules.alias              # created by depmod
modules.alias.bin          # created by depmod
modules.symbols            # created by depmod
modules.symbols.bin        # created by depmod
modules.builtin.alias      # NOT created by depmod
modules.builtin.alias.bin  # created by depmod
modules.builtin            # created by kbuild 
modules.builtin.bin        # created by depmod

These databases are ideally Kmod-Bin preindexed .bin files which are preferred over their flatdb ASCII origins.
Since some of these dbs are huge the preindexing saves a lot of execution time of modprobe.

All modules and databases are expected to be located in /lib/modules/<kernel-version> with <kernel-version>
being the output of uname -r.

See also the modprobe(8) and kmod(8) man pages.

Fw 7.39 help:

root@fritz0:/var/mod/root# modprobe -h

Usage:
	modprobe [options] [-i] [-b] modulename
	modprobe [options] -a [-i] [-b] modulename [modulename...]
	modprobe [options] -r [-i] modulename
	modprobe [options] -r -a [-i] modulename [modulename...]
	modprobe [options] -c
	modprobe [options] --dump-modversions filename

Management Options:
	-a, --all                   Consider every non-argument to
	                            be a module name to be inserted
	                            or removed (-r)
	-r, --remove                Remove modules instead of inserting
	    --remove-dependencies   Also remove modules depending on it
	-R, --resolve-alias         Only lookup and print alias and exit
	    --first-time            Fail if module already inserted or removed
	-i, --ignore-install        Ignore install commands
	-i, --ignore-remove         Ignore remove commands
	-b, --use-blacklist         Apply blacklist to resolved alias.
	-f, --force                 Force module insertion or removal.
	                            implies --force-modversions and
	                            --force-vermagic
	    --force-modversion      Ignore module's version
	    --force-vermagic        Ignore module's version magic

Query Options:
	-D, --show-depends          Only print module dependencies and exit
	-c, --showconfig            Print out known configuration and exit
	-c, --show-config           Same as --showconfig
	    --show-modversions      Dump module symbol version and exit
	    --dump-modversions      Same as --show-modversions

General Options:
	-n, --dry-run               Do not execute operations, just print out
	-n, --show                  Same as --dry-run
	-C, --config=FILE           Use FILE instead of default search paths
	-d, --dirname=DIR           Use DIR as filesystem root for /lib/modules
	-S, --set-version=VERSION   Use VERSION instead of `uname -r`
	-s, --syslog                print to syslog, not stderr
	-q, --quiet                 disable messages
	-v, --verbose               enables more messages
	-V, --version               show version
	-h, --help                  show this help

Config

modprobe supports the global config file modprobe.conf and a bunch of folders for splitted config, accessed in this order:

/etc/modprobe.d
/run/modprobe.d
/usr/local/lib/modprobe.d
/lib/modprobe.d

The following is a subset of the Static-Configuration section, filtered for the path */modprobe.d:

Daily updated index of all modprobe config files found scanning Firmware-Probes . Last update: 2024-04-26 05:47 GMT.
The label (static) in the Config column shows there are other objects in this wiki using this name.
The Mod column shows the amount of models using the respective config. Click the column header to sort by this number.

Examples

In fw 7.39 voipd:

modprobe krtp

From fw 7.39 E40-dsl:

modprobe vrx518_tc

GPL-Browser

Daily updated index of all modprobe code findings on the GPL-Browser. Last update: 2024-04-26 04:13 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-26 07:29 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd kmod 62 7.21 - 7.90 Program to manage Linux Kernel-Modules KMod
Started by serv brcm_wlcsm.service 1 7.20 - 7.90 supervisor service for modprobe AVM
2 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-26 05:10 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 4020 7.39 /sbin Link
FRITZ!Box 4040 7.39 - 7.57 /sbin Link
FRITZ!Box 4050 7.57 /sbin Link
FRITZ!Box 4060 7.39 - 7.57 /sbin Link
FRITZ!Box 5530 Fiber (boot) 7.39 - 7.80 /sbin Link
FRITZ!Box 5530 Fiber (main) 7.21 - 7.80 /sbin Link
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /sbin Link
FRITZ!Box 5590 Fiber (boot) 7.39 - 7.90 /sbin Link
FRITZ!Box 5590 Fiber (prx) 7.27 - 7.90 /sbin Link
FRITZ!Box 5690 Pro (arm) 7.59 - 7.60 /sbin Link
FRITZ!Box 5690 Pro (rtl) 7.59 - 7.60 /sbin Link
FRITZ!Box 6430 Cable (arm) 7.57 /sbin Link
FRITZ!Box 6490 Cable (arm) 7.39 - 7.57 /sbin Link
FRITZ!Box 6490 Cable (atom) 7.39 - 7.51 /sbin Link
FRITZ!Box 6590 Cable (arm) 7.39 - 7.57 /sbin Link
FRITZ!Box 6590 Cable (atom) 7.39 - 7.51 /sbin Link
FRITZ!Box 6591 Cable (arm) 7.39 - 7.90 /sbin Link
FRITZ!Box 6591 Cable (atom) 7.39 - 7.90 /sbin Link
FRITZ!Box 6660 Cable (arm) 7.39 - 7.90 /sbin Link
FRITZ!Box 6660 Cable (atom) 7.39 - 7.90 /sbin Link
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /sbin Link
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /sbin Link
FRITZ!Box 6690 Cable (arm) 7.39 - 7.90 /sbin Link
FRITZ!Box 6690 Cable (atom) 7.39 - 7.90 /sbin Link
FRITZ!Box 6820 LTE v1 7.39 - 7.51 /sbin Link
FRITZ!Box 6820 LTE v2 7.39 - 7.51 /sbin Link
FRITZ!Box 6820 LTE v3 7.39 - 7.57 /sbin Link
FRITZ!Box 6840 LTE 7.39 /sbin Link
FRITZ!Box 6850 LTE 7.26 - 7.90 /sbin Link
FRITZ!Box 6850 5G 7.39 - 7.90 /sbin Link
FRITZ!Box 6890 LTE 7.24 - 7.51 /sbin Link
FRITZ!Box 6890 LTE v1 7.24 - 7.51 /sbin Link
FRITZ!Box 6890 LTE v2 7.24 - 7.51 /sbin Link
FRITZ!Box 7272 7.39 /sbin Link
FRITZ!Box 7430 7.39 /sbin Link
FRITZ!Box 7490 (main) 7.39 - 7.57 /sbin Link
FRITZ!Box 7490 (scrpn) 7.39 - 7.51 /sbin Link
FRITZ!Box 7510 7.30 - 7.57 /sbin Link
FRITZ!Box 7520 7.39 - 7.51 /sbin Link
FRITZ!Box 7520 v2 (arm) 7.39 - 7.57 /sbin Link
FRITZ!Box 7530 7.39 - 7.56 /sbin Link
FRITZ!Box 7530 AX 7.39 - 7.90 /sbin Link
FRITZ!Box 7560 7.24 - 7.39 /sbin Link
FRITZ!Box 7580 7.24 - 7.30 /sbin Link
FRITZ!Box 7583 7.27 - 7.57 /sbin Link
FRITZ!Box 7583 VDSL 7.27 - 7.31 /sbin Link
FRITZ!Box 7590 7.24 - 7.90 /sbin Link
FRITZ!Box 7590 AX 7.24 - 7.90 /sbin Link
FRITZ!Box 7690 7.59 /sbin Link
FRITZ!Smart Gateway 7.39 - 7.59 /sbin Link
FRITZ!Repeater 600 7.39 - 7.58 /sbin Link
FRITZ!Repeater 600 v2 7.39 - 7.58 /sbin Link
FRITZ!Repeater 1200 7.39 - 7.58 /sbin Link
FRITZ!Repeater 1200 AX 7.27 - 7.57 /sbin Link
FRITZ!WLAN Repeater 1750E 7.39 /sbin Link
FRITZ!Repeater 2400 7.39 - 7.58 /sbin Link
FRITZ!Repeater 3000 7.39 - 7.58 /sbin Link
FRITZ!Repeater 3000 AX 7.39 - 7.57 /sbin Link
FRITZ!Repeater 6000 7.39 - 7.57 /sbin Link
FRITZ!Powerline 1240 AX 7.51 - 7.57 /sbin Link
FRITZ!Powerline 1260E 7.39 - 7.57 /sbin Link
FRITZ!Powerline 1260 7.39 - 7.57 /sbin Link
62 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-26 07:29 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.