Patch Name: PHCO_16973 Patch Description: s700_800 10.26 trec failure on HFS Creation Date: 98/12/04 Post Date: 98/12/22 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: BLS.BLS-CORE OS-Core.UX-CORE Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_16973 Symptoms: PHCO_16973: The trec command is failing for on an HFS disk with no LVM. When booting, the message is: process_inode: inode number 1865955381 is out of range When prompted to run trec interactively: process_inode: inode number 196937501 is out of range also error Read failed: bad address unable to read file system data block -2147464877, size=8192 at -2199004034048(0x01254c00), offset=-512 Defect Description: PHCO_16973: trec fails on HFS disk - 1GB internal, no LVM. The error message indicated a value out of range. Becaues of this, the disk would not boot automatically and you were supposed to run trec manually. This would fail, but after CTRL-D to exit the shell, the machine would boot and no strange behavior was observed. Resolution: The values that were originally out of range seemed to be things that should have been reconciled by fsck. I first looked through the patch list for fsck, and found one for 11.0 that seemed to address the same problem (PHCO_16703). I ported that patch first, which when run made some changes on the disk during the fsck. But trec was still hosed. So - I finally determined that the call to the lseek64 routine had a parameter that was being interpreted as an int, was supposed to be a 64-bit off_t. SR: 0000000000 Patch Files: /tcb/bin/trec /sbin/fs/hfs/fsck what(1) Output: /tcb/bin/trec: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ seccmd/secpolicy/trec/trec_ufs.c, hpux, hpux_10.26, ic5aj $Date: 98/12/17 16:14:20 $ $Revision: 1.5 PATCH_10.26 (PHCO_16973)$ $Revision: 1.1 seccmd/secpolicy/trec/hpux_rel.c, hpu x, hpux_10.26, ic5aj $ $Revision: Hewlett-Packard 10.26 TOS Level ic5aj Bas e DAV17$$Date: Thu Dec 17 16:39:41 PST 1998$ Internal_Unsupported_Version libc.a_ID@@/main/r10dav /libc_dav/15 /ux/libc/libs/libc/archive_pa1/libc.a_ID Dec 17 1998 21:01:29 /sbin/fs/hfs/fsck: $Revision: Hewlett-Packard 10.26 TOS Level ic5aj Bas e DAV17$$Date: Thu Dec 17 16:39:41 PST 1998$ cmd/fsck/fsck.c, hpux, hpux_10.26, ic5aj $Date: 98/1 2/17 16:07:28 $ $Revision: 1.3 PATCH_10.26 ( PHCO_16973) $ $Revision: 78.5 $ Internal_Unsupported_Version libc.a_ID@@/main/r10dav /libc_dav/15 /ux/libc/libs/libc/archive_pa1/libc.a_ID Dec 17 1998 21:01:29 cksum(1) Output: 3407323590 1121244 /tcb/bin/trec 2800097317 450560 /sbin/fs/hfs/fsck Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 1590 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 PHCO_16973 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_16973.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_16973.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_16973. 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 PHCO_16973.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/PHCO_16973.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None