Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring HP-UX for Peripherals: HP 9000 > Chapter 2 Configuring Interface Cards

Configuring an Interface Card

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

  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 driver is absent, you will need to rebuild the kernel to include it.

    1. 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
    2. Edit the /stand/build/system file to add the absent driver(s).

    3. 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
    4. 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
    5. 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
  2. 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.

  3. Bring the system to a halt, using the shutdown command.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1995, Hewlett-Packard Development Company, L.P.