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 driver is absent, you will need to rebuild
the kernel to include it.
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 |
Edit the /stand/build/system file to add the absent driver(s).
Build the kernel by invoking the mk_kernel command. This creates /stand/build/vmunix_test, a kernel ready for testing.
/usr/sbin/mk_kernel -s system |
Save the old system file and kernel by moving them.
Thus, if anything goes wrong, you still have a bootable kernel.
mv /stand/build/system /stand/system.prev mv /stand/build/vmunix_test /stand/vmunix.prev |
Move the new system file and new kernel into place,
ready to be used when you reboot the system.
mv /stand/build/system /stand/system mv /stand/build/vmunix_test /stand/vmunix |
Notify users that the system will be shut down to
configure the new interface card and any related peripheral device.
You can use the wall command and/or the interactive capabilities of
the shutdown command to broadcast a message to users before
the system goes down. See wall(1M) or shutdown(1M)
in the HP-UX Reference.
Bring the system to a halt, using the shutdown command.
Turn off the power to all peripheral devices and then to
the SPU. On systems with powerfail mode, turn off the battery back-up
also. Unplug the power cords.
Select an appropriate slot in the I/O card cage
and install the interface card, following instructions provided
with the card and computer hardware manual.
If you are also configuring a peripheral device to the card,
install it at this time also. Use the cabling recommended in the
hardware documentation.
Record all pertinent information about the installation
and configuration on a worksheet at the back of this book. Keep
accurate records of the interface (as shown on the ID stickers),
slot number, power requirements, and bus address.
Turn on the power to all peripheral devices. Wait
for them to become "ready", then turn on power
to the card cages and SPU.
On booting up, HP-UX detects the new interface and peripheral
device and associates them with their device drivers. insf creates the device special files required to communicate
with the devices.
Verify the configuration by invoking the ioscan command to confirm that the interface card (and
any peripheral devices you configured) are present and device special
files have been created.
In the following sample ioscan output, the LAN card installed in slot 14 of a
Model 887 is displayed as hardware path 56 (slot number times 4).
/usr/sbin/ioscan -C lanmux -f Class I H/W Path Driver S/W State H/W Type Description ============================================================== lanmux 0 56 lanmux0 CLAIMED INTERFACE LAN/Console
|
For more information on using ioscan, consult Chapter 1, "Getting Started," and the ioscan(1M)
manpage.