Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
 Contact HP
HP.com home
HP Tru64 UNIX Version 5.1B-2 and Higher: Patch Kit Installation Instructions > Chapter 3 Patch Installation and Removal Instructions

Rebuilding the Kernel

 

Table of Contents
Glossary
Index
Content starts here

The dupatch utility determines whether the installation or removal of patches requires that the kernel be rebuilt. This action is performed automatically or manually, depending upon the method you used to install the patches:

  • When using the menu-based interface, you will be prompted for actions to take. Those prompts are the same ones you would see if you ran the doconfig command. The dupatch utility asks if your system has a custom configuration file and if you want to change it.

  • When using dupatch from the command line, the kernel is built automatically. It does this by calling the doconfig -a command. If you specify the dupatch -cfgfile command, dupatch calls doconfig with the -a-c options.

After the patch kit is installed you will see output similar to the following:

Configuring "Patch: SP04 OSFADVFSBIN540" (OSFPAT02500300540)

Configuring "Patch: SP04 OSFADVFS540 (SSRT2275)" (OSFPAT02500200540)

Beginning kernel build...


Do you have a pre-existing configuration file?:

If you answer yes, dupatch will build the kernel noninteractively, enabling all (mandatory and optional) kernel options automatically. This procedure is similar to running the doconfig -a command.

If you answer no, dupatch will build the kernel interactively. This procedure is similar to running the doconfig -c command. The following steps describe this procedure and provide some guidance for making your selections:

  1. Enter a new name for the kernel configuration file or accept the default. If you accept the default you will be asked if you want to replace it. For example:

      *** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
    
    Enter a name for the kernel configuration file. [IDIOM2]: Return
    
    A configuration file with the name 'IDIOM2' already exists.
    Do you want to replace it? (y/n) [n]: y
    Saving /sys/conf/IDIOM2 as /sys/conf/IDIOM2.bck
  2. Specify the kernel options you want. If you are unsure of which options to specify, consider the following:

    • Selecting the All of the Above option ensures that you can access any new functions provided by the patch kit. You may, however, create a kernel that is larger than you need.

      If you know of options you do not need, you can ignore those and specify all of the other options, thereby ensuring that you will have access to the new functions you need but with a smaller kernel than if you had selected all of the options.

    • Selecting the None of the Above option will result in a kernel build that is similar to using the doconfig -ac command. This is the default.

    The following output is similar to what you will see. The procedure gives you the opportunity to edit the configuration file:

    *** KERNEL OPTION SELECTION ***
    
        Selection   Kernel Option
    --------------------------------------------------------------
    	1	System V Devices
    	2	NTP V3 Kernel Phase Lock Loop (NTP_TIME)
    	3	Kernel Breakpoint Debugger (KDEBUG)
    	4	Packetfilter driver (PACKETFILTER)
    	5	IP-in-IP Tunneling (IPTUNNEL)
    	6	IP Version 6 (IPV6)
    	7	Point-to-Point Protocol (PPP)
    	8	STREAMS pckt module (PCKT)
    	9	Data Link Bridge (DLPI V2.0 Service Class 1)
    	10	X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
    	11	Digital Versatile Disk File System (DVDFS)
    	12	ISO 9660 Compact Disc File System (CDFS)
    	13	Audit Subsystem
    	14	ATM UNI 3.0/3.1 ILMI (ATMILMI3X)
    --- MORE TO FOLLOW ---
    Enter your choices or press <Return>
    to display the next screen.
    
    Choices (for example, 1 2 4-6): 2-12
    	15	IP Switching over ATM (ATMIFMP)
    	16	LAN Emulation over ATM (LANE)
    	17	Classical IP over ATM (ATMIP)
    	18	ATM UNI 3.0/3.1 Signalling for SVCs (UNI3X)
    	19	Asynchronous Transfer Mode (ATM)
    
    The following choices override your
    previous selections:
    
    	20	All of the above
    	21	None of the above
    	22	Help
    	23	Display all options again
    --------------------------------------------------------------
    
    
    Enter your choices, choose an overriding action or
    press <Return> to confirm previous selections.
    
    Choices (for example, 1 2 4-6): Return 
    
    You selected the following kernel options:
    	NTP V3 Kernel Phase Lock Loop (NTP_TIME)
    	Kernel Breakpoint Debugger (KDEBUG)
    	Packetfilter driver (PACKETFILTER)
    	IP-in-IP Tunneling (IPTUNNEL)
    	IP Version 6 (IPV6)
    	Point-to-Point Protocol (PPP)
    	STREAMS pckt module (PCKT)
    	Data Link Bridge (DLPI V2.0 Service Class 1)
    	X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
    	Digital Versatile Disk File System (DVDFS)
    	ISO 9660 Compact Disc File System (CDFS)
    
    Is that correct? (y/n) [y]: Return
    
    Do you want to edit the configuration file? (y/n) [n]: Return
    
    
    *** PERFORMING KERNEL BUILD ***
    
    A log file listing special device files is located in /dev/MAKEDEV.log
    	Working....Tue Mar  9 11:36:33 EST 2004
    
    The new kernel is /sys/IDIOM2/vmunix

See the doconfig(8) reference page for more information.

Printable version
Privacy statement Using this site means you accept its terms
2006 Hewlett-Packard Development Company, L.P.