HPlogo STREAMS/UX for the HP 9000 Reference Manual > Chapter 2  Detailed Product Information

Adding STREAMS Drivers and Modules

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NOTE: The instructions below do not apply to clustered systems. If your system is attached to a cluster, follow the instructions in System Administration Tasks for Series 700 computers to configure the kernel. Alternatively, you can also create a new kernel using the SAM utility.Before attempting this procedure, familiarize yourself with the system reconfiguration information in the mk_kernel(1M) manual reference page and HP-UX system literature.

Refer to the System Administration manual for your system for complete instructions on how to create a kernel.

The software installation program, swinstall, usually builds a kernel correctly during product installation. In the unlikely event that the kernel is not built correctly, follow the steps below for manually building a STREAMS kernel.

The process involves modifying the kernel configuration input file to include the STREAMS subsystem, driver and module keywords.

Manual Kernel Build Procedures

If you used some other file to create the kernel previously, copy that file to /stand/system before following the steps below.

  1. Ensure that you have super-user capabilities.

  2. Change to the /stand directory.

  3. Make a backup copy of your current configuration description file (which is commonly system or build/system.SAM).

  4. Edit the system file to add drivers and/or change system parameters.

    hpstreams;

    dlpi;

    clone;

    strlog;

    sad;

    echo;

    timod;

    tirdwr;

    ffs

    pipemod

    pipedev

    sc;

  5. Make a copy of the existing kernel (default name vmunix).

  6. Regenerate the kernel with mk_kernel, using the edited system file as input. mk_kernel creates the new HP-UX kernel (the default is
    /stand/build/vmunnix_test
    ). There are two examples below. The first creates a new kernel in the build directory called vmunix_test. The second example automatically moves the kernel to the /stand directory and makes a backup if the file, /stand/vmunix, already exists.

    mk_kernel
    mk_kernel -s /stand/system -o /stand/vmunix
  7. If you did not use the -o option with the mk_kernel command, copy the new kernel to /stand/vmunix.

  8. Reboot the new kernel. If the new kernel fails to boot, boot the system from the backup kernel and repeat the process of creating a new kernel. To do so, follow the instructions in your System Administration manual.

© 1995 Hewlett-Packard Development Company, L.P.