Changeset 229ed25 for BOOK/final-system/common/kmod.xml
- Timestamp:
- Jan 4, 2014, 12:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/kmod.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-system- module-init-tools" role="wrap">9 <?dbhtml filename=" module-init-tools.html"?>8 <sect1 id="ch-system-kmod" role="wrap"> 9 <?dbhtml filename="kmod.html"?> 10 10 11 <title> Module-Init-Tools-&module-init-tools-version;</title>11 <title>Kmod-&kmod-version;</title> 12 12 13 <indexterm zone="ch-system- module-init-tools">14 <primary sortas="a- Module-Init-Tools">Module-Init-Tools</primary>13 <indexterm zone="ch-system-kmod"> 14 <primary sortas="a-Kmod">Kmod</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Module-Init-Tools package contains programs for handling kernel 21 modules in Linux kernels greater than or equal to version 2.5.47.</para> 20 <para>The Kmod package contains programs for loading, inserting 21 and removing kernel modules for Linux. Kmod replaces the 22 Module-Init-tools package.</para> 22 23 23 24 </sect2> 24 25 25 26 <sect2 role="installation"> 26 <title>Installation of Module-Init-Tools</title>27 <title>Installation of Kmod</title> 27 28 28 <para os=" c">Issue the following commands to perform the tests</para>29 <para os="a">Prepare Kmod for compilation:</para> 29 30 30 <screen os="d"><userinput>sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests && 31 ./tests/runtests</userinput></screen> 31 <screen os="b"><userinput>./configure --prefix=/usr \ 32 --bindir=/bin --sysconfdir=/etc \ 33 --with-rootlibdir=/lib --disable-manpages \ 34 --with-zlib --with-xz</userinput></screen> 32 35 33 <para os="e">Prepare Module-Init-Tools for compilation:</para> 34 35 <screen os="f"><userinput>./configure --prefix=/usr \ 36 --bindir=/bin --sbindir=/sbin \ 37 --enable-zlib-dynamic</userinput></screen> 38 39 <variablelist os="g"> 36 <variablelist os="c"> 40 37 <title>The meaning of the configure option:</title> 41 38 42 39 <varlistentry> 43 <term><parameter>-- enable-zlib-dynamic</parameter></term>40 <term><parameter>--with-rootlibdir=/lib</parameter></term> 44 41 <listitem> 45 <para>This allows the Module-Init-Tools package to handle compressed 46 kernel modules.</para> 42 <para>Install location for shared libraries.</para> 43 </listitem> 44 </varlistentry> 45 46 <varlistentry> 47 <term><parameter>--with-zlib --with-xz</parameter></term> 48 <listitem> 49 <para>This allows the Kmod package to handle zlib and XZ 50 compressed kernel modules.</para> 47 51 </listitem> 48 52 </varlistentry> … … 50 54 </variablelist> 51 55 52 <para os=" h">Compile the package:</para>56 <para os="d">Compile the package:</para> 53 57 54 <screen os=" i"><userinput>make DOCBOOKTOMAN=true</userinput></screen>58 <screen os="e"><userinput>make</userinput></screen> 55 59 56 <para os=" j">Install the package:</para>60 <para os="f">To test the results, issue:</para> 57 61 58 <screen os=" k"><userinput>make install</userinput></screen>62 <screen os="f2"><userinput remap="test">make check</userinput></screen> 59 63 64 <para os="g">Install the package:</para> 65 66 <screen os="h"><userinput>make install 67 make -C man install</userinput></screen> 68 69 <para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para> 70 71 <screen os="j"><userinput>ln -sfv kmod /bin/lsmod 72 ln -sfv ../bin/kmod /sbin/depmod 73 ln -sfv ../bin/kmod /sbin/insmod 74 ln -sfv ../bin/kmod /sbin/modprobe 75 ln -sfv ../bin/kmod /sbin/modinfo 76 ln -sfv ../bin/kmod /sbin/rmmod</userinput></screen> 77 60 78 </sect2> 61 79 62 <sect2 id="contents- module-init-tools" role="content">63 <title>Contents of Module-Init-Tools</title>80 <sect2 id="contents-kmod" role="content"> 81 <title>Contents of Kmod</title> 64 82 65 83 <segmentedlist> … … 67 85 68 86 <seglistitem> 69 <seg>depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and87 <seg>depmod, insmod, kmod, lsmod, modinfo, modprobe, and 70 88 rmmod</seg> 71 89 </seglistitem> … … 84 102 <command>modprobe</command> to automatically load the required 85 103 modules</para> 86 <indexterm zone="ch-system- module-init-toolsdepmod">104 <indexterm zone="ch-system-kmod depmod"> 87 105 <primary sortas="b-depmod">depmod</primary> 88 106 </indexterm> … … 94 112 <listitem> 95 113 <para>Installs a loadable module in the running kernel</para> 96 <indexterm zone="ch-system- module-init-toolsinsmod">114 <indexterm zone="ch-system-kmod insmod"> 97 115 <primary sortas="b-insmod">insmod</primary> 98 116 </indexterm> … … 100 118 </varlistentry> 101 119 102 <varlistentry id=" insmod.static">103 <term><command> insmod.static</command></term>120 <varlistentry id="kmod"> 121 <term><command>kmod</command></term> 104 122 <listitem> 105 <para> A statically compiled version of <command>insmod</command></para>106 <indexterm zone="ch-system- module-init-tools insmod.static">107 <primary sortas="b- insmod.static">insmod.static</primary>123 <para>Loads and unloads kernel modules</para> 124 <indexterm zone="ch-system-kmod kmod"> 125 <primary sortas="b-kmod">kmod</primary> 108 126 </indexterm> 109 127 </listitem> … … 114 132 <listitem> 115 133 <para>Lists currently loaded modules</para> 116 <indexterm zone="ch-system- module-init-toolslsmod">134 <indexterm zone="ch-system-kmod lsmod"> 117 135 <primary sortas="b-lsmod">lsmod</primary> 118 136 </indexterm> … … 125 143 <para>Examines an object file associated with a kernel module and 126 144 displays any information that it can glean</para> 127 <indexterm zone="ch-system- module-init-toolsmodinfo">145 <indexterm zone="ch-system-kmod modinfo"> 128 146 <primary sortas="b-modinfo">modinfo</primary> 129 147 </indexterm> … … 136 154 <para>Uses a dependency file, created by <command>depmod</command>, 137 155 to automatically load relevant modules</para> 138 <indexterm zone="ch-system- module-init-toolsmodprobe">156 <indexterm zone="ch-system-kmod modprobe"> 139 157 <primary sortas="b-modprobe">modprobe</primary> 140 158 </indexterm> … … 146 164 <listitem> 147 165 <para>Unloads modules from the running kernel</para> 148 <indexterm zone="ch-system- module-init-toolsrmmod">166 <indexterm zone="ch-system-kmod rmmod"> 149 167 <primary sortas="b-rmmod">rmmod</primary> 150 168 </indexterm>
Note:
See TracChangeset
for help on using the changeset viewer.