Patch Name: PHKL_30286 Patch Description: s700_800 11.11 thread suspend Creation Date: 04/02/04 Post Date: 04/04/01 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_30286: HANG PHKL_30100: HANG PHKL_29889: PANIC PHKL_25166: PANIC PHKL_25453: OTHER Xservers may core dump. PHKL_23609: PANIC Superdome machines may panic early in boot with "Data and/or code translations improperly disabled" message. This patch resolves this panic during early boot. Category Tags: defect_repair hardware_enablement enhancement general_release critical panic halts_system manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30286 Symptoms: PHKL_30286: ( SR:8606334497 CR:JAGae95577 ) A multi-threaded user application using Light Weight Process (LWP) threads might experience an unkillable hang after a thread is asynchronously canceled. This is more likely to occur on a uniprocessor system but can also happen on a multiprocessor system. PHKL_30100: ( SR:8606218037 CR:JAGad87187 ) An LPMC or unexpected interrupt during the early boot path can cause a system to hang. PHKL_29889: ( SR:8606330496 CR:JAGae91619 ) When loading DLKM software modules on large memory systems (>8GB) running 64-bit kernels, the kernel can panic with the following panic string: kalloc: out of kernel virtual address space. Stack trace: panic+0x6c kalloc_4K+0x238 kalloc_from_superpage+0x408 kalloc+0x14 alloc_mem+0x44 get_kmem+0x8c kmem_arena_xlarge_alloc+0x74 kmem_arena_varalloc+0x144 mod_obj_getprog+0x2c4 mod_obj_load+0x1b8 mod_load_helper+0x50 modld+0x200 modload+0x12c syscall+0x750 syscallinit+0x554 PHKL_27766: ( SR:8606251440 CR:JAGae17505 ) This product update is a member of a set needed to enable the optional HP-UX Strong Random Number Generator feature. Upon installation, the HP-UX Strong Random Number Generator bundle (KRNG11) will install the full set of product updates (including this one) to enable the Strong Random Number Generator feature. If the HP-UX Strong Random Number Generator product is not installed, this product update will have no impact on your system. PHKL_27054: ( SR:8606223938 CR:JAGad93033 ) CPU migration on non-Superdome cellular systems will cause floating CPUs to become lost between the vPar monitor and the kernel. CPUs will leave the monitor and be reported as unavailable by the vpar* commands, but tools such as top(1) run on the owning vPar will not show the CPU. PHKL_25166: ( SR:8606205090 CR:JAGad74266 ) A HPMC may occur on T600 (9000/893) systems when cache flush code is executing. A stack trace may look similar to the following: fdc_one_page_2_0+0x180 fdcache_conditionally+0x90 pdd_large_page2_0+0x1f0 pddpage+0x2d4 hdl_deletetrans+0xbc do_deltransc+0x118 for_val2+0xb4 foreach_chunk+0x3c hdl_detach+0x210 detachreg+0x80 kissofdeath+0x64 freethread+0x14c thread_deallocate+0x94 thread_free+0x94 wait1+0x244 waitpid+0x38 syscall+0x200 syscallinit+0x54c PHKL_24557: ( SR:8606199585 CR:JAGad68772 ) 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. PHKL_25453: ( SR:8606186988 CR:JAGad56198 ) After CDE comes up when trying to enter username/password the Xserver core dumps. It also core dumped when using x11start. If the customer disables one of the CPUs the Xserver does not core dump. PHKL_24550: ( SR:8606244308 CR:JAGae10796 ) The Gang Scheduler does not provide the advertised application parallelism on a multiprocessor system. ( SR:8606200799 CR:JAGad69975 ) This patch is a member of a set of patches needed to enable the HP-UX Processor Sets product (PROCSETS). When PROCSETS product is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Processor Sets product is not installed, this change will have no impact on your system. ( SR:8606199576 CR:JAGad68763 ) This patch is a member of a set of patches needed to enable the HP-UX Virtual Partitions product Sets. 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. PHKL_23609: ( SR:8606169455 CR:JAGad38730 ) Some Superdome machines randomly panic very early in the boot process. Defect Description: PHKL_30286: ( SR:8606334497 CR:JAGae95577 ) When a LWP thread is aborted by a pthread_cancel, a side effect of is that the aborting thread may execute briefly before being aborted completely. The thread may return to user space and execute user program code during this brief interval. Depending on what the user program does during that period, unexpected, detrimental effects to the system could result. For instance, the program could immediately perform another system call where a semaphore or other global resources could be acquired and cause the thread to become unkillable, lead to a system deadlock/hang, etc. Resolution: The fix is to create a new function that will handle the aborting thread instead of letting it get rescheduled. Check the condition in the trap path where a thread returns to user space from the kernel to ensure that an aborted thread does not return to user space. PHKL_30100: ( SR:8606218037 CR:JAGad87187 ) In the event of an LPMC or unexpected interrupt during the early boot path, HP-UX 64bit kernels will incorrectly collect interrupt save state for PA-RISC 1.x processors. Resolution: HP-UX 64bit kernels will always collect interrupt save state for PA-RISC 2.0 processors by setting a static flag in the kernel binary. PHKL_29889: ( SR:8606330496 CR:JAGae91619 ) This happens on large memory systems due to unavailability of 32-bit kernel virtual addresses. DLKM needs 32-bit kernel virtual addresses to load the module, but these addresses are already taken by kernel data structures. Resolution: This patch provides the functionality of reserving 32-bit kernel virtual addresses, when installed with patch PHKL_29890. If PHKL_29890 is not installed this patch will not have any effect. PHKL_27766: ( SR:8606251440 CR:JAGae17505 ) This product update contains minor enhancements required to enable the HP-UX Strong Random Number Generator. Resolution: Enhancements added to set up the system for loading the Strong Random Number Generator when this product is configured. PHKL_27054: ( SR:8606223938 CR:JAGad93033 ) This patch is a member of a set of patches needed to enable version A.02.01.00 of the HP-UX Virtual Partitions product. When the HP-UX Virtual Partitions product (VPARSBASE or T1335AC) 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. Resolution: Enhancements added to support CPU migration on cell based systems like : Superdome, rp8400, rp7410. PHKL_25166: ( SR:8606205090 CR:JAGad74266 ) This problem is caused by a defect in the hardware bus arbitration logic. The arbitration logic favors the sequential cache flush code over memory access requests, such that outstanding I/O requests (e.g. FWSCSI) will time out and cause an HPMC. Resolution: The sequential cache flush code was modified to periodically provide a time slot for the I/O requests to finish. PHKL_24557: ( SR:8606199585 CR:JAGad68772 ) This patch contains minor enhancements required to support the HP-UX Virtual Partitions product. Resolution: Enhancements added to enable Purge Data TLB lock. PHKL_25453: ( SR:8606186988 CR:JAGad56198 ) The graphics Block TLB entry is not set up on non-monarch processors. When the X Server migrates off the monarch processor, there is no valid TLB entry on the processor it moves to. When the X Server tries to access an address that should be covered by the Block TLB entry it gets a data page fault and dumps core. Resolution: Moved the Graphics Block TLB initialization of non-monarch processors from phase 1 to phase 2 of MP configuration so that the entries get populated correctly on non-monarch processors. PHKL_24550: ( SR:8606244308 CR:JAGae10796 ) The Gang Scheduler only recognizes processor 0 even if there are more processors in the system. This is because the Gang Scheduler is initialized in the boot path before the other processors are enabled. Resolution: The fix is to enable the other processors before the Gang Scheduler is initialized, so that the Gang Scheduler will recognize them. Note that this fix is effective only in systems in which neither PSETS nor VPARS nor both products are installed. A fix for the Gang Scheduler problem in configurations containing the PSETS and VPARS products is not planned at this time. ( SR:8606200799 CR:JAGad69975 ) This patch contains minor enhancements required to support the HP-UX Processor Sets product. Resolution: Enhancements added to provide initialization of Processor Sets product in early system boot path. ( SR:8606199576 CR:JAGad68763 ) This patch contains minor enhancements required to support the HP-UX Virtual Partitions product. Resolution: Enhancements added to support CPU migration. PHKL_23609: ( SR:8606169455 CR:JAGad38730 ) Data and/or code translations are improperly disabled. Resolution: Set the OS tick interval to a longest possible value during initializing non_monarch CPU's interval timer. Enhancement: No (superseded patches contained enhancements) PHKL_27766: Enhancements added to set up the system for loading the Strong Random Number Generator when this product is configured. Additional enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606169455 8606186988 8606199576 8606199585 8606200799 8606205090 8606218037 8606223938 8606244308 8606251440 8606330496 8606334497 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libinit-pdk.a(boot_machdep.o) /usr/conf/lib/libsvc-pdk.a(asm_vm.o) /usr/conf/lib/libsvc-pdk.a(trap.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libinit-pdk.a(boot_machdep.o) /usr/conf/lib/libsvc-pdk.a(asm_vm.o) /usr/conf/lib/libsvc-pdk.a(trap.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libinit-pdk.a(boot_machdep.o): boot_machdep.c $Date: 2003/11/21 09:27:26 $Revision: r11.11/10 PATCH_11.11 (PHKL_30100) /usr/conf/lib/libsvc-pdk.a(asm_vm.o): asm_vm.s $Date: 2001/10/24 13:19:17 $Revision: r11.1 1/2 PATCH_11.11 (PHKL_25166) /usr/conf/lib/libsvc-pdk.a(trap.o): trap.c $Date: 2004/01/29 16:15:11 $Revision: r11.11/ 4 PATCH_11.11 (PHKL_30286) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libinit-pdk.a(boot_machdep.o): boot_machdep.c $Date: 2003/11/21 09:27:26 $Revision: r11.11/10 PATCH_11.11 (PHKL_30100) /usr/conf/lib/libsvc-pdk.a(asm_vm.o): asm_vm.s $Date: 2001/10/24 13:19:17 $Revision: r11.1 1/2 PATCH_11.11 (PHKL_25166) /usr/conf/lib/libsvc-pdk.a(trap.o): trap.c $Date: 2004/01/29 16:15:11 $Revision: r11.11/ 4 PATCH_11.11 (PHKL_30286) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 523072973 81500 /usr/conf/lib/libinit-pdk.a(boot_machdep.o) 1460459883 21560 /usr/conf/lib/libsvc-pdk.a(asm_vm.o) 2538189245 32424 /usr/conf/lib/libsvc-pdk.a(trap.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3229517694 181728 /usr/conf/lib/ libinit-pdk.a(boot_machdep.o) 2108218924 27416 /usr/conf/lib/libsvc-pdk.a(asm_vm.o) 2559450073 62360 /usr/conf/lib/libsvc-pdk.a(trap.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: To correctly report processor-related LPMC events, the following patches should also be installed: - PHKL_30105 (all PA-RISC 2.0 systems) - PHSS_30101 (PA-8800 and above only) PHKL_29890: ( SR:8606327556 CR:JAGae89817 ) This patch is required to solve the kalloc panic. Installing PHKL_29889 without PHKL_29890 will not solve the problem, though PHKL_29889 can be installed independently. Supersedes: PHKL_30100 PHKL_29889 PHKL_27766 PHKL_27054 PHKL_25453 PHKL_25166 PHKL_24557 PHKL_24550 PHKL_23609 Equivalent Patches: PHKL_30285: s700: 11.00 s800: 11.00 Patch Package Size: 160 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_30286 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30286.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30286. 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_30286.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30286.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30286.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None