<< Back to shouce.jb51.net

6.49. Module-Init-Tools-3.0

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

Approximate build time: 0.1 SBU

Required disk space: 650 KB

Module-Init-Tools installation depends on: Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed

6.49.1. Installation of Module-Init-Tools

Prepare Module-Init-Tools for compilation:

./configure --prefix="" --enable-zlib

Compile the package:

make

To test the results, issue: make check.

Install the package:

make install

6.49.2. Contents of Module-Init-Tools

Installed programs: 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)

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

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

Lists currently loaded modules

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 relevant modules

rmmod

Unloads modules from the running kernel