source: chapter06/module-init-tools.xml@ 971be6b

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.4 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 971be6b was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

  • Property mode set to 100644
File size: 6.4 KB
RevLine 
[9dfc02f]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[9dfc02f]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[2fa922f]7
[81fd230]8<sect1 id="ch-system-module-init-tools" role="wrap">
[2fa922f]9 <?dbhtml filename="module-init-tools.html"?>
10
[e747759]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
[2fa922f]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/>
[9dfc02f]25
[2fa922f]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>
[9dfc02f]28
[2fa922f]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[9dfc02f]32
[2fa922f]33 <seglistitem>
[e4a5635]34 <seg>&module-init-tools-ch6-sbu;</seg>
35 <seg>&module-init-tools-ch6-du;</seg>
[2fa922f]36 </seglistitem>
37 </segmentedlist>
[9dfc02f]38
[2fa922f]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Module-Init-Tools</title>
43
[cb9c31a]44 <para>First correct a potential problem when modules are specified
[48206b3]45 using regular expressions:</para>
46
[0445a3d]47<screen><userinput remap="pre">patch -Np1 -i ../&module-init-modprobe-patch;</userinput></screen>
[48206b3]48
[2fa922f]49 <para>Issue the following commands to perform the tests (note that the
50 <command>make distclean</command> command is required to clean up the source
51 tree, as the source gets recompiled as part of the testing process):</para>
[aa8363a]52
[0445a3d]53<screen><userinput remap="test">./configure
[ad83f72]54make check
[89cca6e]55make distclean</userinput></screen>
56
[2fa922f]57 <para>Prepare Module-Init-Tools for compilation:</para>
[9dfc02f]58
[0445a3d]59<screen><userinput remap="configure">./configure --prefix=/ --enable-zlib</userinput></screen>
[e5846ef]60
[2fa922f]61 <para>Compile the package:</para>
[9dfc02f]62
[0445a3d]63<screen><userinput remap="make">make</userinput></screen>
[81fd230]64
[2fa922f]65 <para>Install the package:</para>
[9dfc02f]66
[0445a3d]67<screen><userinput remap="install">make INSTALL=install install</userinput></screen>
[0d9735e4]68
69 <variablelist>
70 <title>The meaning of the make parameter:</title>
71 <varlistentry>
72 <term><parameter>INSTALL=install</parameter></term>
73 <listitem>
[efa4a64]74 <para>Normally, <command>make install</command> will not install the
75 binaries if they already exist. This option overrides that behavior by
76 calling <command>install</command> instead of using the default
77 wrapper script.</para>
[0d9735e4]78 </listitem>
79 </varlistentry>
80 </variablelist>
[9dfc02f]81
[2fa922f]82 </sect2>
83
84 <sect2 id="contents-module-init-tools" role="content">
85 <title>Contents of Module-Init-Tools</title>
86
87 <segmentedlist>
88 <segtitle>Installed programs</segtitle>
89
90 <seglistitem>
91 <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod,
92 modinfo, modprobe, and rmmod</seg>
93 </seglistitem>
94 </segmentedlist>
95
96 <variablelist>
97 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
98 <?dbfo list-presentation="list"?>
99 <?dbhtml list-presentation="table"?>
100
101 <varlistentry id="depmod">
102 <term><command>depmod</command></term>
103 <listitem>
104 <para>Creates a dependency file based on the symbols it finds in the
105 existing set of modules; this dependency file is used by
106 <command>modprobe</command> to automatically load the required
107 modules</para>
108 <indexterm zone="ch-system-module-init-tools depmod">
109 <primary sortas="b-depmod">depmod</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="generate-modprobe.conf">
115 <term><command>generate-modprobe.conf</command></term>
116 <listitem>
117 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module
118 setup</para>
119 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
120 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 <varlistentry id="insmod">
126 <term><command>insmod</command></term>
127 <listitem>
128 <para>Installs a loadable module in the running kernel</para>
129 <indexterm zone="ch-system-module-init-tools insmod">
130 <primary sortas="b-insmod">insmod</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="insmod.static">
136 <term><command>insmod.static</command></term>
137 <listitem>
138 <para>A statically compiled version of <command>insmod</command></para>
139 <indexterm zone="ch-system-module-init-tools insmod.static">
140 <primary sortas="b-insmod.static">insmod.static</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="lsmod">
146 <term><command>lsmod</command></term>
147 <listitem>
148 <para>Lists currently loaded modules</para>
149 <indexterm zone="ch-system-module-init-tools lsmod">
150 <primary sortas="b-lsmod">lsmod</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="modinfo">
156 <term><command>modinfo</command></term>
157 <listitem>
158 <para>Examines an object file associated with a kernel module and
159 displays any information that it can glean</para>
160 <indexterm zone="ch-system-module-init-tools modinfo">
161 <primary sortas="b-modinfo">modinfo</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="modprobe">
167 <term><command>modprobe</command></term>
168 <listitem>
169 <para>Uses a dependency file, created by
170 <command>depmod</command>, to automatically load relevant modules</para>
171 <indexterm zone="ch-system-module-init-tools modprobe">
172 <primary sortas="b-modprobe">modprobe</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="rmmod">
178 <term><command>rmmod</command></term>
179 <listitem>
180 <para>Unloads modules from the running kernel</para>
181 <indexterm zone="ch-system-module-init-tools rmmod">
182 <primary sortas="b-rmmod">rmmod</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
[9dfc02f]190
191</sect1>
Note: See TracBrowser for help on using the repository browser.