Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Reconfiguring the Kernel (Prior to HP-UX 11i Version 2)
Chapter 3 311
• the module’s pathname to its object file on disk
• the module’s status (LOADED or UNLOADED)
• the module’s size
• the module’s virtual load address
• the memory size of Block Started by Symbol (BSS) (the memory size
of the un-initialized space of the data segment of the module’s object
file)
• the base address of BSS
• the module’s reference or hold count (the number of processes that
are currently using the module)
• the module’s dependent count (the number of modules that currently
depend upon this module being loaded; depended upon modules are
specified in the $DRIVER_DEPENDENCY section of the module’s master
file)
• the module’s unload delay value (currently not used—always 0
seconds)
• the module’s descriptive name
• the type of module (WSIO, STREAMS, or Misc)
DLKM Procedures for Statically Configured Loadable Modules
How To Prepare a
Loadable Module
for Static Linking
You can use the kmsystem command to prepare a DLKM module for
configuration as either (1) dynamically loadable or (2) statically
configured.
Use the kmsystem command to assign values (Y or N) to the configuration
($CONFIGURE) and loadable ($LOADABLE) flags in the module’s system
description file. If the loadable flag is not present in the system
description file and you attempt to assign it a value, kmsystem exits with
an error.
Step 1. To prepare a DLKM module for static linking to the HP-UX kernel,
execute this kmsystem command:
/usr/sbin/kmsystem -c Y -l N
module_name