Linux From Scratch
Prev | Chapter 6. Installing basic system software | Next

# Installing Modutils

## Installation of Modutils

The 2.4.6 version of modutils does not seem to work properly with the 2.2.x kernels. If you are running a 2.2.x kernel we suggest you downgrade to modutils 2.4.5 which seems to be working better.

Install Modutils by running the following commands:

> `./configure &&`
> `make &&`
> `make install`

## Contents

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

## Description

### depmod

depmod handles dependency descriptions for loadable kernel modules.

### genksyms

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

### insmod

insmod installs a loadable module in the running kernel.

### insmod_ksymoops_clean

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

### kerneld

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

### kernelversion

kernelversion reports the major version of the running kernel.

### ksyms

ksyms displays exported kernel symbols.

### lsmod

lsmod shows information about all loaded modules.

### modinfo

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

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

### rmmod

rmmod unloads loadable modules from the running kernel.

Prev | Home | Next
Installing Make | Up | Installing Patch