Patch Name: PHKL_26104 Patch Description: s700_800 11.11 JFS VX_FREEZE timeout does not work Creation Date: 02/02/19 Post Date: 02/02/22 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_26104 Symptoms: PHKL_26104: ( SR:8606222333 CR:JAGad91448 ) If the VX_FREEZE ioctl(2) syscall is called with an invalid timeout value then subsequently called with a proper value the ioctl(2) call does not return for almost two minutes and any other operations (ls, etc) are blocked. Defect Description: PHKL_26104: ( SR:8606222333 CR:JAGad91448 ) If ioctl(.. ,VX_FREEZE, ..) is called with an invalid argument(timeout value) and then is subsequently called with a valid argument, the timeout value doesn't work correctly. The ioctl(2) call will not return for about two minutes and when it does all disk access operations (ls, etc) to the disk are blocked. The failure occurs because the timeout value argument check, in the ioctl(2) call, does not occur early enough in the code path. Resolution: The timeout value argument check was moved ahead of the VX_FREEZE code path. This assures that no code releted to VX_FREEZE is executed until the timeout value has been validated. If an incorrect argument is supplied and error indicating an invalid argument (EINVAL) is returned. SR: 8606222333 Patch Files: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_uioctl.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_uioctl.o) what(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_uioctl.o): vx_uioctl.c $Date: 2002/01/17 07:22:39 $Revision: r1 1.11/1 PATCH_11.11 (PHKL_26104) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_uioctl.o): vx_uioctl.c $Date: 2002/01/17 07:22:39 $Revision: r1 1.11/1 PATCH_11.11 (PHKL_26104) cksum(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 741959080 6528 /usr/conf/lib/libvxfs.a(vx_uioctl.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1857937082 12456 /usr/conf/lib/libvxfs.a(vx_uioctl.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_26103: s700: 11.00 s800: 11.00 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_26104 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_26104.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_26104. 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_26104.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_26104.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_26104.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None