[9dfc02f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c2133bc] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[9dfc02f] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[752f4e5] | 6 | <sect1 id="ch-system-module-init-tools" role="wrap">
|
---|
[9dfc02f] | 7 | <title>Module-Init-Tools-&module-init-tools-version;</title>
|
---|
| 8 | <?dbhtml filename="module-init-tools.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-module-init-tools"><primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary></indexterm>
|
---|
| 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[9dfc02f] | 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>
|
---|
| 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.1 SBU</seg><seg>650 KB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
[9dfc02f] | 21 |
|
---|
[a001133] | 22 | <segmentedlist>
|
---|
[a0e1913] | 23 | <segtitle>&dependencies;</segtitle>
|
---|
[a001133] | 24 | <seglistitem><seg>Bash, Binutils, Bison,
|
---|
[69993f4] | 25 | Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed</seg></seglistitem>
|
---|
[a001133] | 26 | </segmentedlist>
|
---|
| 27 | </sect2>
|
---|
[9dfc02f] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[9dfc02f] | 30 | <title>Installation of Module-Init-Tools</title>
|
---|
| 31 |
|
---|
| 32 | <para>Prepare Module-Init-Tools for compilation:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>Compile the package:</para>
|
---|
| 37 |
|
---|
[407d336] | 38 | <screen><userinput>make DOCBOOKTOMAN=""</userinput></screen>
|
---|
| 39 |
|
---|
| 40 | <!-- Edit me -->
|
---|
| 41 | <para>The <command>DOCBOOKTOMAN</command> option allows the compile process to
|
---|
| 42 | complete without regenerating the man pages.</para>
|
---|
[9dfc02f] | 43 |
|
---|
| 44 | <para>To test the results, issue:
|
---|
| 45 | <userinput>make check</userinput>.</para>
|
---|
| 46 |
|
---|
[ef13657] | 47 | <para>Install the package:</para>
|
---|
[9dfc02f] | 48 |
|
---|
| 49 | <screen><userinput>make install</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 |
|
---|
[c6cb3aa] | 54 | <sect2 id="contents-module-init-tools" role="content"><title>Contents of Module-Init-Tools</title>
|
---|
[9dfc02f] | 55 |
|
---|
[c6cb3aa] | 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed programs</segtitle>
|
---|
| 58 | <seglistitem><seg>depmod, genksyms, insmod,
|
---|
[9dfc02f] | 59 | insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms
|
---|
[69993f4] | 60 | (link to insmod), lsmod (link to insmod), modinfo, modprobe (link to
|
---|
| 61 | insmod), and rmmod (link to insmod)</seg></seglistitem>
|
---|
[c6cb3aa] | 62 | </segmentedlist>
|
---|
[9dfc02f] | 63 |
|
---|
[2256873] | 64 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[3ed279f] | 65 | <?dbfo list-presentation="list"?>
|
---|
[c5f9180] | 66 | <?dbhtml list-presentation="table"?>
|
---|
[9dfc02f] | 67 |
|
---|
[b8a819f] | 68 | <varlistentry id="depmod">
|
---|
| 69 | <term><command>depmod</command></term>
|
---|
[c6cb3aa] | 70 | <listitem>
|
---|
[2256873] | 71 | <para>Creates a dependency file based on the symbols it finds in the
|
---|
| 72 | existing set of modules; this dependency file is used by <command>modprobe</command> to
|
---|
| 73 | automatically load the required modules</para>
|
---|
[3ed279f] | 74 | <indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm>
|
---|
[c6cb3aa] | 75 | </listitem>
|
---|
| 76 | </varlistentry>
|
---|
[9dfc02f] | 77 |
|
---|
[b8a819f] | 78 | <varlistentry id="genksyms">
|
---|
| 79 | <term><command>genksyms</command></term>
|
---|
[c6cb3aa] | 80 | <listitem>
|
---|
[2256873] | 81 | <para>Generates symbol version information</para>
|
---|
[3ed279f] | 82 | <indexterm zone="ch-system-module-init-tools genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm>
|
---|
[c6cb3aa] | 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
[9dfc02f] | 85 |
|
---|
[b8a819f] | 86 | <varlistentry id="insmod">
|
---|
| 87 | <term><command>insmod</command></term>
|
---|
[c6cb3aa] | 88 | <listitem>
|
---|
[2256873] | 89 | <para>Installs a loadable module in the running kernel</para>
|
---|
[3ed279f] | 90 | <indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm>
|
---|
[c6cb3aa] | 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
[9dfc02f] | 93 |
|
---|
[b8a819f] | 94 | <varlistentry id="insmod_ksymoops_clean">
|
---|
| 95 | <term><command>insmod_ksymoops_clean</command></term>
|
---|
[c6cb3aa] | 96 | <listitem>
|
---|
[2256873] | 97 | <para>Deletes saved ksyms and modules not accessed for two days</para>
|
---|
[3ed279f] | 98 | <indexterm zone="ch-system-module-init-tools insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm>
|
---|
[c6cb3aa] | 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
[9dfc02f] | 101 |
|
---|
[b8a819f] | 102 | <varlistentry id="kallsyms">
|
---|
| 103 | <term><command>kallsyms</command></term>
|
---|
[c6cb3aa] | 104 | <listitem>
|
---|
[2256873] | 105 | <para>Extracts all kernel symbols for debugging</para>
|
---|
[3ed279f] | 106 | <indexterm zone="ch-system-module-init-tools kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm>
|
---|
[c6cb3aa] | 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
[9dfc02f] | 109 |
|
---|
[b8a819f] | 110 | <varlistentry id="kernelversion">
|
---|
| 111 | <term><command>kernelversion</command></term>
|
---|
[c6cb3aa] | 112 | <listitem>
|
---|
[2256873] | 113 | <para>Reports the major version of the running kernel</para>
|
---|
[3ed279f] | 114 | <indexterm zone="ch-system-module-init-tools kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm>
|
---|
[c6cb3aa] | 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
[9dfc02f] | 117 |
|
---|
[b8a819f] | 118 | <varlistentry id="ksyms">
|
---|
| 119 | <term><command>ksyms</command></term>
|
---|
[c6cb3aa] | 120 | <listitem>
|
---|
[2256873] | 121 | <para>Displays exported kernel symbols</para>
|
---|
[3ed279f] | 122 | <indexterm zone="ch-system-module-init-tools ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm>
|
---|
[c6cb3aa] | 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
[9dfc02f] | 125 |
|
---|
[b8a819f] | 126 | <varlistentry id="lsmod">
|
---|
| 127 | <term><command>lsmod</command></term>
|
---|
[c6cb3aa] | 128 | <listitem>
|
---|
[2256873] | 129 | <para>Lists currently loaded modules</para>
|
---|
[3ed279f] | 130 | <indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm>
|
---|
[c6cb3aa] | 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
[9dfc02f] | 133 |
|
---|
[b8a819f] | 134 | <varlistentry id="modinfo">
|
---|
| 135 | <term><command>modinfo</command></term>
|
---|
[c6cb3aa] | 136 | <listitem>
|
---|
[2256873] | 137 | <para>Examines an object file associated with a kernel module and
|
---|
| 138 | displays any information that it can glean</para>
|
---|
[3ed279f] | 139 | <indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm>
|
---|
[c6cb3aa] | 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
[9dfc02f] | 142 |
|
---|
[b8a819f] | 143 | <varlistentry id="modprobe">
|
---|
| 144 | <term><command>modprobe</command></term>
|
---|
[c6cb3aa] | 145 | <listitem>
|
---|
[2256873] | 146 | <para>Uses a dependency file, created by
|
---|
| 147 | <command>depmod</command>, to automatically load relevant modules</para>
|
---|
[3ed279f] | 148 | <indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
|
---|
[c6cb3aa] | 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
[9dfc02f] | 151 |
|
---|
[b8a819f] | 152 | <varlistentry id="rmmod">
|
---|
| 153 | <term><command>rmmod</command></term>
|
---|
[c6cb3aa] | 154 | <listitem>
|
---|
[2256873] | 155 | <para>Unloads modules from the running kernel</para>
|
---|
[3ed279f] | 156 | <indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm>
|
---|
[c6cb3aa] | 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 | </variablelist>
|
---|
[9dfc02f] | 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | </sect1>
|
---|
[ef13657] | 164 |
|
---|