Patch Name: PHKL_21099 Patch Description: s700 10.20 Superio Parallel driver fixes Creation Date: 00/02/18 Post Date: 00/03/06 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: No Path Name: /hp-ux_patches/s700/10.X/PHKL_21099 Symptoms: PHKL_21099: (SR: 8606127257 CR: JAGac68803) On a system with a superio parallel interface, and a valid device driver, but with no cable hooked to the interface, output to the device will have to be aborted. On the first reboot following the abort, disks will fail to be synced, and fsck will run on the file system as the system reboots. (SR: 8606129243 CR: JAGac86789) If an open is attempted on a character device special file which has the same major number as the SCentIf device file (typically /dev/c1t0d0_lp), and whose minor number differs from that of /dev/c1t0d0_lp in only the 2nd hex digit (eg. 0x020002 instead of 0x010002), the system will panic. This would normally require deliberately creating a bad device file. PHKL_17644: This patch enables new functionality that is part of the 10.20 ACE (Additional Core Enhancements) Workstation bundle. It adds new I/O drivers to support the B1000, C3000, and J5000 systems. In particular this patch enables the superio parallel interface. Defect Description: PHKL_21099: (SR: 8606127257 CR: JAGac68803) The defect is that there are paths through the code where spinunlock could be called twice in succession on the same lock. This would leave the processor at a high "SPL" level and effectively block the interrupts needed to sync the disks at reboot time. Resolution: spinunlock statement have been removed or reordered at two places in the code, so that they can only be called once per lock. (SR: 8606129243 CR: JAGac86789) At open time, the dev number is not adequately checked to insure that the device was scanned and claimed, prior to using the data structures for the device, resulting in a NULL dereference which led to the panic. Resolution: A more robust check was implemented in the open routine. NOTE: Both PHKL_21099 and PHKL_17644 (superceded by 20199) require that base SuperIO functionality delivered by the patch PHKL_17645 be present on the system in order for the parallel port to work. PHKL_17644: New functionality to support the B1000, C3000, and J5000 systems on HP-UX 10.20. The parallel interface on these systems can not be used unless this patch is present. Resolution: Add support for the superio parallel interface. SR: 4701398263 8606127257 8606129243 Patch Files: /usr/conf/lib/libpci.a(ecp_isr.o) /usr/conf/lib/libpci.a(ecp_strategy.o) /usr/conf/lib/libpci.a(ecp_utils.o) /usr/conf/lib/libpci.a(superio_centif.o) /usr/conf/master.d/SCentIf what(1) Output: /usr/conf/lib/libpci.a(ecp_isr.o): ecp_isr.c $Date: 2000/02/15 08:09:31 $ $Rev ision: 1.2.98.3 $ PATCH_10.20 (PHKL_21099) /usr/conf/lib/libpci.a(ecp_strategy.o): ecp_strategy.c $Date: 99/04/14 10:01:20 $ $ Revision: 1.2.98.2 $ PATCH_10.20 (PHKL_17644 ) /usr/conf/lib/libpci.a(ecp_utils.o): ecp_utils.c $Date: 2000/02/15 08:09:41 $ $R evision: 1.2.98.3 $ PATCH_10.20 (PHKL_21099) /usr/conf/lib/libpci.a(superio_centif.o): superio_centif.c $Date: 2000/02/15 08:05:22 $ $Revision: 1.2.98.3 $ PATCH_10.20 (PHKL_2 1099) /usr/conf/master.d/SCentIf: SCentIf $Date: 99/04/15 08:09:35 $ $Revision: 1.2.9 8.3 $ PATCH_10.20 (PHKL_17644) SCentIf $Date: 99/04/15 08:09:35 $ $Revision: 1.2.9 8.3 $ PATCH_10.20 (PHKL_17644) cksum(1) Output: 3030389284 5244 /usr/conf/lib/libpci.a(ecp_isr.o) 61408276 4756 /usr/conf/lib/libpci.a(ecp_strategy.o) 3894306462 3404 /usr/conf/lib/libpci.a(ecp_utils.o) 10818753 9432 /usr/conf/lib/libpci.a(superio_centif.o) 1289822159 5577 /usr/conf/master.d/SCentIf Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_17644 Equivalent Patches: None Patch Package Size: 100 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_21099 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_21099.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_21099. 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_21099.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_21099.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None