Chapter 12
Build a Custom Kernel


Products Requiring a Kernel Compile

The products listed in Table 12-1 have kernel components. You must compile the kernel after installing these products.

Table 12-1. Products Requiring a Kernel Recompile

DYNIX/ptx

ptx/EFS

ptx/SNA

Encryption

ptx/ITX

ptx/SPDRIVERS

ptx/ATM

ptx/LAN

ptx/SVM

ptx/BaseComms

ptx/NFS

ptx/SYNC

ptx/CFS

ptx/OSI

ptx/TCP/IP

ptx/CLUSTERS

ptx/RAID

ptx/X.25

ptx/EES



Configure and Compile the Kernel

Use the following procedure to configure and compile a custom kernel:

  1. If you modified the entries for pseudodevices in the system configuration file, you must make a copy of the file. Go to the /etc/conf/uts/symmetry directory and make a copy of the unix.<config> file, where <config> is the name of your kernel.

    After compiling the V4.4.8 kernel, you will need to update the new system configuration file with the pseudodevice modifications specified in the file that you saved.

  2. Issue the menu command to start the menu system.

  3. Select the Kernel Configuration option from the System Administration menu.

  4. The Change Kernel Configuration Disk form displays the current root disk. To compile the kernel on the current root disk, simply use Run to execute the form. To compile the kernel on an alternate disk, specify the name of the disk.

  5. Select the standard kernel (std) from the Compile, Configure, or Remove a Kernel window, and type k to go to the Configure a Kernel form.

  6. On the Configure a Kernel form, specify a new kernel- configuration type, the appropriate kernel-environment type, and whether you want to turn auditing on or off. Also enter a description of your kernel.


    ATTENTION

    If you will be using both auditing and ptx/NFS, you should be aware that ptx/NFS provides minimal support for auditing.


    If you do not want to modify tunable parameters, enter N at the "Visibility level for parameter changes" prompt and select Run to execute the form.

    If you will be modifying tunable parameters, enter the appropriate visibility level at the prompt. You can then select the parameters to be modified and make the necessary changes. (For details about modifying parameters, see the DYNIX/ptx System Configuration and Performance Guide.)

    When the Configure a Kernel form is executed, the following system configuration files will be created in accordance with your system architecture:

  7. When the Compile a Kernel form appears, take the appropriate action:

  8. To merge changes to pseudodevices into the new system configuration file, complete the following steps:

    1. Use Cancel to exit the Compile a Kernel form and then exit ptx/ADMIN.

    2. Change directory to /etc/conf/uts/symmetry. Update the unix.<new-config> file with the pseudodevice changes specified in the old file that you saved earlier.

    3. Remove the old file.

    4. Re-enter the menu system and select the Kernel Configuration option. Select the new kernel configuration from the Compile, Configure, or Remove a Kernel window. Type c to go to the Compile a Kernel form.

  9. Complete the Compile a Kernel form and select Run.

  10. Reboot the operating system.