[deployment-guide/comm-rel: 296/727] Updated the Displaying Module Information section.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 12:49:29 UTC 2010


commit a7bec4fa4c1a1531d747f6599c2f1ba2d989719d
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Mon Aug 9 18:17:05 2010 +0200

    Updated the Displaying Module Information section.

 en-US/Working_with_Kernel_Modules.xml |   48 ++++++++++++++++++++++++++++++---
 1 files changed, 44 insertions(+), 4 deletions(-)
---
diff --git a/en-US/Working_with_Kernel_Modules.xml b/en-US/Working_with_Kernel_Modules.xml
index 6b4ce92..5196327 100644
--- a/en-US/Working_with_Kernel_Modules.xml
+++ b/en-US/Working_with_Kernel_Modules.xml
@@ -186,10 +186,50 @@ rmmod /lib/modules/2.6.32-54.el6.i686/kernel/drivers/net/mii.ko</screen>
     <section
       id="s2-kernel-module-utils-modinfo">
       <title>Displaying Module Information</title>
-      <para>Another useful kernel module utility is <command>modinfo</command>. Use the command <command>/sbin/modinfo</command> to display information about a kernel module. The general syntax is:</para>
-      <screen>~]#&#160;<command>/sbin/modinfo&#160;<replaceable><optional>options</optional> </replaceable>&#160;<replaceable>&lt;kernel_module_name&gt;</replaceable></command>
-      </screen>
-      <para>Options include <option>-d</option>, which displays a brief description of the module, and <option>-p</option>, which lists the parameters the module supports. The <command>modinfo</command> command is useful for listing information such as version, dependencies, paramater options, and aliases of modules.For a complete list of options, refer to the <command>modinfo</command> man page.</para>
+      <indexterm
+        significance="normal">
+        <primary>
+          <command>modinfo</command>
+        </primary>
+      </indexterm>
+      <indexterm
+        significance="normal">
+        <primary>kernel module</primary>
+        <secondary>examining</secondary>
+      </indexterm>
+      <para>To display detailed information about a kernel module, use the <command>modinfo</command> in the following form:</para>
+      <screen><command>/sbin/modinfo <replaceable>&lt;module&gt;</replaceable></command></screen>
+      <para>For example, to display information about the <systemitem class="resource">e100</systemitem> module, type:</para>
+      <screen>~]#&#160;<command>/sbin/modinfo e100</command>
+filename:       /lib/modules/2.6.32-54.el6.i686/kernel/drivers/net/e100.ko
+firmware:       e100/d102e_ucode.bin
+firmware:       e100/d101s_ucode.bin
+firmware:       e100/d101m_ucode.bin
+version:        3.5.24-k2-NAPI
+license:        GPL
+author:         Copyright(c) 1999-2006 Intel Corporation
+description:    Intel(R) PRO/100 Network Driver
+srcversion:     B3A9FA10F08AF446AA1CC6B
+alias:          pci:v00008086d000027DCsv*sd*bc02sc00i*
+alias:          pci:v00008086d0000245Dsv*sd*bc02sc00i*
+alias:          pci:v00008086d00002459sv*sd*bc02sc00i*
+<emphasis>... several lines omitted ...</emphasis>
+depends:        mii
+vermagic:       2.6.32-54.el6.i686 SMP mod_unload modversions 686
+parm:           debug:Debug level (0=none,...,16=all) (int)
+parm:           eeprom_bad_csum_allow:Allow bad eeprom checksums (int)
+parm:           use_io:Force use of i/o access mode (int)</screen>
+      <para>To display only a brief description of the module, use the <option>-d</option> option. For example:</para>
+      <screen>~]#&#160;<command>/sbin/modinfo -d e100</command>
+Intel(R) PRO/100 Network Driver</screen>
+      <para>To list the supported parameters, use the <option>-p</option> option:</para>
+      <screen>~]#&#160;<command>/sbin/modinfo -p e100</command>
+use_io:Force use of i/o access mode
+eeprom_bad_csum_allow:Allow bad eeprom checksums
+debug:Debug level (0=none,...,16=all)</screen>
+      <para>Finally, to display the corresponding module filename, use the <option>-n</option> option like this:</para>
+      <screen>~]#&#160;<command>/sbin/modinfo -n e100</command>
+/lib/modules/2.6.32-54.el6.i686/kernel/drivers/net/e100.ko</screen>
     </section>
   </section>
   <section


More information about the docs-commits mailing list