Patch Name: PHKL_29243 Patch Description: s700_800 11.11 vPar enablement, cumulative patch Creation Date: 03/07/04 Post Date: 03/08/25 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_29243: OTHER This patch is critical for systems running vPars, as it fixes a situation where kernel build will fail after the linker patch, PHSS_28436, is installed. Category Tags: defect_repair enhancement general_release critical Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29243 Symptoms: PHKL_29243: ( SR:8606309078 CR:JAGae72112 ) On systems running vPars, installing the linker patch PHSS_28436 introduces behavior that causes kernel rebuilds to fail. Kernel rebuilds are required when installing kernel software or patches. The following error is reported - # mk_kernel -s /stand/system Generating module: krm... Compiling /stand/build/conf.c... Loading the kernel... ld: Cannot build a shared library in a static (-noshared) link Fatal error. *** Error exit code 1 Stop. config: make did an exit(1) PHKL_27447: ( SR:8606251270 CR:JAGae17336 ) System gives warning during cold install and subsequent mk_kernel(1M). WARNING: Kernel size is very large. The kernel may not boot or may show decreased performance in small memory systems. Actual kernel size: 31708460 bytes. The value for the kernel size may differ from the example shown. This patch is for 32 bit HP-UX kernels, but will not affect 64 bit kernel builds. PHKL_24560: ( SR:8606203473 CR:JAGad72646 ) This patch is a member of a set of patches needed to enable the HP-UX Virtual Partitions product. When the HP-UX Virtual Partitions product (VPARSBASE or T1335AA) is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Virtual Partitions product is not installed, this change will have no impact on your system. Defect Description: PHKL_29243: ( SR:8606309078 CR:JAGae72112 ) On systems running vPars, the /usr/conf/gen/config.sys file invokes an awk(1) script during kernel build to parse the what string of the linker command (/usr/ccs/bin/ld), in order to determine if the installed linker version supports kernel relocation. The awk(1) script made certain incorrect assumptions regarding the what string of the linker. Patch PHSS_28436 changed the what string, and caused the awk(1) script to pass improper options to the linker, resulting in kernel build failure. Resolution: The awk script in /usr/conf/gen/config.sys file has been modified to include precise pattern parsing to determine the linker version. PHKL_27447: ( SR:8606251270 CR:JAGae17336 ) The value used to check the size of vmunix and the amount of physical memory on the system was not updated for HP-UX 11.11. Resolution: Updated the value used to determine minimum physical memory size during kernel configuration using mk_kernel(1M). PHKL_24560: ( SR:8606203473 CR:JAGad72646 ) This patch contains minor enhancements required to support the HP-UX Virtual Partitions product. Resolution: Enhancements added to use the new linker options if the new linker and if the Virtual partitions software is installed on the system. This will allow the kernel to be relocatable. Enhancement: No (superseded patches contained enhancements) PHKL_27447: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606203473 8606251270 8606309078 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/gen/config.lm /usr/conf/gen/config.sys OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/gen/config.lm /usr/conf/gen/config.sys what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/gen/config.lm: config.sys $Date: 2003/06/13 06:23:05 $Revision: r11 .11/7 PATCH_11.11 (PHKL_29243) /usr/conf/gen/config.sys: config.sys $Date: 2003/06/13 06:23:05 $Revision: r11 .11/7 PATCH_11.11 (PHKL_29243) / OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/gen/config.lm: config.sys $Date: 2003/06/13 06:23:05 $Revision: r11 .11/7 PATCH_11.11 (PHKL_29243) /usr/conf/gen/config.sys: config.sys $Date: 2003/06/13 06:23:05 $Revision: r11 .11/7 PATCH_11.11 (PHKL_29243) / cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 3373780318 1656 /usr/conf/gen/config.lm 728529806 9491 /usr/conf/gen/config.sys OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3746725448 1726 /usr/conf/gen/config.lm 2552656339 9647 /usr/conf/gen/config.sys Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_27447 PHKL_24560 Equivalent Patches: None Patch Package Size: 40 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_29243 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29243.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29243. 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_29243.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29243.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29243.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None