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

Last change on this file since f7941b2 was 82b662d, checked in by Jim Gifford <clfs@…>, 18 years ago

r3918@server (orig r1762): jciccone | 2006-06-11 10:42:36 -0700
Updated to shadow-4.0.16 and linux-headers-2.6.16.20-06092006; Updated the list of installed programs for several packages; Fixed the install of module-init-tools.

  • Property mode set to 100644
File size: 5.9 KB
Line 
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
30<screen os="b"><userinput>./configure --prefix=/ --enable-zlib --host=${LFS_TARGET}</userinput></screen>
31
32 <variablelist os="c">
33 <title>The meaning of the configure options:</title>
34
35 <varlistentry>
36 <term><parameter>--enable-zlib</parameter></term>
37 <listitem>
38 <para>This allows the Module-Init-Tools package to handle compressed
39 kernel modules.</para>
40 </listitem>
41 </varlistentry>
42
43 </variablelist>
44
45 <para os="d">Compile the package:</para>
46
47<screen os="e"><userinput>make</userinput></screen>
48
49 <para os="f">Install the package:</para>
50
51<screen os="g"><userinput>make DESTDIR=${LFS} INSTALL=install install</userinput></screen>
52
53 <variablelist os="h">
54 <title>The meaning of the make parameter:</title>
55 <varlistentry>
56 <term><parameter>INSTALL=install</parameter></term>
57 <listitem>
58 <para>Normally, make install will not install the binaries if they
59 already exist. This option overrides that behavior by calling
60 <command>install</command> instead of using the default wrapper
61 script.</para>
62 </listitem>
63 </varlistentry>
64 </variablelist>
65
66 </sect2>
67
68 <sect2 id="contents-module-init-tools" role="content">
69 <title>Contents of Module-Init-Tools</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
73
74 <seglistitem>
75 <seg>depmod, generate-modprobe.conf, insmod, insmod.static,
76 lsmod (link to insmod), modinfo, modprobe (link to insmod), and
77 rmmod (link to insmod)</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
85
86 <varlistentry id="depmod">
87 <term><command>depmod</command></term>
88 <listitem>
89 <para>Creates a dependency file based on the symbols it finds in
90 the existing set of modules; this dependency file is used by
91 <command>modprobe</command> to automatically load the required
92 modules</para>
93 <indexterm zone="ch-system-module-init-tools depmod">
94 <primary sortas="b-depmod">depmod</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 <varlistentry id="generate-modprobe.conf">
100 <term><command>generate-modprobe.conf</command></term>
101 <listitem>
102 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4
103 module setup</para>
104 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
105 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry id="insmod">
111 <term><command>insmod</command></term>
112 <listitem>
113 <para>Installs a loadable module in the running kernel</para>
114 <indexterm zone="ch-system-module-init-tools insmod">
115 <primary sortas="b-insmod">insmod</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 <varlistentry id="insmod.static">
121 <term><command>insmod.static</command></term>
122 <listitem>
123 <para>A statically compiled version of <command>insmod</command></para>
124 <indexterm zone="ch-system-module-init-tools insmod.static">
125 <primary sortas="b-insmod.static">insmod.static</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129
130 <varlistentry id="lsmod">
131 <term><command>lsmod</command></term>
132 <listitem>
133 <para>Lists currently loaded modules</para>
134 <indexterm zone="ch-system-module-init-tools lsmod">
135 <primary sortas="b-lsmod">lsmod</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="modinfo">
141 <term><command>modinfo</command></term>
142 <listitem>
143 <para>Examines an object file associated with a kernel module and
144 displays any information that it can glean</para>
145 <indexterm zone="ch-system-module-init-tools modinfo">
146 <primary sortas="b-modinfo">modinfo</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="modprobe">
152 <term><command>modprobe</command></term>
153 <listitem>
154 <para>Uses a dependency file, created by <command>depmod</command>,
155 to automatically load relevant modules</para>
156 <indexterm zone="ch-system-module-init-tools modprobe">
157 <primary sortas="b-modprobe">modprobe</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="rmmod">
163 <term><command>rmmod</command></term>
164 <listitem>
165 <para>Unloads modules from the running kernel</para>
166 <indexterm zone="ch-system-module-init-tools rmmod">
167 <primary sortas="b-rmmod">rmmod</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 </variablelist>
173
174 </sect2>
175
176</sect1>
Note: See TracBrowser for help on using the repository browser.