1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-modutils" xreflabel="Modutils">
|
---|
7 | <title>Modutils-&modutils-version;</title>
|
---|
8 | <?dbhtml filename="modutils.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-modutils"><primary sortas="a-Modutils">Modutils</primary></indexterm>
|
---|
11 |
|
---|
12 | <para>The Modutils package contains programs for handling kernel modules.</para>
|
---|
13 |
|
---|
14 | <screen>&buildtime; 0.1 SBU
|
---|
15 | &buildtime; 2.9 MB</screen>
|
---|
16 |
|
---|
17 | <para>Modutils installation depends on: Bash, Binutils, Bison, Coreutils,
|
---|
18 | Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed.</para>
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Installation of Modutils</title>
|
---|
24 |
|
---|
25 | <para>Prepare Modutils for compilation:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>./configure</userinput></screen>
|
---|
28 |
|
---|
29 | <para>Compile the package:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>make</userinput></screen>
|
---|
32 |
|
---|
33 | <para>Install it:</para>
|
---|
34 |
|
---|
35 | <screen><userinput>make install</userinput></screen>
|
---|
36 |
|
---|
37 | </sect2>
|
---|
38 |
|
---|
39 |
|
---|
40 | <sect2 id="contents-modutils"><title>Contents of Modutils</title>
|
---|
41 |
|
---|
42 | <para><emphasis>Installed programs</emphasis>: depmod, genksyms, insmod,
|
---|
43 | insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms
|
---|
44 | (link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod)
|
---|
45 | and rmmod (link to insmod)</para>
|
---|
46 |
|
---|
47 | </sect2>
|
---|
48 |
|
---|
49 |
|
---|
50 | <sect2><title>Short descriptions</title>
|
---|
51 |
|
---|
52 | <indexterm zone="ch-system-modutils depmod"><primary sortas="b-depmod">depmod</primary></indexterm>
|
---|
53 | <para id="depmod"><command>depmod</command> creates a dependency file, based on the
|
---|
54 | symbols it finds in the existing set of modules. This dependency file is used
|
---|
55 | by modprobe to automatically load the required modules.</para>
|
---|
56 |
|
---|
57 | <indexterm zone="ch-system-modutils genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm>
|
---|
58 | <para id="genksyms"><command>genksyms</command> generates symbol version information.</para>
|
---|
59 |
|
---|
60 | <indexterm zone="ch-system-modutils insmod"><primary sortas="b-insmod">insmod</primary></indexterm>
|
---|
61 | <para id="insmod"><command>insmod</command> installs a loadable module in the running kernel.</para>
|
---|
62 |
|
---|
63 | <indexterm zone="ch-system-modutils insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm>
|
---|
64 | <para id="insmod_ksymoops_clean"><command>insmod_ksymoops_clean</command> deletes saved ksyms and
|
---|
65 | modules not accessed for two days.</para>
|
---|
66 |
|
---|
67 | <indexterm zone="ch-system-modutils kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm>
|
---|
68 | <para id="kallsyms"><command>kallsyms</command> extracts all kernel symbols for debugging.</para>
|
---|
69 |
|
---|
70 | <indexterm zone="ch-system-modutils kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm>
|
---|
71 | <para id="kernelversion"><command>kernelversion</command> reports the major version of the
|
---|
72 | running kernel.</para>
|
---|
73 |
|
---|
74 | <indexterm zone="ch-system-modutils ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm>
|
---|
75 | <para id="ksyms"><command>ksyms</command> displays exported kernel symbols.</para>
|
---|
76 |
|
---|
77 | <indexterm zone="ch-system-modutils lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm>
|
---|
78 | <para id="lsmod"><command>lsmod</command> shows which modules are loaded.</para>
|
---|
79 |
|
---|
80 | <indexterm zone="ch-system-modutils modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm>
|
---|
81 | <para id="modinfo"><command>modinfo</command> examines an object file associated with
|
---|
82 | a kernel module and displays any information that it can glean.</para>
|
---|
83 |
|
---|
84 | <indexterm zone="ch-system-modutils modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
|
---|
85 | <para id="modprobe"><command>modprobe</command> uses a dependency file, created by
|
---|
86 | depmod, to automatically load the relevant modules.</para>
|
---|
87 |
|
---|
88 | <indexterm zone="ch-system-modutils rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm>
|
---|
89 | <para id="rmmod"><command>rmmod</command> unloads modules from the running kernel.</para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 |
|
---|
94 |
|
---|
95 | </sect1>
|
---|