Patch Name: PHKL_19202 Patch Description: s700_800 11.00 fsadm panic if extending root on 11.x Creation Date: 99/07/28 Post Date: 99/08/05 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_19202: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_19202 Symptoms: PHKL_19202: SR: 5003461947 DTS: JAGab17359 HPUX 11.0 (32 and 64) panics after extending the root filesystem using fsadm. Defect Description: PHKL_19202: SR: 5003461947 DTS: JAGab17359 HPUX 11.0 (32 and 64) panics after extending the root filesystem using fsadm. The first parameter (vpp) in devtovp_open() is used improperly and that causes a panic. It is correctly passed in as a "struct vnode **", but not dereferenced properly before using it in the "major()" macro which expects a "dev_t". Here is a typical stack trace: panic+0x14 report_trap_or_int_and_panic+0x4c trap+0x7a4 $RDB_trap_patch+0x38 devtovp_open+0x104 vx_resize+0x6d0 vx_aioctl_fullfs+0x114 vx_aioctl_common+0x33c vx_aioctl+0x80 vx_ioctl+0xbc vno_ioctl+0x8c ioctl+0x138 syscall+0x1c8 $syscallrtn+0x0 Resolution: The first parameter (vpp) in devtovp_open() is dereferenced properly before using it in the "major()" macro which expects a dev_t. SR: 5003461947 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vfs_dev.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vfs_dev.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vfs_dev.o): vfs_dev.c $Date: 1999/07/15 07:33:11 $Revision: r11r os/1 PATCH_11.00 (PHKL_19202) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vfs_dev.o): vfs_dev.c $Date: 1999/07/15 07:33:11 $Revision: r11r os/1 PATCH_11.00 (PHKL_19202) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 573792204 5124 /usr/conf/lib/libhp-ux.a(vfs_dev.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 2666432717 12568 /usr/conf/lib/libhp-ux.a(vfs_dev.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None 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_19202 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_19202.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_19202. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_19202.depot 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_19202.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_19202.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_19202.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None