Patch Name: PHKL_22378 Patch Description: s700 10.20 PC floppy cumulative patch Creation Date: 00/11/16 Post Date: 01/01/09 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_22378: CORRUPTION PHKL_14852: PANIC PHKL_12431: CORRUPTION PHKL_11910: CORRUPTION PHKL_10768: CORRUPTION Path Name: /hp-ux_patches/s700/10.X/PHKL_22378 Symptoms: 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. 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). 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. 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. 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. 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_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. 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. 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. 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. 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. 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): pc_floppy.c $Date: 2000/11/06 15:24:19 $ $Revision: 1.6.98.14 $ PATCH_10.20 (PHKL_22378) cksum(1) Output: 2535752598 32368 /usr/conf/lib/libhp-ux.a(pc_fdc.o) 3555244886 24960 /usr/conf/lib/libhp-ux.a(pc_floppy.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_9011 PHKL_10768 PHKL_11910 PHKL_12431 PHKL_14852 Equivalent Patches: PHKL_22669: s700: 10.01 PHKL_22668: s700: 10.10 PHKL_22377: s700: 11.00 PHKL_22670: s800: 10.01 PHKL_22687: s800: 10.10 PHKL_22379: s800: 10.20 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_22378 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_22378.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_22378. 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_22378.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_22378.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None