Managing and Developing Dynamically Loadable Kernel Modules
Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12 523
Call kmupdate after first calling config. If you include the -u option in
the config invocation, there is no need to invoke kmupdate. The config
-u command automatically invokes kmupdate.
To update the kernel, execute the following kmupdate command:
/usr/sbin/kmupdate /stand/build/vmunix_test
Loading the Kernel
For a DLKM module configured as statically linked, use the -r option of
the shutdown (1M) command to load the newly generated kernel by
shutting down and rebooting the system. Executing the shutdown -r
command terminates all currently running processes and reboots the
system, which causes the new kernel configuration to take effect. At that
time, all statically linked, dynamically configured modules associated
with the new kernel are accessible to the system.