Patch Name: PHKL_24745 Patch Description: s700_800 11.00 VxFS 31 OnlineJFS cumulative patch Creation Date: 01/07/26 Post Date: 01/07/30 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: HP OnLineJFS (Advanced VxFS) B.11.00 Filesets: AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No (superseded patches were critical) PHKL_22393: HANG PHKL_21941: PANIC PHKL_13203: CORRUPTION Category Tags: defect_repair general_release critical panic halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHKL_24745 Symptoms: PHKL_24745: ( SR: 8606205465 DTS: JAGad74640 ) VxFS updates inode change times of the reorganized files while reorganizing extents (de-fragmenting). This causes incremental backup utilities to backup the reorganized files. PHKL_22393: ( SR: 8606146531 DTS: JAGad15874 ) System hangs while defragmenting a heavily fragmented VxFS filesystem. PHKL_21941: ( SR: 8606139789 DTS: JAGad09101 ) Panic due to memory corruption while mounting VxFS filesystems. Stack of panic thread is given below. panic+0x14 report_trap_or_int_and_panic+0x84 trap+0xd9c nokgdb+0x8 vx_itimes+0x10 vx_tranitimes+0x30 vx_trancommit+0x398 vx_reorg_zaprip+0x308 vx_reorg_trunc+0xb0 vx_trunc+0x8f8 vx_attr_iremove+0x3d4 vx_attr_inactive+0x1c0 vn_rele+0x164 vx_doextop_now+0x90 vx_doextop_iau+0x1c8 vx_doextops+0x168 vx_ag_init+0xd70 vx_attach_fs+0x1b4 vx_domount+0x90 vx_mount+0x22c smount2+0x494 smount+0x14 syscall+0x6f8 $syscallrtn+0x0 PHKL_13203: Users of OnLineJFS (Advanced JFS) might see the time of an inode change when there has been no change to the inode. Users will see this behavior after they have run the reorg option of the fsadm command to reorganize extents (de-fragment) on the inode in question. Defect Description: PHKL_24745: ( SR: 8606205465 DTS: JAGad74640 ) VxFS was updating the inode change times while reorganizing the extents of files. Resolution: Do not update inode change times while reorganizing the extents of files. PHKL_22393: ( SR: 8606146531 DTS: JAGad15874 ) VxFS fsadm was looping inside the kernel trying to grab a log buffer of size greater than 64KB, whereas 64KB is the maximum size possible for log buffers. Resolution: Make sure that the log never gets bigger than the maximum log buffer size possible, while reorganizing the filesystem. PHKL_21941: ( SR: 8606139789 DTS: JAGad09101 ) This memory corruption occurs when VxFS uses an internal table(transaction table) beyond its allocated slots(40). Resolution: Free the slots in the table when the usage approaches its limit and thus ensure the table does not over flow. PHKL_13203: When reorganizing extents (de-fragmenting) with the reorg option of the fsadm command on an inode, the VX_IEREORG extented op is set on the inode. After this transaction has been committed, the inode is unlocked. We run into an assert failure in vx_iunlock that checks that the ICHG flag is not set. This means that the inode could be left marked as changed when it has not changed. Based on this erroneous flag, future operations on the file associated with the inode may mistakenly change the status (e.g. time) of the inode. SR: 4701374603 8606139789 8606146531 8606205465 Patch Files: AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64, v=HP: /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) what(1) Output: AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: /usr/conf/lib/libvxfs_adv.a(vx_reorg.o): vx_reorg.c $Date: 2001/07/24 14:12:24 $Revision: r11 ros/7 PATCH_11.00 (PHKL_24745) AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64, v=HP: /usr/conf/lib/libvxfs_adv.a(vx_reorg.o): vx_reorg.c $Date: 2001/07/24 14:12:24 $Revision: r11 ros/7 PATCH_11.00 (PHKL_24745) cksum(1) Output: AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32, v=HP: 2584803203 22888 /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) AdvJournalFS.VXFS-ADV-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64, v=HP: 1941433844 40168 /usr/conf/lib/libvxfs_adv.a(vx_reorg.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_22393 PHKL_21941 PHKL_13203 Equivalent Patches: None Patch Package Size: 90 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_24745 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_24745.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_24745. 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_24745.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_24745.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_24745.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None