Patch Name: PHKL_25602 Patch Description: s700_800 11.11 Fix panic in ccio_alloc_shared_mem Creation Date: 01/11/19 Post Date: 01/11/20 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_25602: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_25602 Symptoms: PHKL_25602: ( SR:8606211197 CR:JAGad80385 ) Panic in ccio_alloc_shared_mem() with messages in syslog reporting that equivalently mapped memory has been exhausted. panic: Data page fault 0x0006d630 (panic+0xa0) 0x000cc3ec (report_trap_or_int_and_panic+0x94) 0x000cdb0c (trap+0x11ec) 0x000e5aa0 (set_protid_registers+0x1bfc) 0x002576a0 (ccio_alloc_shared_mem+0x160) This is only the first six lines of the trace; the remainder may differ depending on the specific failure mode. Defect Description: PHKL_25602: ( SR:8606211197 CR:JAGad80385 ) A device driver was attempting to perform DMA and failed to allocate the necessary memory. This usually happens when the driver is servicing an interrupt, but may also occur during boot. ccio_alloc_shared_mem() assumed that equivalently mapped memory allocation would succeed, causing the calling kernel function to dereference a NULL pointer instead of passing an error to the caller. Resolution: Detect failure and return error to caller. SR: 8606211197 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libio.a(pa_ccio_psm.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libio.a(pa_ccio_psm.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libio.a(pa_ccio_psm.o): pa_ccio_psm.c $Date: 2001/10/30 11:07:35 $Revision: r11.11/1 PATCH_11.11 (PHKL_25602) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libio.a(pa_ccio_psm.o): pa_ccio_psm.c $Date: 2001/10/30 11:07:35 $Revision: r11.11/1 PATCH_11.11 (PHKL_25602) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 3676883712 31924 /usr/conf/lib/libio.a(pa_ccio_psm.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 3129651408 62216 /usr/conf/lib/libio.a(pa_ccio_psm.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_24729: s700: 11.00 s800: 11.00 Patch Package Size: 120 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_25602 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_25602.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_25602. 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_25602.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_25602.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_25602.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None