HP-UX HB v13.00 Ch-07 - Kernel Configuration

HP-UX Handbook Rev 13.00 Page 7 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
* Tunable parameters
nstrpty 60
msgmax 32768
msgmni 50
msgseg 7168
msgssz 8
msgtql 256
Kernel Configuration changes at HPUX 11.11
With the introduction of DLKM (Dynamically Loadable Kernel Modules) as of HP-UX 11.11,
the kernel now is made of a static part and a number of dynamically loadable modules. The
kernel does not only consist of a single file (/stand/vmunix), but of multiple files and
directories (e.g. /stand/dlkm/) that are dependent from each other. The dynamically loadable
modules can be activated online (i.e. without rebooting). They also can be activated by the kernel
on demand (autoload).
The following files belong to a DLKM:
/usr/conf/master.d/module_name Master configuration tables for kernel and
kernel modules.
/usr/conf/km.d/module_name/mod.o Source code file (object file).
/stand/system.d/module_name Kernel module system file.
/stand/dlkm/system.d/module_name Kernel module system file (copy).
/stand/dlkm/mod.d/module_name Kernel module loadable image.
1. Procedure to generate a kernel at HPUX 11.11
Even though you wish to compile an old fashioned static kernel without using DLKMs, the
procedure is different from the procedure for 10.X. The new command, kmupdate(1M), is used
to move the kernel file plus associated files to their appropriate places during system restart. This
procedure is similar to HPUX 11.0.
In order to generate a new kernel follow the steps below:
1) Change to the kernel generation working directory and remove the files that have been left
over from the last kernel generation:
# cd /stand/build
# rm r * (Be careful with this! You need to be in /stand/build/)