Managing and Developing Dynamically Loadable Kernel Modules
Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12510
Figure 12-1 DLKM Procedural Flowchart
Dynamically
or
Statically
Configured?
Prepare module as Statically
Configured Loadable Module using
the command: kmsystem -c y -l n
Configure loadable module into
system using command: config -M
Configure statically linked module into
system by building new kernel using
command: config /stand/system
Prepare system to move new kernel into
place during next system shutdown and
startup using command:
kmupdate /stand/build/vmunix_test
If necessary, create device special
file(s) for statically linked module using
command: mknod
Activate statically linked module by
booting new kernel using command:
shutdown -r
OPTIONAL: Query statically linked
module using command: kmadmin -k
Move loadable module’s image into
place and register module using
command: kmupdate -M
OPTIONAL: Load loadable module
using command: kmadmin -L
OPTIONAL: Query loadable module
using command kmadmin -q
OPTIONAL: Remove module’s
components from system using
command: kminstall -d
OPTIONAL: Unload loadable module
using command: kmadmin -U
If necessary, create device special
file(s) for loadable module using
command: mknod
Done
OPTIONAL: Tune system parameter(s) supplied by
module or static kernel using the command: kmtune -s
Dynamically Configuring
a Loadable Module
Start
Statically Configuring
a Loadable Module
Prepare module as Dynamically
Configured Loadable Module using
the command: kmsystem -c y -l y
OPTIONAL: Set planned
loading phase using
command: kmsystem -b