Configuring HP-UX For Peripherals
96 Chapter3
Configuring Interface Cards
Configuring an Interface Card
Configuring an Interface Card
Step 1. Determine the interface driver needed for your interface card by
consulting the tables in “Selecting Device Drivers for Your Interface
Cards”.
Look at your /stand/system file to see if the required driver is present.
(If you are also adding an external device such as a printer, consult the
tables in the appropriate chapter and look for the presence of those
drivers in /stand/system also.)
If any necessary static driver is absent, you will need to rebuild the
kernel to include it.
Here is how to rebuild the kernel:
a. Change directory to the build environment (/stand/build). There,
execute a system preparation script, system_prep. system_prep
writes a system file based on your current kernel in the current
directory. (That is, it creates /stand/build/system.) The -v
provides verbose explanation as the script executes.
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
b. Modify the /stand/build/system file to add the absent driver(s) by
invoking the kmsystem command. The -c Y specifies that
driver-name is to be configured into the system.
/usr/sbin/kmsystem -S /stand/build/system -c Y
driver-name
NOTE To avoid introducing format errors, do not edit the HP-UX system
description files directly. Instead, use the commands kmsystem and
kmtune. These commands are new for Release 11.0; consult kmsystem
(1M) and kmtune (1M) in the HP-UX Reference.
c. Build the new kernel by invoking the mk_kernel command. This
action creates /stand/build/vmunix_test, a kernel ready for
testing.