Patch Name: PHKL_27504 Patch Description: s700 10.20 IDE/ATAPI cumulative patch Creation Date: 02/07/12 Post Date: 02/08/28 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN OS-Core.KERN-RUN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_27504: ABORT 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_27504 Symptoms: PHKL_27504: (SR: 8606259281 CR: JAGae23599) An HPMC can occur when attempting to boot from a half-height DVD drive on current workstation models (B, C and J class systems). The HPMC is dependent upon timing conditions present during boot and may not occur with all kernels. Changing the configuration of the kernel may eliminate the HPMC. (SR: 8606237066 CR: JAGae06113) An HPMC can occur when attempting to boot from a half-height DVD drive on current workstation models (B, C and J class systems). (SR: 8606251613 CR: JAGae17678) When installing HP-UX from a CD-ROM media using the half- height DVD drive on current workstation models (B, C and J class systems), an error message similar to the following appears: "ERROR: Cannot open source device: /dev/dsk/c0t0d0: Device busy (errno = 16). NOTE: Default (boot) source does not appear to be a valid (or complete) install source, switching source to Network." 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_27504: (SR: 8606259281 CR: JAGae23599) Booting HP-UX from CD-ROM media using the HLDS half-height DVD drive yields a High Priority Machine Check (HPMC). This is caused by an unintended reset on the IDE bus. Resolution: Some configuration of IDE channel 1 is now done before the IDE bus is reset during boot. (SR: 8606237066 CR: JAGae06113) Booting HP-UX from CD-ROM media using the HLDS half-height DVD drive yields a High Priority Machine Check (HPMC). This is caused by the driver's failure to allow enough time for the drive to recover after a hardware reset. Resolution: The driver now waits longer to access the drive following a hardware reset. (SR: 8606251613 CR: JAGae17678) Installing HP-UX from CD-ROM media using the HLDS half-height DVD drive yields a device busy error. This is caused by the driver's failure to allow enough time for the drive to recover after a hardware reset. Resolution: The driver now waits longer to access the drive following a hardware reset. 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 8606259281 8606237066 8606251613 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: 2002/07/10 13:33:22 $ $Revision : 1.2.98.17 $ PATCH_10.20 (PHKL_27504) /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: 1253217268 70900 /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 PHKL_24281 Equivalent Patches: PHKL_27224: s700: 11.00 PHKL_27225: 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_27504 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_27504.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_27504. 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_27504.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_27504.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None