Patch Name: PHKL_23741 Patch Description: s700_800 11.04 (VVOS) LP64 maxdsiz;max msgmnb;major number Creation Date: 01/03/23 Post Date: 01/03/27 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_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_23741 Symptoms: PHKL_23741: This patch corrects a problem in PHKL_23069.doc. PHKL_23069 inadvertently listed PHKL_22988 as one of three patches required to enable ehancement detailed in ( SR 8606143116 DTS: JAGad112459 ). The VVOS equivalents to patches PHKL_21684, PHKL_21778 and PHKL_21518 are PHKL_22988, PHKL_23069 and PHKL_22798. PHKL_23069: Ported HP-UX patch PHKL_22777 to VVOS. In addition to this patch, VVOS patches PHKL_22798 and PHKL_22988 are also required to take advantage of this feature. The VVOS equivalents to patches PHKL_21684, PHKL_21778 and PHKL_21518 are PHKL_22988, PHKL_23069 and PHKL_22798. Based on HP-UX patch 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 " Based on HP-UX patch 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. Based on HP-UX patch 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_23741: This patch corrects a problem in PHKL_23069.doc. PHKL_23069 inadvertently listed PHKL_22988 as one of three patches required to enable ehancement detailed in ( SR 8606143116 DTS: JAGad112459 ). The VVOS equivalents to patches PHKL_21684, PHKL_21778 and PHKL_21518 are PHKL_22988, PHKL_23069 and PHKL_22798. Resolution: Patch PHKL_22844 should have appeared within PHKL_23069.doc instead of PHKL_22988. PHKL_23741 is required along with patches PHKL_22798 and PHKL_22841 to enable feature outlined in PHKL_23741. PHKL_23069: Ported HP-UX patch PHKL_22777 to VVOS. This patch is one of three patches required for the enhancement request indentified in: ( SR 8606143116 DTS: JAGad112459 ) The VVOS equivalents to patches PHKL_21684, PHKL_21778 and PHKL_21518 are PHKL_22988, PHKL_23069 and PHKL_22798. Installing only this 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 this patch but still installing VVOS patches the PHKL_22798 (sysV_msg.o) and PHKL_22844 (pstat.o) patches will make it more difficult to adjust the kernel message tunables (SAM could not be used). Based on HP-UX patch 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. Based on HP-UX patch 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). Based on HP-UX patch 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. SR: 5003460949 8606107525 8606143116 8606186943 Patch Files: OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/master.d/core-hpux OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/master.d/core-hpux what(1) Output: OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/master.d/core-hpux: core-hpux $Date: 2000/11/17 10:23:33 $Revision: r11r os/15 PATCH_11.00 (PHKL_22777) OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/master.d/core-hpux: core-hpux $Date: 2000/11/17 10:23:33 $Revision: r11r os/20 PATCH_11.00 (PHKL_22777) cksum(1) Output: OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: 1749498429 18862 /usr/conf/master.d/core-hpux OS-Core.KERN2-RUN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: 2643925708 19312 /usr/conf/master.d/core-hpux Patch Conflicts: None Patch Dependencies: s700: 11.04: PHKL_19142 s800: 11.04: PHKL_19142 Hardware Dependencies: None Other Dependencies: s700: 11.04: PHKL_22798 PHKL_22844 s800: 11.04: PHKL_22798 PHKL_22844 PHKL_22844, PHKL_22798, and this patch together provide an enhancement to increase the SysV IPC MSGMNB message queue capacity. To enable the enhancement, both PHKL_22844 and PHKL_22798 must be installed, and PHKL_23069 is required if SAM support is desired to modify system tunables. Each may be 'installed independently of the ' others. Supersedes: PHKL_23069 Equivalent Patches: PHKL_22777: s700: 11.00 s800: 11.00 Patch Package Size: 80 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_23741 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_23741.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_23741. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_23741.depot 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_23741.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_23741.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_23741.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_22798, this patch, and PHKL_22844, it is highly recommended that all of the Special Installation Instructions for the PHKL_22798 (sysV_msg.o) patch be read prior to installing this patch. This patch depends on base patch PHKL_19142 For successful installation please insure that PHKL_19142 is already installed, or that PHKL_19142 is included in the same depot with this patch and PHKL_19142 is selected for installation.