6.41. Installing Modutils

6.41.1. Installation of Modutils

Install Modutils by running the following commands:


./configure &&
make &&
make install

6.41.2. Contents

The Modutils package contains the depmod, genksyms, insmod, insmod_ksymoops_clean, kerneld, kernelversion, ksyms, lsmod, modinfo, modprobe and rmmod programs.

6.41.3. Description

6.41.3.1. depmod

depmod handles dependency descriptions for loadable kernel modules.

6.41.3.2. genksyms

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

6.41.3.3. insmod

insmod installs a loadable module in the running kernel.

6.41.3.4. insmod_ksymoops_clean

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

6.41.3.5. kerneld

kerneld performs kernel action in user space (such as on-demand loading of modules)

6.41.3.6. kernelversion

kernelversion reports the major version of the running kernel.

6.41.3.7. ksyms

ksyms displays exported kernel symbols.

6.41.3.8. lsmod

lsmod shows information about all loaded modules.

6.41.3.9. modinfo

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

6.41.3.10. 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.

6.41.3.11. rmmod

rmmod unloads loadable modules from the running kernel.