 |
 |  |
 |
 | 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.
Ensure that you have super-user capabilities.
Change to the /stand directory.
Make a backup copy of your current configuration
description file (which is commonly system or build/system.SAM).
Edit the system file to add drivers and/or change system parameters.
hpstreams;
dlpi;
clone;
strlog;
sad;
echo;
timod;
tirdwr;
ffs
pipemod
pipedev
sc;
Make a copy of the existing kernel (default name vmunix).
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
|
If you did not use the -o option with the mk_kernel command, copy the new kernel to /stand/vmunix.
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.