Linux From Scratch: Version 5.1-pre1
Prev | Chapter 6. Installing basic system software | Next

# Installing Modutils-2.4.26

The Modutils package contains programs for handling kernel modules.

    Approximate build time:  0.1 SBU
    Required disk space:     2.9 MB

Official download location for Modutils (2.4.26):
ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/

For its installation Modutils depends on: Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed.

##

## Installation of Modutils

Prepare Modutils for compilation:

    ./configure

Compile the package:

    make

And install it:

    make install

##

## Contents of Modutils

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

Prev | Home | Next
Installing Make-3.80 | Up | Installing Patch-2.5.4