Patch Name: PHKL_24056 Patch Description: s700_800 11.11 copy is unsafe to or near I/O space Creation Date: 01/06/07 Post Date: 01/08/02 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_24056: MEMORY_LEAK Category Tags: defect_repair general_release critical memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHKL_24056 Symptoms: PHKL_24056: ( SR:8606187849 CR:JAGad57057 ) bcopy, lbcopy, and ulbcopy are unsafe to or near I/O space Defect Description: PHKL_24056: ( SR:8606187849 CR:JAGad57057 ) The prefetching is allowed to roam past the end of the source or destination region. Normally overprefetching is fine, but if the prefetch touches more than it should in I/O space, then it may inadvertantly read a register and change the state of a card. This could cause I/O errors, hangs or HPMCs. Resolution: Copy won't prefetch the next cacheline, if sum of the current address and three cache line, is greater than destination address. bcopy.s, lbcopy.s and ulbcopy.s are modified. SR: 8606187849 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libutil-pdk.a(bcopy.o) /usr/conf/lib/libutil-pdk.a(lbcopy.o) /usr/conf/lib/libutil-pdk.a(ulbcopy.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libutil-pdk.a(bcopy.o) /usr/conf/lib/libutil-pdk.a(lbcopy.o) /usr/conf/lib/libutil-pdk.a(ulbcopy.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libutil-pdk.a(bcopy.o): bcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11.11 /1 PATCH_11.11 (PHKL_24056) /usr/conf/lib/libutil-pdk.a(lbcopy.o): lbcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_24056) /usr/conf/lib/libutil-pdk.a(ulbcopy.o): ulbcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11. 11/1 PATCH_11.11 (PHKL_24056) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libutil-pdk.a(bcopy.o): bcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11.11 /1 PATCH_11.11 (PHKL_24056) /usr/conf/lib/libutil-pdk.a(lbcopy.o): lbcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11.1 1/1 PATCH_11.11 (PHKL_24056) /usr/conf/lib/libutil-pdk.a(ulbcopy.o): ulbcopy.s $Date: 2001/05/22 03:00:29 $Revision: r11. 11/1 PATCH_11.11 (PHKL_24056) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 443723193 4712 /usr/conf/lib/libutil-pdk.a(bcopy.o) 806581337 6188 /usr/conf/lib/libutil-pdk.a(lbcopy.o) 918501488 6544 /usr/conf/lib/libutil-pdk.a(ulbcopy.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1835509410 4640 /usr/conf/lib/libutil-pdk.a(bcopy.o) 3731462091 6064 /usr/conf/lib/libutil-pdk.a(lbcopy.o) 3987486011 6888 /usr/conf/lib/libutil-pdk.a(ulbcopy.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 60 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_24056 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_24056.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_24056. 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_24056.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_24056.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_24056.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None