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:depmod (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> depmod (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 depmod!
depmod (bbcmd) Generate modules.dep, alias, and symbols files.
depmod (lincmd) Generates modules.dep and map files.

Linux-Command

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

Details

depmod generates modules.dep and map files. It is part of the kmod package

It scans all modules in /lib/modules/<kernel-version> and collects infos from each module's modinfo section.
The collected info is sorted by the modules.order db created by kbuild and stored in a bunch of files in the same folder,
to be used by modprobe, udevd and udevadm.

Besides this 2 further files created by kbuild are indexed:

depmod is not installed in FRITZ!OS, neither this kmod version nor the busybox version depmod (bbcmd). However, depmod
is compiled into kmod but lacks the symlink. Unlike busybox there's no way to call kmod builtins without symlink.
Creating a symlink in RAM makes it accessible, see the method to gather the help output below.

See also the depmod(8), depmod.d(5), modules.dep(5) and kmod(8) man pages and the Kmod-Bin article.

depmod fw 7.39 help:

root@fritz0:/var/mod/root# ln -s /usr/bin/kmod depmod 

root@fritz0:/var/mod/root# ./depmod -h

Usage:
	depmod -[aA] [options] [forced_version]

If no arguments (except options) are given, "depmod -a" is assumed

depmod will output a dependency list suitable for the modprobe utility.

Options:
	-a, --all            Probe all modules
	-A, --quick          Only does the work if there's a new module
	-e, --errsyms        Report not supplied symbols
	-n, --show           Write the dependency file on stdout only
	-P, --symbol-prefix  Architecture symbol prefix
	-C, --config=PATH    Read configuration from PATH
	-v, --verbose        Enable verbose mode
	-w, --warn           Warn on duplicates
	-V, --version        show version
	-h, --help           show this help

The following options are useful for people managing distributions:
	-b, --basedir=DIR    Use an image of a module tree.
	-F, --filesyms=FILE  Use the file instead of the
	                     current kernel symbols.
	-E, --symvers=FILE   Use Module.symvers file to check
	                     symbol versions.

Files

depmod accesses these files and folders:

# read from kbuild:
modules.order  
modules.builtin
modules.builtin.modinfo

# created by depmod
modules.alias
modules.alias.bin
modules.dep
modules.dep.bin
modules.devname
modules.softdep
modules.symbols
modules.symbols.bin
modules.builtin.bin
modules.builtin.alias.bin

/lib/modules/<kernel-version>
/etc/depmod.d
/lib/depmod.d
/run/depmod.d

Examples

depmod v24 example:

TODO

GPL-Browser

Daily updated index of all depmod code findings on the GPL-Browser. Last update: 2024-11-15 05:10 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-11-15 07:53 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-15 05:54 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/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
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
0 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-15 07:53 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.