Managing and Developing Dynamically Loadable Kernel Modules
Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12 507
Why you should use the kernel configuration tools instead of
manually editing or copying files
Since the introduction of DLKM to HP-UX, the installed kernel
configuration information is used to configure a whole kernel, or a
specific module, and is distributed among several files. The number and
location of the files used to configure a kernel depends on which modules
kmtune (1M) Provides an interface to set the tunable parameters
• -l option – prints the values of all system
parameters.
• -q option – queries the value of the specified
system parameter.
• -r option – resets the value of the specified
parameter to its default value in preparation for
the next kernel or module configuration.
• -s option – assigns a value to the specified
system parameter in preparation for the next
kernel or module configuration.
kmupdate (1M) Updates the system with the newly built kernel
and/or associated DLKM files.
• First form – prepares the system to move the
specified newly built kernel and its associated
files to the correct locations during the next
system shutdown and startup. This step is
necessary to be able to boot from a newly built
kernel (see config(1M) for more detail).
• Second form, -M option – moves the configured
image of the specified loadable module to the
location where the DLKM loader can find it, and
registers the module with the kernel either (1)
immediately or (2) later at the next system
reboot.
Table 12-2 Kernel Configuration Tool Set
Tool/
Command
Action