Changeset 2fa922f for chapter06/module-init-tools.xml
- Timestamp:
- 02/06/2006 08:45:42 PM (18 years ago)
- Branches:
- 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
- Children:
- 1ca11cd
- Parents:
- cf7142a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/module-init-tools.xml
rcf7142a r2fa922f 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-module-init-tools" role="wrap"> 7 <title>Module-Init-Tools-&module-init-tools-version;</title> 8 <?dbhtml filename="module-init-tools.html"?> 9 <?dbhtml filename="module-init-tools.html"?> 9 10 10 <indexterm zone="ch-system-module-init-tools"><primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary></indexterm>11 <title>Module-Init-Tools-&module-init-tools-version;</title> 11 12 12 <sect2 role="package"><title/>13 <para>The Module-Init-Tools package contains programs for handling kernel 14 modules in Linux kernels greater than or equal to version 2.5.47.</para>13 <indexterm zone="ch-system-module-init-tools"> 14 <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary> 15 </indexterm> 15 16 16 <segmentedlist> 17 <segtitle>&buildtime;</segtitle> 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0.3 SBU</seg><seg>3.3 MB</seg></seglistitem> 20 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 21 19 22 <segmentedlist> 23 <segtitle>&dependencies;</segtitle> 24 <seglistitem><seg>Bash, Binutils, Bison, 25 Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed</seg></seglistitem> 26 </segmentedlist> 27 </sect2> 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> 28 22 29 <sect2 role="installation"> 30 <title>Installation of Module-Init-Tools</title> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 31 26 32 <para>Issue the following commands to perform the tests (note that the 33 <command>make distclean</command> command is required to clean up the source 34 tree, as the source gets recompiled as part of the testing process):</para> 27 <seglistitem> 28 <seg>0.3 SBU</seg> 29 <seg>3.3 MB</seg> 30 </seglistitem> 31 </segmentedlist> 32 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 36 <seglistitem> 37 <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc, 38 Grep, M4, Make, and Sed</seg> 39 </seglistitem> 40 </segmentedlist> 41 42 </sect2> 43 44 <sect2 role="installation"> 45 <title>Installation of Module-Init-Tools</title> 46 47 <para>Issue the following commands to perform the tests (note that the 48 <command>make distclean</command> command is required to clean up the source 49 tree, as the source gets recompiled as part of the testing process):</para> 35 50 36 51 <screen><userinput>./configure && … … 38 53 make distclean</userinput></screen> 39 54 40 <para>Prepare Module-Init-Tools for compilation:</para>55 <para>Prepare Module-Init-Tools for compilation:</para> 41 56 42 57 <screen><userinput>./configure --prefix=/ --enable-zlib</userinput></screen> 43 58 44 <para>Compile the package:</para>59 <para>Compile the package:</para> 45 60 46 61 <screen><userinput>make</userinput></screen> 47 62 48 <para>Install the package:</para>63 <para>Install the package:</para> 49 64 50 65 <screen><userinput>make install</userinput></screen> 51 66 52 </sect2>67 </sect2> 53 68 69 <sect2 id="contents-module-init-tools" role="content"> 70 <title>Contents of Module-Init-Tools</title> 54 71 55 <sect2 id="contents-module-init-tools" role="content"><title>Contents of Module-Init-Tools</title> 72 <segmentedlist> 73 <segtitle>Installed programs</segtitle> 56 74 57 <segmentedlist>58 <segtitle>Installed programs</segtitle> 59 <seglistitem><seg>depmod, generate-modprobe.conf, insmod, 60 insmod.static, lsmod, modinfo, modprobe, and rmmod</seg></seglistitem>61 </segmentedlist>75 <seglistitem> 76 <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod, 77 modinfo, modprobe, and rmmod</seg> 78 </seglistitem> 79 </segmentedlist> 62 80 63 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 64 <?dbfo list-presentation="list"?> 65 <?dbhtml list-presentation="table"?> 81 <variablelist> 82 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 83 <?dbfo list-presentation="list"?> 84 <?dbhtml list-presentation="table"?> 66 85 67 <varlistentry id="depmod"> 68 <term><command>depmod</command></term> 69 <listitem> 70 <para>Creates a dependency file based on the symbols it finds in the 71 existing set of modules; this dependency file is used by <command>modprobe</command> to 72 automatically load the required modules</para> 73 <indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm> 74 </listitem> 75 </varlistentry> 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 the 90 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> 76 98 77 <varlistentry id="generate-modprobe.conf"> 78 <term><command>generate-modprobe.conf</command></term> 79 <listitem> 80 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup</para> 81 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf"><primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary></indexterm> 82 </listitem> 83 </varlistentry> 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 module 103 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> 84 109 85 <varlistentry id="insmod"> 86 <term><command>insmod</command></term> 87 <listitem> 88 <para>Installs a loadable module in the running kernel</para> 89 <indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm> 90 </listitem> 91 </varlistentry> 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> 92 119 93 <varlistentry id="insmod.static"> 94 <term><command>insmod.static</command></term> 95 <listitem> 96 <para>A statically compiled version of <command>insmod</command></para> 97 <indexterm zone="ch-system-module-init-tools insmod.static"><primary 98 sortas="b-insmod.static">insmod.static</primary></indexterm> 99 </listitem> 100 </varlistentry> 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> 101 129 102 <varlistentry id="lsmod"> 103 <term><command>lsmod</command></term> 104 <listitem> 105 <para>Lists currently loaded modules</para> 106 <indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm> 107 </listitem> 108 </varlistentry> 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> 109 139 110 <varlistentry id="modinfo"> 111 <term><command>modinfo</command></term> 112 <listitem> 113 <para>Examines an object file associated with a kernel module and 114 displays any information that it can glean</para> 115 <indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm> 116 </listitem> 117 </varlistentry> 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> 118 150 119 <varlistentry id="modprobe"> 120 <term><command>modprobe</command></term> 121 <listitem> 122 <para>Uses a dependency file, created by 123 <command>depmod</command>, to automatically load relevant modules</para> 124 <indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm> 125 </listitem> 126 </varlistentry> 151 <varlistentry id="modprobe"> 152 <term><command>modprobe</command></term> 153 <listitem> 154 <para>Uses a dependency file, created by 155 <command>depmod</command>, 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> 127 161 128 <varlistentry id="rmmod"> 129 <term><command>rmmod</command></term> 130 <listitem> 131 <para>Unloads modules from the running kernel</para> 132 <indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm> 133 </listitem> 134 </varlistentry> 135 </variablelist> 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> 136 171 137 </sect2> 172 </variablelist> 173 174 </sect2> 138 175 139 176 </sect1> 140
Note:
See TracChangeset
for help on using the changeset viewer.