Reconfiguring the Kernel in HP-UX Release 11i Version 1.5 Manufacturing Part Number: 5185-6559 June 7, 2001 © Copyright 2001 © Hewlett-Packard Company. All rights reserved..
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 1 Reconfiguring the kernel in HP-UX Release 11i Version 1.5 The following white paper is an excerpt from Chapter 3, “Configuring a System,” in Managing Systems and Workgroups: A Guide for HP-UX System Administrators. It is updated here to reflect changes made in boot and system configuration for HP-UX Release 11i Version 1.5. Other documents that are referred to in this white paper can be found at the following web site: http://docs.hp.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel Reconfiguring the Kernel For most systems, the default kernel configuration included with HP-UX will be sufficient for your needs. However, in each of the following instances you need to reconfigure the kernel: • Adding or removing device drivers The most common reason for adding or removing kernel modules is to add or remove device drivers. See Configuring HP-UX for Peripherals for full instructions on adding peripherals.
enabled on HP-UX Release 11i Version 1.5 for Itanium-based systems. ❏ An automatic tunable is one that is constantly being tuned by the kernel itself in response to changing system conditions. The list of dynamic and automatic tunables is continually growing. To determine which tunables are dynamic on your system, use the kmtune (1M) command), or see the Kernel Configuration portion of SAM.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel configuring a large number of file systems (approximately 100 or more), some default table sizes in the kernel may be too small for your system to successfully boot. To boot your system, reconfigure the install kernel before the first boot. Refer to the section “Steps to Reconfigure the Kernel” on page 6 to perform this, keeping in mind that SAM is not available at this point.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel when adding or removing DLKMs). Since the introduction of DLKMs, dynamic kernel configuration of the running kernel is possible when adding or removing a DLKM. Although HP-UX Release 11i Version 1.5 is not released with DLKM content, certain optional add-on HP-UX software is available as DLKM modules.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel modules is not a supported kernel configuration interface, and is likely to introduce configuration errors. Instead, use the commands kmsystem (1M) and kmtune (1M), available since Release 11.0. 4. Build the new kernel by invoking mk_kernel (1M): /usr/sbin/mk_kernel -s /stand/build/system This builds a new kernel ready for testing: /stand/build/vmunix_test and the associated kernel components. 5.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel NOTE You only need to do the next steps if you are changing hardware, such as adding new peripherals. If you are only adding or removing a kernel module, or simply changing a static kernel parameter, reboot the system to active the new kernel with shutdown -r. 7. Bring the system to a halt using the shutdown command. 8. Turn off the power to all peripheral devices and then to the SPU. 9.
Reconfiguring the kernel in HP-UX Release 11i Version 1.5 Reconfiguring the Kernel Saving a Backup Kernel Permanently System administrators and kernel developers often like to save a trusted good kernel (for example, the default kernel, /stand/vmunix, running at the end of a clean OS installation), before starting the process of building new kernels. Although the kmupdate (1M) command always saves the previous /stand/vmunix kernel to the kernel name /stand/vmunix.