%general-entities; ]> Module-Init-Tools-&module-init-tools-version; Module-Init-Tools <para>The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal to version 2.5.47.</para> </sect2> <sect2 role="installation"> <title>Installation of Module-Init-Tools Issue the following commands to perform the tests (note that the make clean and rm commands are required to clean up the source tree, otherwise the code built for testing will be installed, and the test version of modprobe does not function outside the test environment). ./configure && make DOCBOOKTOMAN=true check && make clean && rm *.5 *.8 Prepare Module-Init-Tools for compilation: ./configure --prefix=/ --enable-zlib The meaning of the configure options: --enable-zlib This allows the Module-Init-Tools package to handle compressed kernel modules. Compile the package: make DOCBOOKTOMAN=true The meaning of the make parameter: DOCBOOKTOMAN=true The DOCBOOKTOMAN variable specifies the program which is executed to convert the sgml source to man pages. We do not have either of the alternatives, so we create empty pages instead. Install the package: make INSTALL=install install The meaning of the make install parameter: INSTALL=install 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. 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 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 depmod generate-modprobe.conf Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup generate-modprobe.conf insmod Installs a loadable module in the running kernel insmod insmod.static A statically compiled version of insmod insmod.static lsmod Lists currently loaded modules lsmod modinfo Examines an object file associated with a kernel module and displays any information that it can glean modinfo modprobe Uses a dependency file, created by depmod, to automatically load relevant modules modprobe rmmod Unloads modules from the running kernel rmmod