source: chapter06/module-init-tools.xml@ 72d7e28

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.3 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 72d7e28 was 72d7e28, checked in by Jeremy Huntwork <jhuntwork@…>, 18 years ago

Moved all dependency information to a new page, Appendix C.
Appendix C also contains information concerning the build order.
While there might need to be a few tweaks yet, this information is complete
enough at this point to close out the long-standing ticket #684.
Many thanks to Chris Staub, Dan Nicholson and Manuel Canales Esparcia for
helping get this finished.

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

  • Property mode set to 100644
File size: 5.4 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 <segmentedlist>
24 <segtitle>&buildtime;</segtitle>
25 <segtitle>&diskspace;</segtitle>
26
27 <seglistitem>
28 <seg>0.3 SBU</seg>
29 <seg>3.3 MB</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of Module-Init-Tools</title>
37
38 <para>Issue the following commands to perform the tests (note that the
39 <command>make distclean</command> command is required to clean up the source
40 tree, as the source gets recompiled as part of the testing process):</para>
41
42<screen><userinput>./configure &amp;&amp;
43make check &amp;&amp;
44make distclean</userinput></screen>
45
46 <para>Prepare Module-Init-Tools for compilation:</para>
47
48<screen><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
49
50 <para>Compile the package:</para>
51
52<screen><userinput>make</userinput></screen>
53
54 <para>Install the package:</para>
55
56<screen><userinput>make install</userinput></screen>
57
58 </sect2>
59
60 <sect2 id="contents-module-init-tools" role="content">
61 <title>Contents of Module-Init-Tools</title>
62
63 <segmentedlist>
64 <segtitle>Installed programs</segtitle>
65
66 <seglistitem>
67 <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod,
68 modinfo, modprobe, and rmmod</seg>
69 </seglistitem>
70 </segmentedlist>
71
72 <variablelist>
73 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
74 <?dbfo list-presentation="list"?>
75 <?dbhtml list-presentation="table"?>
76
77 <varlistentry id="depmod">
78 <term><command>depmod</command></term>
79 <listitem>
80 <para>Creates a dependency file based on the symbols it finds in the
81 existing set of modules; this dependency file is used by
82 <command>modprobe</command> to automatically load the required
83 modules</para>
84 <indexterm zone="ch-system-module-init-tools depmod">
85 <primary sortas="b-depmod">depmod</primary>
86 </indexterm>
87 </listitem>
88 </varlistentry>
89
90 <varlistentry id="generate-modprobe.conf">
91 <term><command>generate-modprobe.conf</command></term>
92 <listitem>
93 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module
94 setup</para>
95 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
96 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="insmod">
102 <term><command>insmod</command></term>
103 <listitem>
104 <para>Installs a loadable module in the running kernel</para>
105 <indexterm zone="ch-system-module-init-tools insmod">
106 <primary sortas="b-insmod">insmod</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="insmod.static">
112 <term><command>insmod.static</command></term>
113 <listitem>
114 <para>A statically compiled version of <command>insmod</command></para>
115 <indexterm zone="ch-system-module-init-tools insmod.static">
116 <primary sortas="b-insmod.static">insmod.static</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="lsmod">
122 <term><command>lsmod</command></term>
123 <listitem>
124 <para>Lists currently loaded modules</para>
125 <indexterm zone="ch-system-module-init-tools lsmod">
126 <primary sortas="b-lsmod">lsmod</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="modinfo">
132 <term><command>modinfo</command></term>
133 <listitem>
134 <para>Examines an object file associated with a kernel module and
135 displays any information that it can glean</para>
136 <indexterm zone="ch-system-module-init-tools modinfo">
137 <primary sortas="b-modinfo">modinfo</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="modprobe">
143 <term><command>modprobe</command></term>
144 <listitem>
145 <para>Uses a dependency file, created by
146 <command>depmod</command>, to automatically load relevant modules</para>
147 <indexterm zone="ch-system-module-init-tools modprobe">
148 <primary sortas="b-modprobe">modprobe</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="rmmod">
154 <term><command>rmmod</command></term>
155 <listitem>
156 <para>Unloads modules from the running kernel</para>
157 <indexterm zone="ch-system-module-init-tools rmmod">
158 <primary sortas="b-rmmod">rmmod</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 </variablelist>
164
165 </sect2>
166
167</sect1>
Note: See TracBrowser for help on using the repository browser.