source: chapter06/module-init-tools.xml@ 1f2ed6b

Last change on this file since 1f2ed6b was 407d336, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Updated multi-arch branch to current testing.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4397 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[9dfc02f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-module-init-tools" role="wrap">
[9dfc02f]7<title>Module-Init-Tools-&module-init-tools-version;</title>
8<?dbhtml filename="module-init-tools.html"?>
9
10<indexterm zone="ch-system-module-init-tools"><primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary></indexterm>
11
[a001133]12<sect2 role="package"><title/>
[9dfc02f]13<para>The Module-Init-Tools package contains programs for handling kernel
14modules in Linux kernels greater than or equal to version 2.5.47.</para>
15
[a001133]16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.1 SBU</seg><seg>650 KB</seg></seglistitem>
20</segmentedlist>
[9dfc02f]21
[a001133]22<segmentedlist>
23<segtitle>Module-Init-Tools installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Bison,
[69993f4]25Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed</seg></seglistitem>
[a001133]26</segmentedlist>
27</sect2>
[9dfc02f]28
[a001133]29<sect2 role="installation">
[9dfc02f]30<title>Installation of Module-Init-Tools</title>
31
32<para>Prepare Module-Init-Tools for compilation:</para>
33
34<screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen>
35
36<para>Compile the package:</para>
37
[407d336]38<screen><userinput>make DOCBOOKTOMAN=""</userinput></screen>
39
40<!-- Edit me -->
41<para>The <command>DOCBOOKTOMAN</command> option allows the compile process to
42complete without regenerating the man pages.</para>
[9dfc02f]43
44<para>To test the results, issue:
45<userinput>make check</userinput>.</para>
46
[ef13657]47<para>Install the package:</para>
[9dfc02f]48
49<screen><userinput>make install</userinput></screen>
50
51</sect2>
52
53
[c6cb3aa]54<sect2 id="contents-module-init-tools" role="content"><title>Contents of Module-Init-Tools</title>
[9dfc02f]55
[c6cb3aa]56<segmentedlist>
57<segtitle>Installed programs</segtitle>
58<seglistitem><seg>depmod, genksyms, insmod,
[9dfc02f]59insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms
[69993f4]60(link to insmod), lsmod (link to insmod), modinfo, modprobe (link to
61insmod), and rmmod (link to insmod)</seg></seglistitem>
[c6cb3aa]62</segmentedlist>
[9dfc02f]63
[2256873]64<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]65<?dbfo list-presentation="list"?>
[9dfc02f]66
[b8a819f]67<varlistentry id="depmod">
68<term><command>depmod</command></term>
[c6cb3aa]69<listitem>
[2256873]70<para>Creates a dependency file based on the symbols it finds in the
71existing set of modules; this dependency file is used by <command>modprobe</command> to
72automatically load the required modules</para>
[3ed279f]73<indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm>
[c6cb3aa]74</listitem>
75</varlistentry>
[9dfc02f]76
[b8a819f]77<varlistentry id="genksyms">
78<term><command>genksyms</command></term>
[c6cb3aa]79<listitem>
[2256873]80<para>Generates symbol version information</para>
[3ed279f]81<indexterm zone="ch-system-module-init-tools genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm>
[c6cb3aa]82</listitem>
83</varlistentry>
[9dfc02f]84
[b8a819f]85<varlistentry id="insmod">
86<term><command>insmod</command></term>
[c6cb3aa]87<listitem>
[2256873]88<para>Installs a loadable module in the running kernel</para>
[3ed279f]89<indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm>
[c6cb3aa]90</listitem>
91</varlistentry>
[9dfc02f]92
[b8a819f]93<varlistentry id="insmod_ksymoops_clean">
94<term><command>insmod_ksymoops_clean</command></term>
[c6cb3aa]95<listitem>
[2256873]96<para>Deletes saved ksyms and modules not accessed for two days</para>
[3ed279f]97<indexterm zone="ch-system-module-init-tools insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm>
[c6cb3aa]98</listitem>
99</varlistentry>
[9dfc02f]100
[b8a819f]101<varlistentry id="kallsyms">
102<term><command>kallsyms</command></term>
[c6cb3aa]103<listitem>
[2256873]104<para>Extracts all kernel symbols for debugging</para>
[3ed279f]105<indexterm zone="ch-system-module-init-tools kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm>
[c6cb3aa]106</listitem>
107</varlistentry>
[9dfc02f]108
[b8a819f]109<varlistentry id="kernelversion">
110<term><command>kernelversion</command></term>
[c6cb3aa]111<listitem>
[2256873]112<para>Reports the major version of the running kernel</para>
[3ed279f]113<indexterm zone="ch-system-module-init-tools kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm>
[c6cb3aa]114</listitem>
115</varlistentry>
[9dfc02f]116
[b8a819f]117<varlistentry id="ksyms">
118<term><command>ksyms</command></term>
[c6cb3aa]119<listitem>
[2256873]120<para>Displays exported kernel symbols</para>
[3ed279f]121<indexterm zone="ch-system-module-init-tools ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm>
[c6cb3aa]122</listitem>
123</varlistentry>
[9dfc02f]124
[b8a819f]125<varlistentry id="lsmod">
126<term><command>lsmod</command></term>
[c6cb3aa]127<listitem>
[2256873]128<para>Lists currently loaded modules</para>
[3ed279f]129<indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm>
[c6cb3aa]130</listitem>
131</varlistentry>
[9dfc02f]132
[b8a819f]133<varlistentry id="modinfo">
134<term><command>modinfo</command></term>
[c6cb3aa]135<listitem>
[2256873]136<para>Examines an object file associated with a kernel module and
137displays any information that it can glean</para>
[3ed279f]138<indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm>
[c6cb3aa]139</listitem>
140</varlistentry>
[9dfc02f]141
[b8a819f]142<varlistentry id="modprobe">
143<term><command>modprobe</command></term>
[c6cb3aa]144<listitem>
[2256873]145<para>Uses a dependency file, created by
146<command>depmod</command>, to automatically load relevant modules</para>
[3ed279f]147<indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
[c6cb3aa]148</listitem>
149</varlistentry>
[9dfc02f]150
[b8a819f]151<varlistentry id="rmmod">
152<term><command>rmmod</command></term>
[c6cb3aa]153<listitem>
[2256873]154<para>Unloads modules from the running kernel</para>
[3ed279f]155<indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm>
[c6cb3aa]156</listitem>
157</varlistentry>
158</variablelist>
[9dfc02f]159
160</sect2>
161
162</sect1>
[ef13657]163
Note: See TracBrowser for help on using the repository browser.