Managing and Developing Dynamically Loadable Kernel Modules

Managing and Developing Dynamically Loadable Kernel Modules
Managing Dynamically Loadable Kernel Modules
Chapter 12 511
NOTE On Itanium-based systems, if the module you are configuring is required
during the boot sequence, the module must either
support the Boot Time Loading (BTL) and be configured to load at
BOOT1 or BOOT2, or
be statically configured
.
DLKM Procedures for Dynamically Configured Loadable
Modules
These procedures:
Prepare a DLKM module for dynamic or static configuration
Query, set or reset tunable DLKM module or static kernel parameters
Dynamically configure a DLKM
Update the image of a DLKM and register it with the kernel
Load a dynamically configured loadable module
Logically disconnect a module and perform cleanup
View details of all registered DLKM modules
View details of a specific DLKM module
Preparing a Loadable Module for Dynamic Loading Into the HP-UX
Kernel
You can use the kmsystem command to prepare a DLKM module to be
either dynamically configured or statically configured.
The kmsystem command sets the planned configuration, planned
linkage, and planned loading phase of a module.
The -c
value
option specifies whether the module will, or will not, be
configured at the next kernel or module build. If
value
is y, it will be
configured, if
value
is n it will not be configured. The -l
value
option
specifies whether the module will be dynamically, or statically, linked at