module-init-tools.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. <sect1 id="ch-system-module-init-tools" role="wrap">
  8. <?dbhtml filename="module-init-tools.html"?>
  9. <title>Module-Init-Tools-&module-init-tools-version;</title>
  10. <indexterm zone="ch-system-module-init-tools">
  11. <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary>
  12. </indexterm>
  13. <sect2 role="package">
  14. <title/>
  15. <para>The Module-Init-Tools package contains programs for handling kernel
  16. modules in Linux kernels greater than or equal to version 2.5.47.</para>
  17. <segmentedlist>
  18. <segtitle>&buildtime;</segtitle>
  19. <segtitle>&diskspace;</segtitle>
  20. <seglistitem>
  21. <seg>0.3 SBU</seg>
  22. <seg>3.3 MB</seg>
  23. </seglistitem>
  24. </segmentedlist>
  25. <segmentedlist>
  26. <segtitle>&dependencies;</segtitle>
  27. <seglistitem>
  28. <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc,
  29. Grep, M4, Make, Sed, and Zlib</seg>
  30. </seglistitem>
  31. </segmentedlist>
  32. </sect2>
  33. <sect2 role="installation">
  34. <title>Installation of Module-Init-Tools</title>
  35. <para>Issue the following commands to perform the tests (note that the
  36. <command>make distclean</command> command is required to clean up the source
  37. tree, as the source gets recompiled as part of the testing process):</para>
  38. <screen><userinput>./configure &amp;&amp;
  39. make check &amp;&amp;
  40. make distclean</userinput></screen>
  41. <para>Prepare Module-Init-Tools for compilation:</para>
  42. <screen><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
  43. <para>Compile the package:</para>
  44. <screen><userinput>make</userinput></screen>
  45. <para>Install the package:</para>
  46. <screen><userinput>make install</userinput></screen>
  47. </sect2>
  48. <sect2 id="contents-module-init-tools" role="content">
  49. <title>Contents of Module-Init-Tools</title>
  50. <segmentedlist>
  51. <segtitle>Installed programs</segtitle>
  52. <seglistitem>
  53. <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod,
  54. modinfo, modprobe, and rmmod</seg>
  55. </seglistitem>
  56. </segmentedlist>
  57. <variablelist>
  58. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?dbhtml list-presentation="table"?>
  61. <varlistentry id="depmod">
  62. <term><command>depmod</command></term>
  63. <listitem>
  64. <para>Creates a dependency file based on the symbols it finds in the
  65. existing set of modules; this dependency file is used by
  66. <command>modprobe</command> to automatically load the required
  67. modules</para>
  68. <indexterm zone="ch-system-module-init-tools depmod">
  69. <primary sortas="b-depmod">depmod</primary>
  70. </indexterm>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry id="generate-modprobe.conf">
  74. <term><command>generate-modprobe.conf</command></term>
  75. <listitem>
  76. <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module
  77. setup</para>
  78. <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
  79. <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
  80. </indexterm>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="insmod">
  84. <term><command>insmod</command></term>
  85. <listitem>
  86. <para>Installs a loadable module in the running kernel</para>
  87. <indexterm zone="ch-system-module-init-tools insmod">
  88. <primary sortas="b-insmod">insmod</primary>
  89. </indexterm>
  90. </listitem>
  91. </varlistentry>
  92. <varlistentry id="insmod.static">
  93. <term><command>insmod.static</command></term>
  94. <listitem>
  95. <para>A statically compiled version of <command>insmod</command></para>
  96. <indexterm zone="ch-system-module-init-tools insmod.static">
  97. <primary sortas="b-insmod.static">insmod.static</primary>
  98. </indexterm>
  99. </listitem>
  100. </varlistentry>
  101. <varlistentry id="lsmod">
  102. <term><command>lsmod</command></term>
  103. <listitem>
  104. <para>Lists currently loaded modules</para>
  105. <indexterm zone="ch-system-module-init-tools lsmod">
  106. <primary sortas="b-lsmod">lsmod</primary>
  107. </indexterm>
  108. </listitem>
  109. </varlistentry>
  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">
  116. <primary sortas="b-modinfo">modinfo</primary>
  117. </indexterm>
  118. </listitem>
  119. </varlistentry>
  120. <varlistentry id="modprobe">
  121. <term><command>modprobe</command></term>
  122. <listitem>
  123. <para>Uses a dependency file, created by
  124. <command>depmod</command>, to automatically load relevant modules</para>
  125. <indexterm zone="ch-system-module-init-tools modprobe">
  126. <primary sortas="b-modprobe">modprobe</primary>
  127. </indexterm>
  128. </listitem>
  129. </varlistentry>
  130. <varlistentry id="rmmod">
  131. <term><command>rmmod</command></term>
  132. <listitem>
  133. <para>Unloads modules from the running kernel</para>
  134. <indexterm zone="ch-system-module-init-tools rmmod">
  135. <primary sortas="b-rmmod">rmmod</primary>
  136. </indexterm>
  137. </listitem>
  138. </varlistentry>
  139. </variablelist>
  140. </sect2>
  141. </sect1>