June 2017
Intermediate to advanced
478 pages
13h 14m
English
You can load, unload, and list modules using the simple insmod, lsmod, and rmmod commands. Here they are shown loading the dummy driver:
# insmod /lib/modules/4.8.12-yocto-standard/kernel/drivers/dummy.ko# lsmod Tainted: Gdummy 2062 0 - Live 0xbf004000 (O)# rmmod dummy
If the module is placed in a subdirectory in /lib/modules/<kernel release> , you can create a modules dependency database using the command, depmod -a:
# depmod -a# ls /lib/modules/4.8.12-yocto-standardkernel modules.alias modules.dep modules.symbols
The information in the module.* files is used by the modprobe command to locate a module by name rather than the full path. modprobe has many other features, which are described on the manual page modprobe(8) ...
Read now
Unlock full access