HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
c
config(1M) config(1M)
default. The features can be specified independent of each other. If the code is included, the
parameters listed below can be modified:
mesg 1
msgmap
number or formula
msgmax number or formula
msgmnb number or formula
msgmni number or formula
msgseg number or formula
msgssz number or formula
msgtql number or formula
sema 1
semaem
number or formula
semmap number or formula
semmni number or formula
semmns number or formula
semmnu number or formula
semume number or formula
semvmx number or formula
shmem 1
shmall
number or formula
smbrk number or formula
shmmax number or formula
shmmin number or formula
shmmni number or formula
shmseg number or formula
Dynamically Loadable Module Configuration (Second Form)
To configure loadable kernel modules, config builds components for the module specified by the
-M
option. If the -M option is specified in conjunction with the -u option, then config
builds the loadable
module and call upon
kmupdate to update the loadable image of that module in memory. Updating the
loadable image implies replacing the existing loadable image with the newly created loadable image, re-
registering the module with the new information, if required, and performing any type-specific initializa-
tion; e.g. recreating the special device file, if needed.
When configuring loadable modules, config reads the running kernel’s system description file, system
description files for kernel modules, and the master kernel configuration information table.
Note that system description files for kernel modules should only be modified by using kmsystem
or
kmtune system administration commands.
To configure loadable modules, config checks the interface functions or symbols used by the modules. If
the modules rely on symbols not covered by the $INTERFACE section of its master file, configuration fails.
config then generates the following output files:
• C program header file (tune.h) that defines tunable parameters of the system.
• C program source file (mod_conf.c) that is required by each kernel module.
• makefile (config.mod) to generate specified dynamically loadable modules.
• module registry entry to register the specified modules.
After the above files have been generated, config executes the make command with config.mod to
generate dynamically loadable module.
With a successful
make, the object files of dynamically loadable modules are generated and placed under
the kernel function set directory.
If the -u option is specified, kmupdate is executed by config.
All kernel module related files are needed to configure the module. See kminstall(1M) for details on kernel
module files.
Options for Loadable Module Configuration
When configuring a loadable module, config recognizes the following options:
-M module_name
Configure the specified loadable module only. A kernel file is not generated in this case. If
HP-UX Release 11i: December 2000 − 5 − Section 1M−−139
___
___