Patch Name: PHKL_23666 Patch Description: s700_800 11.11 SCSI IO Subsystem Cumulative Patch Creation Date: 01/03/30 Post Date: 01/05/07 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair hardware_enablement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_23666 Symptoms: PHKL_23666: ( SR:8606182130 CR:JAGad51346 ) An operating system update from either 10.20 or 11.00 to 11.11 fails during the kernel rebuild. The compilation of conf.c fails with the the following messages: WARNING: Duplicate tunable scsi_max_qdepth found in /usr/conf/master.d/sctl. Ignoring the following entry from /usr/conf/master.d/sctl. scsi_max_qdepth SCSI_MAX_QDEPTH 8 Compiling /stand/build/conf.c... (Bundled) cc: "/usr/conf/space.h.d/scsi_ctl_space.h", line 54: error 1588: "SCSI_MAX_QDEPTH" undefined. (Bundled) cc: "/usr/conf/space.h.d/scsi_ctl_space.h", line 54: error 1521: Incorrect initialization. (Bundled) cc: "/usr/conf/space.h.d/scsi_ctl_space.h", line 54: error 1521: Incorrect initialization. (Bundled) cc: "/usr/conf/space.h.d/scsi_ctl_space.h", line 72: error 1584: Inconsistent type declaration: "scsi_max_qdepth". (Bundled) cc: "/usr/conf/space.h.d/scsi_ctl_space.h", line 72: error 1521: Incorrect initialization. *** Error exit code 1 Defect Description: PHKL_23666: ( SR:8606182130 CR:JAGad51346 ) New files introduced to 10.20 and 11.00 by patches interfere with an update to 11.11. The defect is seen on : 11.00 systems with PHKL_22460 10.20 systems with PHKL_23258 (S700) / PHKL_23259 (S800) or superseding patches. These patches introduced two new files: /usr/conf/master.d/scsi-disk and /usr/conf/space.h.d/scsi-disk.h, needed to define a new tunable (scsi_max_qdepth). 11.11 includes this tunable too, but in different files. When recompiling the kernel, the compiler sees the scsi_max_qdepth symbol defined in two files. It uses the definition found in the first file. The compilation fails because the tunable definition is different (default value does not correspond to the same constant). Resolution: This patch's preinstall script removes the files: /usr/conf/master.d/scsi-disk and /usr/conf/space.h.d/scsi-disk.h, if they exist. When included with the 11.11 operating system during an update, the patch will be applied before the kernel is built thus eliminating the extra definition of the scsi_max_qdepth tunable. SR: 8606182130 Patch Files: OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/master.d/sctl OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/master.d/sctl what(1) Output: OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/master.d/sctl: sctl $Date: 2001/03/19 10:13:31 $Revision: r11.11/1 PATCH_11.11 (PHKL_23666) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/master.d/sctl: sctl $Date: 2001/03/19 10:13:31 $Revision: r11.11/1 PATCH_11.11 (PHKL_23666) cksum(1) Output: OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 3751529188 1931 /usr/conf/master.d/sctl OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 4106962586 1935 /usr/conf/master.d/sctl Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 30 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_23666 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_23666.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_23666. 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_23666.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_23666.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_23666.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_23666.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None