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

HP-UX Handbook Rev 13.00 Page 10 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
The product is not on the application CD (DART) but on the Support Plus CD together with the
standard patch bundles. It is bundled with the Diagnostics bundle (OnlineDiag). See
http://software.hp.com/. For HPUX 11.31, it’s a MegaBundle which contains many sub-products
such as OnlineDiag, SFM, WBEM, and so on.
It contains the following files:
/dev/krm driver
/etc/opt/resmon/lib/krm/mod.o code file
/master master file
/system system file
/etc/opt/resmon/lbin/krmond daemon
/opt/resmon/share/man/man1m/krmond.1m manual page
/etc/opt/resmon/dictionary/krmond.dict dictionary file
In order to install the module, you need to copy the files (subsystem code, master and system
file) to the correct places by using kminstall:
# cd /etc/opt/resmon/lib/krm
# kminstall -a krm
subsystem code to /usr/conf/km.d/krm/mod.o
master file to /usr/conf/master.d/krm
system file to /stand/system.d/krm
Use kmsystem to check if the installation of the module was successful:
# kmsystem -q krm
Module Configured Loadable
=================================================
krm Y Y
The command mk_kernel is used to generate a new kernel module, i.e. subsystem code, master
and system file are combined into a single usable kernel module /stand/dlkm/mod.d/krm..
A copy of the system file will be placed in /stand/dlkm/system.d/krm.
Internally, the commands config -M krm and kmupdate -M krm are being executed.
# mk_kernel -M krm
Generating module: krm...
Specified module(s) below is(are) activated successfully.
krm
WARNING: Kernel update request is scheduled.
Activated module(s) is(are) only available until system reboot.