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
HP-UX LAN Administrator's Guide: HP-UX 11i v2 > Chapter 3 Manually Installing and Configuring HP-UX LAN

Creating a New Kernel

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Before attempting this procedure, familiarize yourself with the system reconfiguration information in the mk_kernel(1M) man 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 steps below contain a general outline of kernel configuration steps with some information for the HP-UX LAN drivers and parameter settings contained within that framework.

If the kernel was not created with the LAN driver in it during the swinstall procedure, you can create it manually. To determine whether the LAN driver is in the kernel, check the /stand/system file for the lanX keyword (where X=2 or 3). To determine whether the LAN driver is installed, execute what /stand/vmunix and check for references to LAN in the output.

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

  4. Edit the system file to add drivers and/or change system parameters. (Refer to your specific Ethernet LAN documentation, as appropriate for your configuration, for complete information.)

    1. Verify or add the appropriate keywords:

      Some examples of keywords are:

      • btlan (PCI 10/100BT adapters)

      • gelan (Gigabit Ethernet add-on adapters)

      • igelan (Next Generation Core IO 10/100/1000 cards)

      If the keyword does not exist in the /stand/system file, add the appropriate lines to the file.

    2. Depending on which filesets you have loaded, you may also need to add the following keywords to the system file:

      Table 3-1 Keywords

      Keyword

      Comments

      hpstreams

      required for streams

      dlpi

      required

      uipc

      required for TCP/IP

      inet

      required for TCP/IP

      nmsrequired for TCP/IP

      nfs_core

      nfs_client 
      nfs_server 

      netdiag1

      tunrequired for PPP

       

  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/vmunix_test).

    mk_kernel

    In this example a new kernel is created in the build directory called vmunix_test.

    mk_kernel -s /stand/system -o /stand/vmunix

    This second example automatically moves the kernel to the /stand directory and makes a backup (/stand/vmunix_prev) if the file /stand/vmunix already exists.

  7. If you did not use the -o option with the mk_kernel command, execute kmupdate and this will copy the new kernel to /stand/vmunix. (Or you can manually 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 the Managing System and Workgroups: A Guide for HP-UX System Administrators manual.

  9. Proceed to the next section “Verifying LAN Device Files,” in this chapter to continue configuring HP-UX LAN manually. To configure your system with the SAM utility, proceed to Chapter 2 “Configuring HP-UX LAN Using SAM”

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