Patch Name: PHKL_18270 Patch Description: s700 10.20 stape cumulative patch Creation Date: 99/04/28 Post Date: 99/06/21 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN ProgSupport.C-INC Automatic Reboot?: Yes Status: General Superseded Critical: Yes PHKL_18270: PANIC Panic has only been seen with a failing DLT tape drive. Path Name: /hp-ux_patches/s700/10.X/PHKL_18270 Symptoms: PHKL_18270: ( SR: 1653284919 DTS: JAGaa51425 ) System may panic in st_head_pos with a faulty DLT drive. This has only been seen to happen with a defective DLT tape drive. ( SR: 4701428383 DTS: JAGab16436 ) Enable DLT 8000 tape drive ( SR: 4701428391 DTS: JAGab16438 ) Sending a "seek to EOD" command to an STK 9840 drive returns EINVAL even though the drive supports the command. PHKL_17336: SR 1653262576: mksf command doesn't recognize density values for STK 9840, STK 9490, STK SD-3, IBM 3590, DDS3, and some of the DLT densities. SR 4701411116: Poor performance with an STK 9840 drive. SR 4701411090: No customer visible symptoms. Driver sends an unnecessary command to the drive. SR 1653251611: If a tape is changed while a process has the device open, no error is reported to the process. Defect Description: PHKL_18270: ( SR: 1653284919 DTS: JAGaa51425 ) An uninitialized sense pointer was being used without being checked. Resolution: Check for NULL before deferencing the sense pointer. ( SR: 4701428383 DTS: JAGab16436 ) Enhancement request to enable DLT 8000 tape drive. Resolution: Add DLT 8000 to drives recognized by driver ( SR: 4701428391 DTS: JAGab16438 ) Seek to EOD" command to an STK 9840 drive was not allowed by the driver. Resolution: Modify the driver to allow the seek to EOD command PHKL_17336: SR 1653262576: Request to add recognition of new device densities. Resolution: Updated code with densities for newer STK and DLT drives. SR 4701411116: The drive identifies itself as a SCSI3 device. The driver was assuming that the drive was SCSI1 and so was not negotiating for wide/fast transfers. Resolution: Changed code to negotiate for fast/wide transfers for SCSI3 devices SR 4701411090: ER to avoid sending a command that we know the device will not handle. Resolution: Changed code to return an EINVAL error in response to a request to write setmarks to a device which is known to not support setmarks. SR 1653251611: The driver would respond to a media change event by retrying the I/O rather than by returning an error. Resolution: Changed code to return an EIO error if the media is changed while the device is open. The error is returned on the next access to the device. SR: 1653251611 1653262576 1653284919 4701411090 4701411108 4701411116 Patch Files: /usr/conf/h/mtio.h /usr/conf/lib/libhp-ux.a(mt_prop.o) /usr/conf/lib/libhp-ux.a(scsi_tape.o) /usr/include/sys/mtio.h what(1) Output: /usr/conf/h/mtio.h: mtio.h $Date: 99/01/12 15:12:56 $ $Revision: 1.24.98 .14 $ PATCH_10.20 (PHKL_17336) /usr/conf/lib/libhp-ux.a(mt_prop.o): mt_prop.c $Date: 99/01/12 10:50:31 $ $Revision: 1.5. 98.5 $ PATCH_10.20 (PHKL_17336) /usr/conf/lib/libhp-ux.a(scsi_tape.o): scsi_tape.c $Date: 99/04/28 14:05:52 $ $Revision: 1. 8.98.24 $ PATCH_10.20 (PHKL_18270) /usr/include/sys/mtio.h: mtio.h $Date: 99/01/12 15:12:56 $ $Revision: 1.24.98 .14 $ PATCH_10.20 (PHKL_17336) cksum(1) Output: 937871051 28476 /usr/conf/h/mtio.h 398647120 15040 /usr/conf/lib/libhp-ux.a(mt_prop.o) 3583396271 68752 /usr/conf/lib/libhp-ux.a(scsi_tape.o) 937871051 28476 /usr/include/sys/mtio.h Patch Conflicts: None Patch Dependencies: s700: 10.20: PHKL_16750 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_17336 Equivalent Patches: PHKL_18271: s800: 10.20 Patch Package Size: 180 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_18270 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_18270.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/PHKL_18270.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/PHKL_18270. 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 PHKL_18270.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/PHKL_18270.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_16750. For successful installation, please ensure that PHKL_16750 is in the same depot with this patch, or PHKL_16750 is already installed.