Managing and Developing Dynamically Loadable Kernel Modules

Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12 503
DLKM Tools
There are a number of HP-UX commands for installing, configuring, and
managing DLKM modules, collectively known as the Kernel
Configuration Tool Set. They are identified and briefly described in Table
12-1. For complete descriptions of these commands and their options,
refer to the appropriate manpages.
A driver writer or system administrator can use the kernel configuration
tools to install, configure, load, unload, update,or remove kernel modules
from the system; and to build new kernels. You must have appropriate
privileges (be logged in as root) to perform these tasks. The tasks you
can perform using the kernel configuration tools are described in “DLKM
Procedures” on page 508.
Table 12-2 Kernel Configuration Tool Set
Tool/
Command
Action
config (1M) First form – performs a whole kernel configuration,
generating the main kernel file and other kernel
component set files, including the associated
dynamically loadable modules; a system reboot is
necessary.
Second form, -M option – performs individual
loadable module configuration for use with the
currently running kernel. The newly configured
service is available immediately, without requiring a
system reboot.
Note: As an alternative, administrators may use the
mk_kernel(1M) command, which in turn calls
config(1M), to perform either whole kernel
configuration or individual module configuration.