Patch Name: PHKL_22774 Patch Description: s700 10.24 (VVOS) PC floppy cumulative patch Creation Date: 00/12/08 Post Date: 01/01/09 Hardware Platforms - OS Releases: s700: 10.24 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_22774: CORRUPTION Path Name: /hp-ux_patches/s700/10.X/PHKL_22774 Symptoms: PHKL_22774: Port HP-UX patch PHKL_22378 to VVOS. Based on PHKL_22378: (SR: 8606167324 CR: JAGad36610) During a write to a floppy disk, the potential may exist for the floppy disk controller to incorrectly transfer the last byte of data in a sector if the computer is simultaneously experiencing activity on the I/O bus sufficient to cause a significant delay in the transfer of that byte, but no other byte. Specifically, the next to last byte could be re-written in the place of the last byte. This potential error may not be reported to the user. Based on PHKL_14852: A kernel panic may occur when writing to the block special file to access the pc floppy. This panic can occur on systems where the processor clock speed is greater than or equal to 200MHZ (C200 and C240 systems). Based on PHKL_12431: Under heavy IO bus load, the pc_floppy may corrupt the last byte in the sector being written. This is a very infrequent condition. The last byte of the sector will have the same value as the preceeding byte. Based on PHKL_11910: Under the right conditions of high interrupt load, the first four bytes of a 512 byte transfer could be corrupted. An unrelated change also increases the number of retries performed on read and write requests. This could help successfully read or write data on marginal or defective media. Based on PHKL_10768: Some writes will fail but will not be reported. This can result in unknown data corruption. These types of failures occur on newer workstations with a high load of I/O processes. Based on PHKL_9011: Geometry problem reports that media with 77 tracks has 80 tracks, but you cannot write to tracks 78, 79, and 80. The data loss with the "dd" command only occurs on newest workstations with extreme load of I/O processes. Defect Description: PHKL_22774: Port HP-UX patch PHKL_22378 to VVOS. Based on PHKL_22378: (SR: 8606167324 CR: JAGad36610) It is claimed that a design error exists in certain floppy disk controller technology that creates the potential for data corruption or data loss during the transfer of data to or from a floppy disk or tape device that utilizes a floppy disk controller. Specifically, it is alleged that this potential exists when the floppy disk controller is transferring the last byte of a sector and only if the computer is simultaneously experiencing activity on the I/O bus sufficient to cause a significant delay in the transfer of that byte, but no other byte. HP is unaware of any customer actually experiencing this error. Nevertheless, HP is offering a software patch to customers to eliminate the possibility that their computers could experience such an error. Resolution: The software patch eliminates the possibility that a HP computer could experience the error described above. HP is recommending that customers visit HP's website at http://hp.com/go/fdcpatch or you can call HP's customer Service Center at 1-800-742-9729 in order to determine if HP recommends downloading the patch. Based on PHKL_14852: System panics can occur when PHKL_12431 is installed on C200 and C240 systems. These panics occur when a block special device file (/dev/floppy/) is used to write to the pc floppy. The panic messages and situations can vary, but are nearly always related to kernel routines which use file system buffers. Based on PHKL_12431: The floppy disk controller may not report data underrun errors on some writes. When the error is not reported, the data in the sector is corrupted and the error is not reported to the user application. This error only occurs under heavy IO bus loads. The floppy controller may not return the correct number of result bytes on a read. The driver does not catch that error condition. Also the driver may not determine the correct geometry if a read request fails due to a data overrun condition. Improper geometry would result in data being read/written from/to the wrong part of the media. Based on PHKL_11910: The data in the DMA buffer is not flushed from the data cache to memory before the dma engine fetches it. When that happens, the dma engine will fetch incorrect data from memory. This usually results in four bytes of corrupted data. The corrupted data will begin on a 512 byte boundary. An unrelated change increases the number of re-tries for read and write requests to the floppy. Based on PHKL_10768: The write corruption occurs on PC floppy media during heavy I/O load. The problem occurs when the floppy disk controller (FDC) encounters a data underrun when writing to the floppy disk. The problem does not occur on every data under-run condition and is usually only seen under heavy system load and newer workstations with fast processors. Based on PHKL_9011: Using floppy media with 77 tracks, the ioctl commands will report 80 tracks, but you cannot write to the last tracks. The write corruption occurs on PC floppy media during loop of dd commands and pdc_model calls under heavy I/O load. The problem occurs when the floppy-disk-controller (FDC) enters unknown state during high numbers of interrupts. Problem only found under extreme load conditions on newer workstations with very fast processors. SR: 1653217463 1653222950 4701354852 4701366740 5003321364 8606167324 Patch Files: /usr/conf/lib/libhp-ux.a(pc_fdc.o) /usr/conf/lib/libhp-ux.a(pc_floppy.o) what(1) Output: /usr/conf/lib/libhp-ux.a(pc_fdc.o): pc_fdc.c $Date: 2000/11/07 15:36:15 $ $Revision: 1.5 .98.13 $ PATCH_10.20 (PHKL_22378) /usr/conf/lib/libhp-ux.a(pc_floppy.o): $Source: kern/wsio/pc_floppy.c, hpuxsysio, vvos_davi s, davis172 $ $Date: 00/11/17 15:49:47 $ $Re vision: 1.13 PATCH_11.04 (PHKL_22774) $ cksum(1) Output: 749248667 32568 /usr/conf/lib/libhp-ux.a(pc_fdc.o) 3610830075 25460 /usr/conf/lib/libhp-ux.a(pc_floppy.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_22378: s700: 10.20 PHKL_22379: s800: 10.20 PHKL_22775: s800: 10.24 Patch Package Size: 120 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_22774 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_22774.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_22774. 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_22774.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_22774.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None