Patch Name: PHCO_5846 Patch Description: s700_800 10.00 fsck_hfs(1M) patch for possible corruption Creation Date: 95/07/24 Post Date: 95/08/21 Hardware Platforms - OS Releases: s700: 10.00 s800: 10.00 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHCO_5746: OTHER This patch is critical because at boot-up if the root file system is mounted, when it is NOT clean, the fsck procedure in bcheckrc gets a message that the file system is dirty, rather than mounted. This results execution of fsck on the root file system corrupting it. Path Name: /hp-ux_patches/s700_800/10.X/PHCO_5846 Symptoms: PHCO_5846: fsck fails at boot-up. PHCO_5746: corrupt and mounted file systems, primarily root, may be fsck'ed into corruption, at boot-up. PHCO_5323: 10.0 fsck issues error messages: BAD DIRECT ADDRESS, SHOULD BE ZERO: inode.di_db[2] = 1 when encounters a 9.04 hard partition. Defect Description: PHCO_5846: /sbin/fs/hfs/fsck included in PHCO_5746 was dynamically linked. PHCO_5746: The bcheckrc script will invoke "fsck -m" on all file systems to determine if the file system requires a "fsck" or not. Currently, the if a file system is mounted corrupt, using "mount -f", then "fsck -m" will return as "fsck'able" rather than "mounted". This causes a complete fsck to be run on the mounted file system. PHCO_5323: The problem occurs if you take a 9_04 disk and mount it on a 10.0 system, and then run fsck(HFS) on it. To ensure compatibilty of pre-10.0 file systems on 10.0 release, fsck had to work on DUX-encumbered file systems. fsck was changed to handle this, via this patch. SR: 4701287318 4701296129 Patch Files: /sbin/fs/hfs/fsck what(1) Output: /sbin/fs/hfs/fsck: $Revision: 72.34.1.3 $ /usr/lib/libc: $Revision: 72.775 $ PATCH_10_0MR: fsck.o cache.o ufs_tables.o ufs_subr.o hpux_rel.o 95/07/24 cksum(1) Output: 2710058459 192512 /sbin/fs/hfs/fsck Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_5323 PHCO_5746 Equivalent Patches: None Patch Package Size: 240 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_5846 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_5846.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_5846. 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_5846.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: swpackage -s /tmp/PHCO_5846.depot -x \ target_type=tape -d /dev/rmt/0m PHCO_5846 Special Installation Instructions: None