Estimated build time: 1 minute Estimated required disk space: 2 MB |
Install Modutils by running the following commands:
./configure && make && make install |
depmod, genksyms, insmod, insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms, lsmod (link to insmod), modinfo, modprobe (link to insmod) and rmmod
depmod handles dependency descriptions for loadable kernel modules.
genksyms reads (on standard input) the output from gcc -E source.c and generates a file containing version information.
insmod installs a loadable module in the running kernel.
insmod_ksymoops_clean deletes saved ksyms and modules not accessed in 2 days.
kallsyms extracts all kernel symbols for debugging.
kernelversion reports the major version of the running kernel.
ksyms displays exported kernel symbols.
lsmod shows information about all loaded modules.
modinfo examines an object file associated with a kernel module and displays any information that it can glean.
Modprobe uses a Makefile-like dependency file, created by depmod, to automatically load the relevant module(s) from the set of modules available in predefined directory trees.
rmmod unloads loadable modules from the running kernel.
Modutils-2.4.12 needs the following to be installed:
bash: sh
binutils: ar, as, ld, ranlib, strip
bison: bison
diffutils: cmp
fileutils: chmod, install, ln, mkdir, mv, rm
flex: flex
gcc: cc, cc1, collect2, cpp0, gcc
grep: egrep, grep
make: make
sed: sed
sh-utils: basename, expr, hostname, uname
textutils: cat, tr