Modutils

Official Download Location

Modutils (2.4.22): 
ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/

Contents of Modutils

Last checked against version 2.4.16.

The Modutils package contains programs that you can use to work with kernel modules.

Modutils installs the following:

Program Files

depmod, genksyms, insmod, insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms (link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod) and rmmod (link to insmod)

Descriptions

Last checked against version 2.4.16.

Program file descriptions

depmod

depmod handles dependency descriptions for loadable kernel modules.

genksyms

genksyms reads (on standard input) the output from gcc -E source.c and generates a file containing version information.

insmod

insmod installs a loadable module in the running kernel.

insmod_ksymoops_clean

insmod_ksymoops_clean deletes saved ksyms and modules not accessed in 2 days.

kallsyms

kallsyms extracts all kernel symbols for debugging.

kernelversion

kernelversion reports the major version of the running kernel.

ksyms

ksyms displays exported kernel symbols.

lsmod

lsmod shows information about all loaded modules.

modinfo

modinfo examines an object file associated with a kernel module and displays any information that it can glean.

modprobe

modprobe uses a Makefile-like dependency file, created by depmod, to automatically load the relevant module(s) from the set of modules available in predefined directory trees.

rmmod

rmmod unloads loadable modules from the running kernel.

Modutils Installation Dependencies

Last checked against version 2.4.12.

Bash: sh
Binutils: ar, as, ld, ranlib, strip
Bison: bison
Diffutils: cmp
Fileutils: chmod, install, ln, mkdir, mv, rm
Flex: flex
Gcc: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed
Sh-utils: basename, expr, hostname, uname
Textutils: cat, tr