source: chapter06/module-init-tools.xml@ 93ae5d3

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 93ae5d3 was 93ae5d3, checked in by Matthew Burgess <matthew@…>, 15 years ago

Upgrade to Module-Init-Tools-3.5. Fixes #2245.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8764 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <sect1info condition="script">
12 <productname>module-init-tools</productname>
13 <productnumber>&module-init-tools-version;</productnumber>
14 <address>&module-init-tools-url;</address>
15 </sect1info>
16
17 <title>Module-Init-Tools-&module-init-tools-version;</title>
18
19 <indexterm zone="ch-system-module-init-tools">
20 <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Module-Init-Tools package contains programs for handling kernel
27 modules in Linux kernels greater than or equal to version 2.5.47.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&module-init-tools-ch6-sbu;</seg>
35 <seg>&module-init-tools-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Module-Init-Tools</title>
43
44 <para>The testsuite of this package is geared towards the needs of its
45 Maintainer. The command <command>make check</command> builds a specially
46 wrapped version of modprobe which is useless for normal operation. To run
47 this (about 0.2 SBU), issue the following commands (note that the
48 <command>make clean</command> command is required to clean up the source
49 tree before recompiling for normal use):</para>
50
51<screen><userinput remap="test">./configure
52make check
53make clean</userinput></screen>
54
55 <para>Prepare Module-Init-Tools for compilation:</para>
56
57<screen><userinput remap="configure">./configure --prefix=/ --enable-zlib --mandir=/usr/share/man</userinput></screen>
58
59 <para>Compile the package:</para>
60
61<screen><userinput remap="make">make</userinput></screen>
62
63 <para>Install the package:</para>
64
65<screen><userinput remap="install">make INSTALL=install install</userinput></screen>
66
67 <variablelist>
68 <title>The meaning of the make parameter:</title>
69 <varlistentry>
70 <term><parameter>INSTALL=install</parameter></term>
71 <listitem>
72 <para>Normally, <command>make install</command> will not install the
73 binaries if they already exist. This option overrides that behavior by
74 calling <command>install</command> instead of using the default
75 wrapper script.</para>
76 </listitem>
77 </varlistentry>
78 </variablelist>
79
80 </sect2>
81
82 <sect2 id="contents-module-init-tools" role="content">
83 <title>Contents of Module-Init-Tools</title>
84
85 <segmentedlist>
86 <segtitle>Installed programs</segtitle>
87
88 <seglistitem>
89 <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod,
90 modinfo, modprobe, and rmmod</seg>
91 </seglistitem>
92 </segmentedlist>
93
94 <variablelist>
95 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
96 <?dbfo list-presentation="list"?>
97 <?dbhtml list-presentation="table"?>
98
99 <varlistentry id="depmod">
100 <term><command>depmod</command></term>
101 <listitem>
102 <para>Creates a dependency file based on the symbols it finds in the
103 existing set of modules; this dependency file is used by
104 <command>modprobe</command> to automatically load the required
105 modules</para>
106 <indexterm zone="ch-system-module-init-tools depmod">
107 <primary sortas="b-depmod">depmod</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="generate-modprobe.conf">
113 <term><command>generate-modprobe.conf</command></term>
114 <listitem>
115 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module
116 setup</para>
117 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
118 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="insmod">
124 <term><command>insmod</command></term>
125 <listitem>
126 <para>Installs a loadable module in the running kernel</para>
127 <indexterm zone="ch-system-module-init-tools insmod">
128 <primary sortas="b-insmod">insmod</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="insmod.static">
134 <term><command>insmod.static</command></term>
135 <listitem>
136 <para>A statically compiled version of <command>insmod</command></para>
137 <indexterm zone="ch-system-module-init-tools insmod.static">
138 <primary sortas="b-insmod.static">insmod.static</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="lsmod">
144 <term><command>lsmod</command></term>
145 <listitem>
146 <para>Lists currently loaded modules</para>
147 <indexterm zone="ch-system-module-init-tools lsmod">
148 <primary sortas="b-lsmod">lsmod</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="modinfo">
154 <term><command>modinfo</command></term>
155 <listitem>
156 <para>Examines an object file associated with a kernel module and
157 displays any information that it can glean</para>
158 <indexterm zone="ch-system-module-init-tools modinfo">
159 <primary sortas="b-modinfo">modinfo</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="modprobe">
165 <term><command>modprobe</command></term>
166 <listitem>
167 <para>Uses a dependency file, created by
168 <command>depmod</command>, to automatically load relevant modules</para>
169 <indexterm zone="ch-system-module-init-tools modprobe">
170 <primary sortas="b-modprobe">modprobe</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="rmmod">
176 <term><command>rmmod</command></term>
177 <listitem>
178 <para>Unloads modules from the running kernel</para>
179 <indexterm zone="ch-system-module-init-tools rmmod">
180 <primary sortas="b-rmmod">rmmod</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 </variablelist>
186
187 </sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.