Patch Name: PHKL_28171 Patch Description: s700_800 11.00 LP64 maxdsiz; max msgmnb; major no; maxfiles Creation Date: 03/05/29 Post Date: 03/06/10 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_28171 Symptoms: PHKL_28171: ( SR:8606267977 CR:JAGae32216 ) 1. The NetTL nktl_daemon process which communicates with the netdiag1 pseudo driver is always bound to a particular CPU, which causes degradation in tracing performance. PHKL_24487: ( SR: 8606108859 DTS: JAGab81563 ) Using SAM, tunable kernel parameter maxfiles and maxfiles_lim can not be set to higher than 2048. PHKL_22777: ( SR: 8606143116 DTS: JAGad12459 ) When an attempt is made to install a new driver, the driver does not get loaded on rebooting the system after installation. Any attempts to open/access the driver will fail. The following message will be posted in the file /var/adm/syslog/syslog.log and on the console: " WARNING: Out of character/block major numbers " PHKL_21778: ( SR: 5003460949 DTS: JAGab15326 ) This is an enhancement for increasing the SysV IPC MSGMNB message queue capacity from a 16bit(ushort) limit to a 32bit(int) limit for re-compiled applications which are designed specifically to take advantage of this feature. The enhancement is contained in three patches; this one (new tunables range limits, used by SAM) plus PHKL_21518 (SysV IPC changes) and PHKL_21684 (pstat(2) support). PHKL_21518 and PHKL_21684 must be installed for the features of this patch set to be enabled and it is strongly advised that all three patches be installed if this feature is desired. Without installing PHKL_21684 and PHKL_21518, this change will have no impact on the system. PHKL_20174: ( SR: 8606107525 DTS: JAGab77768 ) SAM will not allow the user to configure a kernel with the kernel configurable variable "maxdsiz" set to a value greater than 2 Gb. Defect Description: PHKL_28171: ( SR:8606267977 CR:JAGae32216 ) 1. The NetTL netdiag1 pseudo driver is not configured as multiprocessor-safe, even though its code is multiprocessor-safe. Resolution: The master file core-hpux has been modified to configure netdiag1 pseudo driver as multiprocessor-safe. PHKL_24487: ( SR: 8606108859 DTS: JAGab81563 ) The default upper limit value of maxfiles, maxfiles_lim is set to 2048. Resolution: Change the default upper limit value of maxfiles and maxfiles_lim to 60000. PHKL_22777: ( SR: 8606143116 DTS: JAGad12459 ) Due to the large number of available drivers on newer HP 9000 systems, a stage may be reached where the kernel may be unable to allocate a major number for a newly installed driver. The driver can be either a character or block device driver. This problem occurs because of the limited number of dynamic major numbers available for assignment to dynamic drivers. Resolution: This patch increases the number of available dynamic major numbers by reclaiming the static major numbers of statically allocated drivers that were either obsoleted in 9.x or renumbered or converted to dynamic major number in 10.x. PHKL_21778: This is a companion patch to PHKL_21518 and PHKL_21684, which are designed to increase the SysV IPC MSGMNB message queue capacity from the 16bit(ushort) limit to a 32bit(int) maximum. This patch provides the enhancements to support modification of the kernel tunables associated with this feature using SAM. Please see the PHKL_21518 documentation for details and installation notes. Installation of this patch without PHKL_21518 will not enable this feature and of no effect on the system. Installing only the PHKL_21778 (core-hpux) patch will allow the admin to set MSGMNB >64k but the change will have no functional effect as the kernel will hard-limit the value to 64k. Not installing PHKL_21778 (core-hpux) patch but still installing the PHKL_21518 (sysV_msg.o) and PHKL_21684 (pstat.o) patches will make it more difficult to adjust the kernel message tunables (SAM could not be used). PHKL_20174: ( SR: 8606107525 DTS: JAGab77768 ) SAM uses the range checking parameters in /usr/conf/master.d/core-hpux to determine the legal range of values for maxdsiz. If the patch set that enables the 3 Gb private address space feature is installed, the kernel supports values of maxdsiz up to 3 Gb. However, SAM will not allow a kernel to be configured with maxdsiz set to a value greater than 2 Gb. Note that a kernel can be configured manually (with /usr/sbin/config) with maxdsiz set to a value > 2Gb. Resolution: This patch modifies /usr/conf/master.d/core-hpux so that SAM can generate kernels with maxdsiz set to values up to 3 Gb. There is no reason to install this patch unless the patch set that enables the 3 Gb. private address space feature has been installed. Enhancement: No (superseded patches contained enhancements) PHKL_28171: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 5003460949 8606107525 8606108859 8606143116 8606267977 Patch Files: OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/master.d/core-hpux OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/core-hpux what(1) Output: OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/master.d/core-hpux: core-hpux $Date: 2003/01/30 04:31:33 $Revision: r11r os/17 PATCH_11.00 (PHKL_28171) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/core-hpux: core-hpux $Date: 2003/01/30 04:33:59 $Revision: r11r os/22 PATCH_11.00 (PHKL_28171) cksum(1) Output: OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 504519961 18864 /usr/conf/master.d/core-hpux OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3783015821 19314 /usr/conf/master.d/core-hpux Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_18543 s800: 11.00: PHKL_18543 Hardware Dependencies: None Other Dependencies: s700: 11.00: PHKL_21518 PHKL_21684 s800: 11.00: PHKL_21518 PHKL_21684 PHKL_21684, PHKL_21518, PHKL_21778 together provide an enhancement to increase the SysV IPC MSGMNB message queue capacity. To enable the enhancement, both PHKL_21684 and PHKL_21518 must be installed, and PHKL_21778 is required if SAM support is desired to modify system tunables. Each may be installed independently of the others. Supersedes: PHKL_20174 PHKL_24487 PHKL_22777 PHKL_21778 Equivalent Patches: None Patch Package Size: 50 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_28171 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_28171.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_28171. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_28171.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_28171.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_28171.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch should not be installed if the customer has manually modified the /usr/conf/master.d/core-hpux file. This file will be overwritten by the patch. If you wish to enable the increased SysV IPC MSGMNB message queue capacity feature delivered in patches PHKL_21518, PHKL_21778, and PHKL_21684, it is highly recommended that all of the Special Installation Instructions for the PHKL_21518 (sysV_msg.o) patch be read prior to installing this patch.