10.57. Module-Init-Tools-3.2.2

The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal to version 2.5.47.

10.57.1. Installation of Module-Init-Tools

Issue the following commands to perform the tests (note that the make distclean command is required to clean up the source tree, as the source gets recompiled as part of the testing process):

CC="gcc ${BUILD64}" ./configure &&
make check &&
make distclean

Prepare Module-Init-Tools for compilation:

CC="gcc ${BUILD64}" ./configure --prefix="/" \
   --enable-zlib --with-moddir=/lib64/modules

The meaning of the configure options:


This allows the Module-Init-Tools package to handle compressed kernel modules.

Compile the package:


Install the package:

make INSTALL=install install

The meaning of the make parameter:


Normally, make install will not install the binaries if they already exist. This option overrides that behavior by calling install instead of using the default wrapper script.

10.57.2. Contents of Module-Init-Tools

Installed programs: depmod, generate-modprobe.conf, insmod, insmod.static, lsmod (link to insmod), modinfo, modprobe (link to insmod), and rmmod (link to insmod)

Short Descriptions


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


Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup


Installs a loadable module in the running kernel


A statically compiled version of insmod


Lists currently loaded modules


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


Uses a dependency file, created by depmod, to automatically load relevant modules


Unloads modules from the running kernel