Modutils

For installation instructions see the Section called Installing Modutils-2.4.25 in Chapter 6.

Official Download Location

Modutils (2.4.25): 
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 creates a dependency file, based on the symbols it finds in the existing set of modules. This dependency file is used by modprobe to automatically load the required modules.

genksyms generates symbol version information.

insmod installs a loadable module in the running kernel.

insmod_ksymoops_clean deletes saved ksyms and modules not accessed for two days.

kallsyms extracts all kernel symbols for debugging.

kernelversion reports the major version of the running kernel.

ksyms displays exported kernel symbols.

lsmod shows which modules are loaded.

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

modprobe uses a dependency file, created by depmod, to automatically load the relevant modules.

rmmod unloads 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
Coreutils: basename, cat, chmod, expr, hostname, install, ln,
             mkdir, mv, rm, tr, uname
Diffutils: cmp
Flex: flex
GCC: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed