diff options
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | chapter06/module-init-tools.xml | 98 | ||||
-rw-r--r-- | general.ent | 2 |
3 files changed, 108 insertions, 1 deletions
@@ -0,0 +1,9 @@ + - Mention --enable-kernel=... where appropriate. + - Create and use the 'utmp' group, and explain to the user how to use it to + improve the security of things that write to utmp, such as terminal + emulators. + - Move passwd to /bin. + - Mention --enable-multibyte when building vim. + - POSIX compliance patches (aka, removing the coreutils hack). + - Upgraded to a glibc that supports POSIX message queues. + - Pass --enable-const to ncurses. diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml new file mode 100644 index 000000000..a98fe2773 --- /dev/null +++ b/chapter06/module-init-tools.xml @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> +<sect1 id="ch-system-module-init-tools" xreflabel="Module-Init-Tools"> +<title>Module-Init-Tools-&module-init-tools-version;</title> +<?dbhtml filename="module-init-tools.html"?> + +<indexterm zone="ch-system-module-init-tools"><primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary></indexterm> + +<para>The Module-Init-Tools package contains programs for handling kernel +modules in Linux kernels greater than or equal to version 2.5.47.</para> + +<screen>&buildtime; 0.1 SBU +&buildtime; 650 KB</screen> + +<para>Module-Init-Tools installation depends on: Bash, Binutils, Bison, +Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed.</para> + + +<sect2> +<title>Installation of Module-Init-Tools</title> + +<para>Prepare Module-Init-Tools for compilation:</para> + +<screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen> + +<para>Compile the package:</para> + +<screen><userinput>make</userinput></screen> + +<para>To test the results, issue: +<userinput>make check</userinput>.</para> + +<para>Install it:</para> + +<screen><userinput>make install</userinput></screen> + +</sect2> + + +<sect2 id="contents-module-init-tools"><title>Contents of Module-Init-Tools</title> + +<para><emphasis>Installed programs</emphasis>: depmod, genksyms, insmod, +insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms +(link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod) +and rmmod (link to insmod)</para> + +</sect2> + + +<sect2><title>Short descriptions</title> + +<indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm> +<para id="depmod"><command>depmod</command> creates a dependency file, based on the +symbols it finds in the existing set of modules. This dependency file is used +by modprobe to automatically load the required modules.</para> + +<indexterm zone="ch-system-module-init-tools genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm> +<para id="genksyms"><command>genksyms</command> generates symbol version information.</para> + +<indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm> +<para id="insmod"><command>insmod</command> installs a loadable module in the running kernel.</para> + +<indexterm zone="ch-system-module-init-tools insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm> +<para id="insmod_ksymoops_clean"><command>insmod_ksymoops_clean</command> deletes saved ksyms and +modules not accessed for two days.</para> + +<indexterm zone="ch-system-module-init-tools kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm> +<para id="kallsyms"><command>kallsyms</command> extracts all kernel symbols for debugging.</para> + +<indexterm zone="ch-system-module-init-tools kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm> +<para id="kernelversion"><command>kernelversion</command> reports the major version of the +running kernel.</para> + +<indexterm zone="ch-system-module-init-tools ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm> +<para id="ksyms"><command>ksyms</command> displays exported kernel symbols.</para> + +<indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm> +<para id="lsmod"><command>lsmod</command> shows which modules are loaded.</para> + +<indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm> +<para id="modinfo"><command>modinfo</command> examines an object file associated with +a kernel module and displays any information that it can glean.</para> + +<indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm> +<para id="modprobe"><command>modprobe</command> uses a dependency file, created by +depmod, to automatically load the relevant modules.</para> + +<indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm> +<para id="rmmod"><command>rmmod</command> unloads modules from the running kernel.</para> + +</sect2> + + + +</sect1> diff --git a/general.ent b/general.ent index 50c87240d..499ec9c76 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "CVS-2004-05-03"> +<!ENTITY version "5.1-pre2"> <!ENTITY releasedate "May 3, 2004"> <!ENTITY milestone "5.1"> |