| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 5, Section 4: File Formats > mmaster(4) |
|
NAMEmaster — master kernel configuration information DESCRIPTIONThe distributed set of traditional and modular master files describe configuration information supplied by kernel developers as part of the HP-UX operating system. A master file contains information used by the config(1M) command to configure and build a kernel and/or kernel modules. Other kernel configuration tools also use the master files to obtain information about the traditional or modular kernel modules installed on the system. Installed master files should not be modified by system administrators. Master files are of two types:
Each section of a master file begins with a line containing a $ in column one followed by a section keyword. The section continues to the end of the file or until a line containing only three $ characters is encountered. Lines beginning with an asterisk (*) are comments. Traditional Master FileThe following table lists the section keywords for the traditional master file and their purpose. Note that some of the section keywords may also be used for the modular master file described later:
Each section consists of text fields separated by space and/or tab characters and is described separately below. Bit mask fields are expressed as hexadecimal values which are constructed by computing the logical OR of the component bit values. $DEVICE SectionNOTE: This section is provided for compatibility with previous HP-UX releases. New drivers should be added to the $DRIVER_INSTALL section. Software drivers are defined using five fields defined as follows:
$CDIO SectionCDIO (Context Dependent I/O) list. List of I/O modules specific to the bus and/or driver environment, and whether they are required in a minimal system.
$DYN_MAJOR SectionDynamic major numbers. A range of block and character major numbers reserved for drivers whose major numbers are assigned dynamically.
$DRIVER_INSTALL SectionDriver install section is a list of drivers, shown with their block and character major numbers
$ALIAS SectionAliases for names are defined as follows:
$TUNABLE SectionTunable parameters are defined as follows:
$DRIVER_DEPENDENCY SectionList of drivers and the other drivers they depend on.
$DRIVER_LIBRARY SectionList of drivers and the library or libraries containing the driver object code.
$LIBRARY SectionLibrary list. List of object code libraries and whether they are required is a minimal system.
$SUBSYSTEMS_DEFINE SectionList of subsystems and/or drivers that require #define IDENTIFIER statements in conf.c. If needed, the identifier will be converted to upper case.
$STREAMS_SYNC_LEVEL SectionList of possible STREAMS synchronization levels. Please refer to the documentation that accompanied the STREAMS/UX product for a more detailed description of this table and STREAMS synchronization levels.
$STREAMS_DVR_SYNC SectionList of STREAMS modules and drivers and the synchronization levels that they require. Please refer to the documentation that accompanied the STREAMS/UX product for more information about this table.
Modular Master FileThe following section keywords and purposes are used only in the modular master files.
If required, kernel module master files may use the following section keywords and purposes described earlier.
For DLKM modules, $DRIVER_INSTALL section information is used when the module is configured to be linked into the kernel statically. [See kmsystem(1M).] The first field of this section indicates the module_name. Each section consists of text fields separated by space and/or tab characters and is described separately below. $VERSION SectionFile format version. Indicates the version number for the modular master file format. The version number is a decimal number and starts from one. The specified version must match the version of the module's corresponding system(4) file. A version 2 master file may contain all the file sections and subsections listed from here on. A version 1 master file cannot contain the phases keyword in the $LOADABLE section described below.
Example $VERSION 2 $$$ $LOADABLE SectionLoad capability of a kernel module. If the section exists, the module supports dynamic loading. Otherwise it can be only be configured to be statically linked into the kernel. Example $LOADABLE $$$ If the module depends on a kernel stub, the keyword stub should be specified within the section. Example $LOADABLE stub $$$ For version 2 master files, this section may contain the optional keyword phases followed by a field that specifies the supported loading phases of the module. The supported loading phases are specified by computing the logical OR using the hexadecimal bit mask value of the following 3 bits: 0x01 Phase 1 of the boot sequence (BOOT1) 0x02 Phase 2 of the boot sequence (BOOT2) 0x04 Runtime (RUN) If the phases keyword is missing, supported loading phases is assumed to be runtime only (0x04). Example The following specifies that the module is capable of dynamic loading, and is capable of loading at phase 1 of the boot sequence and at runtime (but not at phase 2 of the boot sequence). $LOADABLE phases 0x05 $$$ $INTERFACE SectionList of used interfaces by kernel modules. Note: This is for future HP-UX capabilities. Currently only base should be specified in Field 1. When base is specified, interface enforcement and version control will be exempted and the module will need to be maintained by its developer to be in synchronization with the kernel or other components.
Example $INTERFACE base $$$ $TYPE SectionModule type and type specific information list.
Fields 3 - 6 contain module type specific fields for the the following types: wsio_class, wsio_intfc and streams_drv.
Example $TYPE wsio stape tape c -1 203 $$$ |
||||||||||||||||||||||||||||
|
|||||||||||||||