Patch Name: PHKL_30524 Patch Description: s700_800 11.11 par fans,cabtype,sinc,hwpath,cell info,vPar Creation Date: 04/03/24 Post Date: 04/04/05 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_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30524: HANG Processes can hang if a process migration event occurs while a non-blocking firmware call is in progress. Category Tags: defect_repair hardware_enablement enhancement general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30524 Symptoms: PHKL_30524: ( SR:8606331684 CR:JAGae92804 ) Diagnostics, iCOD or par* commands and utilities can hang and be unkillable. This may lead to errors and failures from other diagnostic, iCOD or par* commands and utilities. A system reboot is required to remove the hung processes. PHKL_27757: ( SR:8606226895 CR:JAGad95957 ) A debug kernel will panic with assert failure "size != (size_t) 0" when the parstatus command is executed on an rp7410. ( SR:8606197772 CR:JAGad66963 ) No kernel partition management support for rp7420, rp8420 and Superdome systems with pa8800 processors. ( SR:8606222999 CR:JAGad92103 ) No kernel partition management support for the PCIX slots. PHKL_27056: ( SR:8606244303 CR:JAGae10791 ) This product update is a member of a set 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 product updates for that product, including this one. If the HP-UX Virtual Partitions product is not installed, this product update to HP-UX will have no impact on your system. PHKL_24824: ( SR:8606202661 CR:JAGad71835 ) This fixes the kernel to support future firmware changes to the cell information interface. Otherwise, partition utilities will return an unexpected firmware error(-9) when cell information is requested from a system with such firmware. PHKL_24219: ( SR:8606188297 CR:JAGad57505 ) Partition utilities show invalid hardware path information for I/O slots associated with cells which are not in the local partition. The hardware path information for these I/O slots are absent, incomplete, or wrong. PHKL_23375: ( SR:8606155145 CR:JAGad24462 ) Parmgr and its commands do not distinguish failed fans or power supplies from missing fans or power supplies. If a failed entity is removed from the system, it still appears as failed. ( SR:8606170624 CR:JAGad39888 ) Partition utilities do not display system information correctly on N8000 machines. ( SR:8606171173 CR:JAGad40437 ) Partition utilities return an error on cell operations: "Error: Cell information unavailable. (-9)". This occurs on Superdome derivative systems such as S16000 and N8000. ( SR:8606171177 CR:JAGad40441 ) Parstatus returns a firmware error (-9) when cabinet details or chassis details are requested from the system. The error message looks like this: "cell details unavailable. (5) (-9)" or "chassis details unavailable. (5) (-9)" ( SR:8606181735 CR:JAGad50951 ) Parmgr prematurely exits when receiving a recoverable timeout error from firmware/utilities, such as when the service processor is offline. Defect Description: PHKL_30524: ( SR:8606331684 CR:JAGae92804 ) Diagnostic, iCOD and par* commands and utilities use firmware calls that are initiated and completed in two parts. If a process migration event occurs between these two parts, then the firmware call can hang forever causing the process that made the original call to hang. Both PHKL_30523 and PHKL_30524 must both be installed to prevent the potential hung process. PHKL_30523 and PHKL_30524 can not be installed separately on 64bit systems. Resolution: Maintain a special binding in the low-level firmware calling code to prevent process migration events from interfering. PHKL_27757: ( SR:8606226895 CR:JAGad95957 ) The kernel does not correctly handle systems without cross bar links. Resolution: Avoid allocation of cross bar data structure if no cross bar link exists on the system. ( SR:8606197772 CR:JAGad66963 ) The kernel partition management interfaces only supports a maximum of 4 CPUs/Cell. Resolution: Added partition management support for a maximum of 16 CPUs/Cell. ( SR:8606222999 CR:JAGad92103 ) The kernel partition management subsystem did not report information pertaining to PCIX slots. Resolution: Added kernel partition management interface to report information pertaining to PCIX slots. PHKL_27056: ( SR:8606244303 CR:JAGae10791 ) This product update contains minor enhancements required to support version A.02.01.00 the HP-UX Virtual Partitions product. Resolution: Enhancements added for the partition commands to use a pass through interface supplied by Virtual Partitions to access Processor Dependent Code for the complex profile data. PHKL_24824: ( SR:8606202661 CR:JAGad71835 ) Partition utilities will return an unexpected firmware error(-9) if the firmware call for cell information returns a byte count for I/O chassis or memory information which varies from the expectations of the kernel which assumed these would not change. This is a bad assumption because the firmware architecture specifies that this information is hardware dependent and subject to change in the future. Resolution: To proactively ensure compatibility with future firmware releases, a new data structure for firmware cell information was created to force the kernel to let the firmware set its expectations for the number of bytes returned for I/O chassis, memory, and fabric information. PHKL_24219: ( SR:8606188297 CR:JAGad57505 ) The hardware paths for I/O slots on non-local partitions appear invalid because the OS uses a function to convert the hardware path information into strings based upon its own internal I/O tree which contains data only for the local partition. Resolution: In order to correctly report hardware path information for I/O slots on non-local partitions, the OS now converts the hardware path data received from the firmware into strings without depending upon internal data which is only aware of hardware paths local to the partition. PHKL_23375: ( SR:8606155145 CR:JAGad24462 ) Parmgr and its commands do not distinguish failed fans or power supplies from missing fans or power supplies because firmware incorrectly returns both a failed and missing status for entities that are either failed or missing. Resolution: The kernel masks the failed bitmasks with the present bitmasks to differentiate failed entities from missing entities. ( SR:8606170624 CR:JAGad39888 ) Partition utilities do not display system information correctly on N8000 machines because the cabinet type for N8000 was not enumerated in the kernel for user applications. Resolution: The cabinet type information for N8000 machines was enumerated in such a way as to be compatible with past cabinet type enumerations. Future cabinet type values will also be supported without having to update the kernel. ( SR:8606171173 CR:JAGad40437 ) Partition utilities return an error on cell operations because the kernel service that returns the number of cell slots on a system assumed the same maximum number as Superdome. When the applications pass this value back to the kernel it causes firmware errors on Superdome derivatives because those cell slots do not exist on these systems. Resolution: The kernel now uses firmware to determine number of cell slots on a system, and it returns this number to the applications. ( SR:8606171177 CR:JAGad40441 ) Parstatus returns a firmware error (-9) when cabinet details or chassis details are requested from the system because the kernel assumed a static buffer size was returned from a cell details firmware call. The size of this buffer is actually machine dependent. Resolution: The kernel now makes multiple firmware calls to retrieve the firmware information based upon dynamic size fields given by the firmware. It also checks to make sure this information is valid. ( SR:8606181735 CR:JAGad50951 ) Parmgr prematurely exits when receiving a recoverable timeout error from firmware/utilities because the kernel was returning an error which was interpretted as fatal by user applications. Resolution: The kernel will now return an HDC_FIRMBUSY error which the user applications treat as recoverable, allowing software to retry their call. Enhancement: No (superseded patches contained enhancements) PHKL_27757: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606155145 8606170624 8606171173 8606171177 8606181735 8606188297 8606197772 8606202661 8606222999 8606226895 8606244303 8606331684 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libdebug.a(fabric_dbg.o) /usr/conf/lib/libfabric-pdk.a(hd_fabric_cdio.o) /usr/conf/lib/libfabric-pdk.a(hdc_services.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libdebug.a(fabric_dbg.o): fabric_dbg.c $Date: 2002/08/22 09:18:46 $Revision: r 11.11/3 PATCH_11.11 (PHKL_27757) /usr/conf/lib/libfabric-pdk.a(hd_fabric_cdio.o): hd_fabric_cdio.c $Date: 2004/03/03 10:11:53 $Revisio n: r11.11/4 PATCH_11.11 (PHKL_30524) /usr/conf/lib/libfabric-pdk.a(hdc_services.o): hdc_services.c $Date: 2002/09/19 09:44:16 $Revision: r11.11/8 PATCH_11.11 (PHKL_27757) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1873299404 35504 /usr/conf/lib/libdebug.a(fabric_dbg.o) 3956472775 21272 /usr/conf/lib/ libfabric-pdk.a(hd_fabric_cdio.o) 1401461189 81864 /usr/conf/lib/ libfabric-pdk.a(hdc_services.o) Patch Conflicts: None Patch Dependencies: s700: 11.11: PHKL_30523 s800: 11.11: PHKL_30523 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_27757 PHKL_27056 PHKL_24824 PHKL_24219 PHKL_23375 Equivalent Patches: None 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_30524 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30524.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30524. 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_30524.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30524.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30524.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None