Patch Name: PHKL_24281 Patch Description: s700 10.20 IDE/ATAPI cumulative patch Creation Date: 01/06/18 Post Date: 01/07/31 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN OS-Core.KERN-RUN Automatic Reboot?: Yes Status: General Superseded Critical: No (superseded patches were critical) PHKL_19786: PANIC Mitsumi CDROM drives cause the previous versions of IDE/ATAPI driver to panic the kernel. This patch fixes this problem. This patch must be installed before a system with Mitsumi CDROM drive is booted up. Path Name: /hp-ux_patches/s700/10.X/PHKL_24281 Symptoms: PHKL_24281: (SR: 8606198839 CR: JAGad68028) Current IDE capable workstations do not support CD-RW drives. PHKL_22643: (SR: 8606157608 CR: JAGad26939) Diskinfo (1M) coredumps or reports incorrect data for empty CD-ROM drive (e.g. size, bytes per sector fields). PHKL_21855: (SR: 8606107138 CR: JAGab76832) The message "side_if_start(): NOT IMPLEMENTED, scsi cmd: 0x4d" would be logged if diagnostics were run. In addition, several other error messages might occur if there was a very heavy CD-ROM and system load. These messages include "DMA timeout", "Ktimeout on a DMA read", "Failed to set up DMA bus master reg", etc. PHKL_19786: DTS# JAGab72357 SR# 8606104808 This patch provides new functionality to support HP VISUALIZE-fxe graphics. DTS# JAGab11382 dd of a CD using raw device and 8K blocks ends in error. DTS# JAGab12903 mount command hangs on Toshiba CDROM drives. DTS# JAGab72943 SR# 8606105091 Reading more than 64KB in one read command hangs CDROM. DTS# JAGab72940 SR# 8606105090 Mitsumi CDROM drive causes kernel panic on bootup. PHKL_17638: This patch enables new functionality that is part of the 10.20 AC (Additional Core Enhancements) Workstation bundle, and J5000 systems. Defect Description: PHKL_24281: (SR: 8606198839 CR: JAGad68028) The OS needs to be enhanced to support CD-RW drives. Resolution: Support for CD-RW drives has been added to the HP-UX IDE/ATAPI driver. PHKL_22643: (SR: 8606157608 CR: JAGad26939) The IDE driver buffers information. The buffer is not reset when the drive is empty. With a CD in the drive, diskinfo returns the correct capacity information. With no CD in the drive, capacity information comes from the buffered data (e.g. data from the last disk in the drive, if any). Resolution: When the IDE driver detects that there is no media in the drive, the capacity information is set to zero. PHKL_21855: (SR: 8606107138 CR: JAGab76832) Instead of silently ignoring the "log sense" request issued by diagnostics, the IDE driver logged the messages noted. In addition, under some conditions, it is necessary to re-read the IDE registers. The existing driver code to retry the reads was determined to be incomplete, causing the other symptoms noted above. Resolution: The "NOT IMPLEMENTED" message triggered by the "log sense" request from diagnostics will no longer be issued, the existing code to retry register reads was improved to include reading a non-IDE register during the reread loop, and an additional register will now be reread when needed. Note: only workstations with IDE drives need this patch. PHKL_19786: DTS# JAGab72357 SR# 8606104808 New functionality to support HP VISUALIZE-fxe graphics. Resolution: Added the new functionality. DTS# JAGab11382 dd of a CD using raw device and 8K blocks ends in error. Resolution: Fixed the way residual data is calculated at the end of a read. DTS# JAGab12903 mount command hangs on Toshiba CDROM drives. Resolution: Added handling for a check condition on an Inquiry command which is returned by Toshiba upon a media change. This is an unusual case since Inquiry command does not normally return check condition on media change. DTS# JAGab72943 SR# 8606105091 Reading more than 64KB in one read command hangs CDROM. Resolution: This was caused by a limitation in the IDE DMA controller which can not transfer more than 64K in a single transfer. Added code to break single large DMA into multiple smaller ones. DTS# JAGab72940 SR# 8606105090 Mitsumi CDROM drive causes kernel panic on bootup. Resolution: Mitsumi drive breaks the IDE norm of setting the cylinder register to the number of bytes CPU should read for the Inquiry command. There was an arbitrary large number left in the cylinder register which caused CPU to read too much data and cause an overflow. Added code to deal with this oddity. PHKL_17638: New functionality to support the B1000, C3000, and J5000 systems on HP-UX 10.20. Resolution: Add new functionality for IDE/ATAPI CDROM. SR: 4701398263 8606104808 8606107138 8606157608 8606198839 Patch Files: /usr/conf/lib/libhp-ux.a(scsi_ide.o) /usr/conf/master.d/scsi_ide what(1) Output: /usr/conf/lib/libhp-ux.a(scsi_ide.o): scsi_ide.c $Date: 2001/06/15 14:01:56 $ $Revision : 1.2.98.15 $ PATCH_10.20 (PHKL_24281) /usr/conf/master.d/scsi_ide: scsi_ide $Date: 99/09/14 13:49:12 $ $Revision: 1.2.9 8.3 $ PATCH_10.20 (PHKL_19786) cksum(1) Output: 3070633973 72056 /usr/conf/lib/libhp-ux.a(scsi_ide.o) 438190628 5681 /usr/conf/master.d/scsi_ide Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_17638 PHKL_19786 PHKL_21855 PHKL_22643 Equivalent Patches: PHKL_24282: s700: 11.00 PHKL_24283: s700: 11.11 Patch Package Size: 140 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_24281 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_24281.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_24281. 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_24281.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_24281.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None