From ff979cdccd25179370cf593daf3605b47657f950 Mon Sep 17 00:00:00 2001 From: lfs-dev Date: Fri, 7 May 2004 20:18:37 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'b5_1'. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/b5_1/BOOK@3517 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/module-init-tools.xml | 98 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 chapter06/module-init-tools.xml (limited to 'chapter06') 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 @@ + + + %general-entities; +]> + +Module-Init-Tools-&module-init-tools-version; + + +Module-Init-Tools + +The Module-Init-Tools package contains programs for handling kernel +modules in Linux kernels greater than or equal to version 2.5.47. + +&buildtime; 0.1 SBU +&buildtime; 650 KB + +Module-Init-Tools installation depends on: Bash, Binutils, Bison, +Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed. + + + +Installation of Module-Init-Tools + +Prepare Module-Init-Tools for compilation: + +./configure --prefix="" --enable-zlib + +Compile the package: + +make + +To test the results, issue: +make check. + +Install it: + +make install + + + + +Contents of Module-Init-Tools + +Installed programs: 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) + + + + +Short descriptions + +depmod +depmod 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. + +genksyms +genksyms generates symbol version information. + +insmod +insmod installs a loadable module in the running kernel. + +insmod_ksymoops_clean +insmod_ksymoops_clean deletes saved ksyms and +modules not accessed for two days. + +kallsyms +kallsyms extracts all kernel symbols for debugging. + +kernelversion +kernelversion reports the major version of the +running kernel. + +ksyms +ksyms displays exported kernel symbols. + +lsmod +lsmod shows which modules are loaded. + +modinfo +modinfo examines an object file associated with +a kernel module and displays any information that it can glean. + +modprobe +modprobe uses a dependency file, created by +depmod, to automatically load the relevant modules. + +rmmod +rmmod unloads modules from the running kernel. + + + + + + -- cgit v1.2.3-54-g00ecf