Patch Name: PHKL_15955 Patch Description: s700_800 11.00 autox0 cumulative patch Creation Date: 98/07/25 Post Date: 98/07/28 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP 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_15955: HANG PHKL_14425: PANIC Category Tags: defect_repair enhancement general_release critical panic halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_15955 Symptoms: PHKL_15955: Problem occurs when a kernel is built with both autox0 and ssrfc in the system file. This causes the bdevsw and cdevsw functions for disc3 the be changed that leads to the failure in vgcreate(lvm), so whenever the boot device uses disc3 driver, the system will be halted in the boot process. PHKL_14425: The system will panic during boot, if a 8X MO autochanger is connected to it. Defect Description: PHKL_15955: In autox0 driver, autox0_install routine replaces cdevsw[177].d_open with autox0_pseudo_copen and replaces bdevsw[28].d_open with autox0_pseudo_bopen. This replacement breaks the assumption of the same routine for raw device and character device. In block_to_raw, it attempts to locate and return the matching raw device for the supplied block device by using above assumption. PHKL_14425: Since the data returned from a 8X drive is at least 14 bytes more than 4X/2X drive, autox0 driver does not allocate enough space to store it and it overwites the kernel's data which causes the system panic. To resolve this, two data structures in autox0.h were changed to have more bytes. SR: 1653265462 4701383463 Patch Files: OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/sio/autox0.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(autox0.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(autox0.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(autox0.o): autox0.c $Date: 1998/07/17 09:45:37 $Revision: r11ro s/4 PATCH_11.00 (PHKL_15955) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(autox0.o): autox0.c $Date: 1998/07/17 09:45:37 $Revision: r11ro s/4 PATCH_11.00 (PHKL_15955) OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/conf/sio/autox0.h: autox0.h $Date: 1998/04/02 16:24:31 $Revision: r11ro s/2 PATCH_11.00 (PHKL_14425) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 2098646545 28960 /usr/conf/lib/libhp-ux.a(autox0.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 740556467 67040 /usr/conf/lib/libhp-ux.a(autox0.o) OS-Core.CORE-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 2504159173 25007 /usr/conf/sio/autox0.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_14425 Equivalent Patches: None 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_15955 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_15955.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_15955. 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_15955.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_15955.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_15955.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_15955.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None