[9dfc02f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 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 | ]>
|
---|
[81fd230] | 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/>
|
---|
[81fd230] | 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>
|
---|
[9dfc02f] | 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
[6856842] | 19 | <seglistitem><seg>0.3 SBU</seg><seg>3.3 MB</seg></seglistitem>
|
---|
[a001133] | 20 | </segmentedlist>
|
---|
[9dfc02f] | 21 |
|
---|
[81fd230] | 22 | <segmentedlist>
|
---|
[45992ae] | 23 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 24 | <seglistitem><seg>Bash, Binutils, Bison,
|
---|
[1a89152] | 25 | Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed, and Zlib</seg></seglistitem>
|
---|
[81fd230] | 26 | </segmentedlist>
|
---|
[a001133] | 27 | </sect2>
|
---|
[9dfc02f] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[9dfc02f] | 30 | <title>Installation of Module-Init-Tools</title>
|
---|
| 31 |
|
---|
[6856842] | 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>
|
---|
[aa8363a] | 35 |
|
---|
[6856842] | 36 | <screen><userinput>./configure &&
|
---|
[89cca6e] | 37 | make check &&
|
---|
| 38 | make distclean</userinput></screen>
|
---|
| 39 |
|
---|
[9dfc02f] | 40 | <para>Prepare Module-Init-Tools for compilation:</para>
|
---|
| 41 |
|
---|
[46a2e9c] | 42 | <screen><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
|
---|
[e5846ef] | 43 |
|
---|
[9dfc02f] | 44 | <para>Compile the package:</para>
|
---|
| 45 |
|
---|
[aa8363a] | 46 | <screen><userinput>make</userinput></screen>
|
---|
[81fd230] | 47 |
|
---|
| 48 | <para>Install the package:</para>
|
---|
[9dfc02f] | 49 |
|
---|
| 50 | <screen><userinput>make install</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 |
|
---|
[c6cb3aa] | 55 | <sect2 id="contents-module-init-tools" role="content"><title>Contents of Module-Init-Tools</title>
|
---|
[9dfc02f] | 56 |
|
---|
[81fd230] | 57 | <segmentedlist>
|
---|
| 58 | <segtitle>Installed programs</segtitle>
|
---|
[6856842] | 59 | <seglistitem><seg>depmod, generate-modprobe.conf, insmod,
|
---|
| 60 | insmod.static, lsmod, modinfo, modprobe, and rmmod</seg></seglistitem>
|
---|
[81fd230] | 61 | </segmentedlist>
|
---|
| 62 |
|
---|
| 63 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 64 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 65 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 66 |
|
---|
| 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>
|
---|
| 76 |
|
---|
[6856842] | 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>
|
---|
| 84 |
|
---|
[81fd230] | 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>
|
---|
| 92 |
|
---|
[bc2136e] | 93 | <varlistentry id="insmod.static">
|
---|
| 94 | <term><command>insmod.static</command></term>
|
---|
[81fd230] | 95 | <listitem>
|
---|
[20549627] | 96 | <para>A statically compiled version of <command>insmod</command></para>
|
---|
[bc2136e] | 97 | <indexterm zone="ch-system-module-init-tools insmod.static"><primary
|
---|
| 98 | sortas="b-insmod.static">insmod.static</primary></indexterm>
|
---|
[81fd230] | 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
| 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>
|
---|
| 109 |
|
---|
| 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>
|
---|
| 118 |
|
---|
| 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>
|
---|
| 127 |
|
---|
| 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>
|
---|
[9dfc02f] | 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | </sect1>
|
---|
[81fd230] | 140 |
|
---|