source: clfs-sysroot/BOOK/final-system/common/module-init-tools.xml@ de17e85

Last change on this file since de17e85 was 14ab808, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Text Updates.

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-module-init-tools" role="wrap">
9 <?dbhtml filename="module-init-tools.html"?>
10
11 <title>Module-Init-Tools-&module-init-tools-version;</title>
12
13 <indexterm zone="ch-system-module-init-tools">
14 <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Module-Init-Tools package contains programs for handling kernel
21 modules in Linux kernels greater than or equal to version 2.5.47.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Module-Init-Tools</title>
27
28 <para os="a">Prepare Module-Init-Tools for compilation:</para>
29
[cee2ca2]30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/ --enable-zlib</userinput></screen>
[02095ae]32
33 <variablelist os="c">
34 <title>The meaning of the configure options:</title>
35
36 <varlistentry>
37 <term><parameter>--enable-zlib</parameter></term>
38 <listitem>
39 <para>This allows the Module-Init-Tools package to handle compressed
40 kernel modules.</para>
41 </listitem>
42 </varlistentry>
43
44 </variablelist>
45
46 <para os="d">Compile the package:</para>
47
48<screen os="e"><userinput>make</userinput></screen>
49
50 <para os="f">Install the package:</para>
51
[586feb7]52<screen os="g"><userinput>make DESTDIR=${CLFS} INSTALL=install install</userinput></screen>
[82b662d]53
54 <variablelist os="h">
55 <title>The meaning of the make parameter:</title>
56 <varlistentry>
57 <term><parameter>INSTALL=install</parameter></term>
58 <listitem>
[14ab808]59 <para>Normally, <command>make install</command> will not install the
60 binaries if they already exist. This option overrides that behavior
61 by calling <command>install</command> instead of using the default
62 wrapper script.</para>
[82b662d]63 </listitem>
64 </varlistentry>
65 </variablelist>
[02095ae]66
67 </sect2>
68
69 <sect2 id="contents-module-init-tools" role="content">
70 <title>Contents of Module-Init-Tools</title>
71
72 <segmentedlist>
73 <segtitle>Installed programs</segtitle>
74
75 <seglistitem>
[59fb197]76 <seg>depmod, generate-modprobe.conf, insmod, insmod.static,
77 lsmod (link to insmod), modinfo, modprobe (link to insmod), and
78 rmmod (link to insmod)</seg>
[02095ae]79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="depmod">
88 <term><command>depmod</command></term>
89 <listitem>
90 <para>Creates a dependency file based on the symbols it finds in
91 the existing set of modules; this dependency file is used by
92 <command>modprobe</command> to automatically load the required
93 modules</para>
94 <indexterm zone="ch-system-module-init-tools depmod">
95 <primary sortas="b-depmod">depmod</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
[59fb197]100 <varlistentry id="generate-modprobe.conf">
101 <term><command>generate-modprobe.conf</command></term>
102 <listitem>
103 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4
104 module setup</para>
105 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
106 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
[02095ae]111 <varlistentry id="insmod">
112 <term><command>insmod</command></term>
113 <listitem>
114 <para>Installs a loadable module in the running kernel</para>
115 <indexterm zone="ch-system-module-init-tools insmod">
116 <primary sortas="b-insmod">insmod</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="insmod.static">
122 <term><command>insmod.static</command></term>
123 <listitem>
124 <para>A statically compiled version of <command>insmod</command></para>
125 <indexterm zone="ch-system-module-init-tools insmod.static">
126 <primary sortas="b-insmod.static">insmod.static</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="lsmod">
132 <term><command>lsmod</command></term>
133 <listitem>
134 <para>Lists currently loaded modules</para>
135 <indexterm zone="ch-system-module-init-tools lsmod">
136 <primary sortas="b-lsmod">lsmod</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="modinfo">
142 <term><command>modinfo</command></term>
143 <listitem>
144 <para>Examines an object file associated with a kernel module and
145 displays any information that it can glean</para>
146 <indexterm zone="ch-system-module-init-tools modinfo">
147 <primary sortas="b-modinfo">modinfo</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="modprobe">
153 <term><command>modprobe</command></term>
154 <listitem>
155 <para>Uses a dependency file, created by <command>depmod</command>,
156 to automatically load relevant modules</para>
157 <indexterm zone="ch-system-module-init-tools modprobe">
158 <primary sortas="b-modprobe">modprobe</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="rmmod">
164 <term><command>rmmod</command></term>
165 <listitem>
166 <para>Unloads modules from the running kernel</para>
167 <indexterm zone="ch-system-module-init-tools rmmod">
168 <primary sortas="b-rmmod">rmmod</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.