Patch Name: PHKL_24065 Patch Description: s700 10.20 Advanced VxFS B.10.20 cumulative patch Creation Date: 01/05/11 Post Date: 01/05/18 Hardware Platforms - OS Releases: s700: 10.20 Products: HP OnLineJFS (Advanced VxFS) B.10.20 Filesets: AdvJournalFS.VXFS-ADV-KRN,B.10.20 OMS.f_fs,A.02.20.00 OMS.f_fs,A.03.00.00 Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_24065: PANIC Path Name: /hp-ux_patches/s700/10.X/PHKL_24065 Symptoms: PHKL_24065: (SR: 8606141470 CR: JAGad10833) Installation of the AdvJFS product after the installation of PHKL_16750 results in an unpatched AdvJFS product. Fixes delivered by PHKL_16750 for AdvJFS are not present. (SR: 8606184204 CR: JAGad53413) A system may panic during and/or after a VxFS filesystem reorganization using fsadm with a Data Page Fault. Stack of panic is given below. panic+0x10 report_trap_or_int_and_panic+0xe8 trap+0xa48 $RDB_trap_patch+0x20 sl_lk_patched_to_branch+0xc vx_sleep_lock+0x70 vx_setfsflags+0x30 vx_markibad+0x30 vx_tranitimes+0x80 vx_trancommit+0x274 vx_reorg_zaprip+0x498 vx_reorg_trunc+0x88 vx_trunc+0x230 vx_attr_iremove+0x3d4 vx_attr_inactive+0x254 vn_rele+0x1e8 vx_replay_iau+0x494 vx_replay+0x318 vx_getfsi+0x1a4 vx_mount_getfsi+0x64 vx_domount+0xac vx_mount+0x2fc smount2+0x43c smount+0x10 PHKL_20355: (SR: 8606107556 CR: JAGab77814) Direct read may fail with error EFAULT. ORACLE EBU is one of the applications affected. PHKL_19529: Installation of the AdvJFS product after the installation of PHKL_16750 results in an unpatched Adv JFS product. Fixes delivered by PHKL_16750 for AdvJFS are not present. Defect Description: PHKL_24065: (SR: 8606141470 CR: JAGad10833) Patches PHKL_19529 and PHKL_20355 does not include vx_dmattr_table.o and customers could not get the latest vx_dmattr_table.o if they install Advanced Online JFS on a system after installing the base patches PHKL_16750. Resolution: Included the latest vx_dmattr_table.o in this patch. (SR: 8606184204 CR: JAGad53413) The panic occurs when the number of VxFS transactions in the transaction list exceeds the length of that list and the adjacent data is being corrupted. Resolution: The code was added to check for the length of a transaction list, and if it grows too long, commit the transaction and start a new one. This will ensure that the list does not grow beyond the memory allocated for it. PHKL_20355: (SR: 8606107556 CR: JAGab77814) vx_dio_iovec() always returns EFAULT when vx_memiolock() fails. Sometimes vx_memiolock() may be interrupted and in that case it returns EINTR. This should be passed to the applications, instead of EFAULT so that they can retry the direct READ. Resolution: Return the error, returned by vx_memiolock(), from vx_dio_iovec(). PHKL_19529: ( SR: 8606101067 CR: JAGab41307 ) When PHKL_16750 is installed, and the AdvJFS project is not yet installed, all the files which would have been delivered for AdvJFS are not. The installed patch is therefore split. At a later time, when AdvJFS is installed in a well patched system, AdvJFS does not have the latest patched files and is exposed to already known and already fixed defects. Trying to reinstall PHKL_16750 at this point can be rather tedious since it involves removing all incremental patches depending on this base patch (PHKL_16750) before this last one can be removed. This is unacceptable. SR: 8606101067 8606107556 8606184204 8606141470 Patch Files: /usr/conf/lib/libdmapi.a(vx_dmattr_table.o) /usr/conf/lib/libvxfs_adv.a(vx_dio.o) /usr/conf/lib/libvxfs_adv.a(vx_dmattr.o) /usr/conf/lib/libvxfs_adv.a(vx_full.o) /usr/conf/lib/libvxfs_adv.a(vx_kdmi.o) /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) /usr/conf/lib/libvxfs_adv.a(vx_sample_dmattr.o) what(1) Output: /usr/conf/lib/libdmapi.a(vx_dmattr_table.o): vx_dmattr_table.c $Date: 2001/05/11 12:26:08 $ $Revi sion: 1.2.98.6 $ PATCH_10.20 (PHKL_24065) /usr/conf/lib/libvxfs_adv.a(vx_dio.o): vx_dio.c $Date: 99/11/02 09:03:12 $ $Revision: 1.7.98.16 $ PATCH_10.20 (PHKL_20355) /usr/conf/lib/libvxfs_adv.a(vx_dmattr.o): vx_dmattr.c $Date: 99/08/13 08:04:37 $ $Revision: 1. 2.98.9 $ PATCH_10.20 (PHKL_19529) /usr/conf/lib/libvxfs_adv.a(vx_full.o): vx_full.c $Date: 99/08/13 08:04:31 $ $Revision: 1.6. 98.10 $ PATCH_10.20 (PHKL_19529) /usr/conf/lib/libvxfs_adv.a(vx_kdmi.o): vx_kdmi.c $Date: 99/08/13 08:04:33 $ $Revision: 1.2. 98.17 $ PATCH_10.20 (PHKL_19529) /usr/conf/lib/libvxfs_adv.a(vx_reorg.o): vx_reorg.c $Date: 2001/05/11 08:32:31 $ $Revision: 1 .6.98.18 $ PATCH_10.20 (PHKL_24065) /usr/conf/lib/libvxfs_adv.a(vx_sample_dmattr.o): vx_sample_dmattr.c $Date: 99/08/13 08:04:23 $ $Revis ion: 1.2.98.10 $ PATCH_10.20 (PHKL_19529) cksum(1) Output: 1466937155 1784 /usr/conf/lib/libdmapi.a(vx_dmattr_table.o) 1140752333 12672 /usr/conf/lib/libvxfs_adv.a(vx_dio.o) 1778829834 2964 /usr/conf/lib/libvxfs_adv.a(vx_dmattr.o) 1961994111 14556 /usr/conf/lib/libvxfs_adv.a(vx_full.o) 627489775 25552 /usr/conf/lib/libvxfs_adv.a(vx_kdmi.o) 3242891784 20916 /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) 3429248940 4592 /usr/conf/lib/ libvxfs_adv.a(vx_sample_dmattr.o) Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_19529 PHKL_20355 Equivalent Patches: PHKL_24066: s800: 10.20 Patch Package Size: 150 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_24065 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_24065.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_24065. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_24065.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_24065.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750. For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.