Patch Name: PHKL_22786 Patch Description: s700_800 11.04 (VVOS) Large Data Space (7 of 8) Creation Date: 00/11/25 Post Date: 01/03/17 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_22786 Symptoms: PHKL_22786: Ported HP-UX patch PHKL_20228 to VVOS Based on HP-UX patch PHKL_20228: ( SR: 8606107525 DTS: JAGab77768 ) This patch is one of 8 patches necessary to add support for the 3 Gb private address space feature. Defect Description: PHKL_22786: Ported HP-UX patch PHKL_20228 to VVOS Based on HP-UX patch PHKL_20228: ( SR: 8606107525 DTS: JAGab77768 ) This is one of 8 patches necessary to add support for the 3 Gb private address space feature. This feature allows a process to have a private 3rd quadrant (normally the 3rd quadrant, which is a 1 Gb range of address space from 0x80000000 to 0xC0000000, is used for shared objects). The chatr command must be used to enable this feature for an executable (chatr +q3p enable ). Note that this feature is only enabled for 32 bit processes running on the 64 bit version of HP-UX. The other 7 patches necessary to enable this feature are PHKL_20222, PHKL_20223, PHKL_20224, PHKL_20225, PHKL_20226, PHKL_20227 and PHKL_20229. Each patch may be installed independently of the others - if enabling the 3 Gb private address space feature is not desired. If fewer than all 8 patches are installed, the 3 Gb private address space feature will not be enabled. The code in this patch that is part of this feature will not have any impact on the system until all 8 patches are installed. Resolution: A subset of the code to support the 3 Gb private address space feature was added. When all 8 patches are installed the following code changes to support this feature will have been added: 1) Code to recognize the request for a private 3rd quadrant (Q3) during exec() of an executable. An executable that requests a private 3rd quadrant will be referred to as a q3p process below. 2) Code to prevent allocation of shared objects in q3p processes. 3) Code to allow data to extend over the 2nd/3rd quadrant boundary for q3p processes. 4) Code to put the stack for the primary thread in the 3rd quadrant for q3p processes. 5) Code to map a shared library into the private address space if there is no more room in the 4th shared quadrant for q3p processes. SR: 8606107525 Patch Files: OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/lib/libhp-ux.a(pm_sendsig.o) OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/lib/libhp-ux.a(pm_sendsig.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: /usr/conf/lib/libhp-ux.a(pm_sendsig.o): pm_sendsig.c $Date: 1999/10/31 23:25:13 $Revision: r 11ros/4 PATCH_11.00 (PHKL_20228) OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: /usr/conf/lib/libhp-ux.a(pm_sendsig.o): pm_sendsig.c $Date: 1999/10/31 23:25:13 $Revision: r 11ros/4 PATCH_11.00 (PHKL_20228) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_32,v=HP: 4013498033 21276 /usr/conf/lib/libhp-ux.a(pm_sendsig.o) OS-Core.CORE2-KRN,fr=B.11.04,fa=HP-UX_B.11.04_64,v=HP: 3441892411 53120 /usr/conf/lib/libhp-ux.a(pm_sendsig.o) Patch Conflicts: None Patch Dependencies: s700: 11.04: PHKL_19142 s800: 11.04: PHKL_19142 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_20228: s700: 11.00 s800: 11.00 Patch Package Size: 110 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_22786 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_22786.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_22786. 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_22786.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_22786.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_22786.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_22786.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 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. This patch contains part of the enhancement to enable the 3 Gb private address space feature. It is one of 7 patches. The other 6 patches necessary to enable this feature are PHKL_22744, PHKL_22891, PHKL_22865, PHKL_22717, PHKL_23166 and PHKL_22798. Each patch may be installed independently of the others - if enabling the 3 Gb private address space feature is not desired. If fewer than all 7 patches are installed, the 3 Gb private address space feature will not be enabled. The code in this patch that is part of this feature will not have any impact on the system until all 7 patches are installed. In order to be able to use this feature you will need to reconfigure the kernel with a larger value for the kernel configurable variable "maxdsiz". In order to do this with SAM, you will also need to install patch PHKL_23069. Without PHKL_23069 installed SAM will not allow maxdsiz to exceed ~1.9 Gb. Note that if PHKL_23069 is not installed it is still possible to manually configure a kernel with a larger value of maxdsiz (up to 3 Gb) using config(1M).