Patch Name: PHKL_21262 Patch Description: s700_800 11.00 SuperIO floppy driver fix Creation Date: 00/03/13 Post Date: 00/03/16 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_21262: PANIC Category Tags: defect_repair hardware_enablement general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_21262 Symptoms: PHKL_21262: ( SR: 8606117742 DTS: JAGac33047 ) Panic on open (eg. diskinfo) when no floppy drive present. The stack trace looks like: panic+0x14 report_trap_or_int_and_panic+0x80 trap+0xdb8 nokgdb+0x8 sfdc_dev_open+0x4c sioflop_open+0x4c call_open_close+0x144 opend+0x128 spec_open+0x78 vns_copen+0x4c vn_open+0x9c copen+0xd0 open+0x3c syscall+0x200 PHKL_20155: ( SR: 8606107507 DTS: JAGab77743 ) This patch enables new functionality, namely the SuperIO floppy drive interface, on B1000, C3000, and J5000 workstations for HP-UX 11.00. Defect Description: PHKL_21262: ( SR: 8606117742 DTS: JAGac33047 ) The open routine allows a class of bad dev numbers to be used. If the dev number is for a device that doesn't exist or hasn't been claimed, then a NULL dereference can result. Resolution: The validation of the dev number was made more robust. PHKL_20155: ( SR: 8606107507 DTS: JAGab77743 ) This patch delivers new functionality to support SuperIO functionality on the B1000, C3000, and J5000 workstations as well as future HP-UX 11.00 workstations which support the SuperIO interface. This patch provides the SuperIO Floppy functionality. The floppy drive on these systems can not be used unless this patch and the core SuperIO patch (PHKL_20152 or its superseding patch) is present. However, if this patch is installed on your system without the core SuperIO patch also being installed, absolutely no change will occur to the system. Resolution: The objects necessary to support this function have been added to the kernel. SR: 8606107507 8606117742 Patch Files: ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/sys/floppy.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(sio_fdc.o) /usr/conf/lib/libhp-ux.a(sio_floppy.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/sioflop what(1) Output: ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/sys/floppy.h: floppy.h $Date: 1999/11/04 09:24:40 $Revision: r11ro s/1 PATCH_11.00 (PHKL_20155) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(sio_fdc.o): sio_fdc.c $Date: 2000/03/10 11:03:27 $Revision: r11r os/2 PATCH_11.00 (PHKL_21262) /usr/conf/lib/libhp-ux.a(sio_floppy.o): sio_floppy.c $Date: 1999/11/04 09:24:40 $Revision: r 11ros/1 PATCH_11.00 (PHKL_20155) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/sioflop: sioflop $Date: 1999/11/04 09:24:40 $Revision: r11ros /1 PATCH_11.00 (PHKL_20155) cksum(1) Output: ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 4195286854 7164 /usr/include/sys/floppy.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3855863942 78552 /usr/conf/lib/libhp-ux.a(sio_fdc.o) 464396874 62856 /usr/conf/lib/libhp-ux.a(sio_floppy.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3037431178 4321 /usr/conf/master.d/sioflop Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_20155 Equivalent Patches: None Patch Package Size: 190 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_21262 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_21262.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_21262. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_21262.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_21262.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_21262.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_21262.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: In order for the SuperIO Floppy driver to function, the core SuperIO patch (PHKL_20152 or its superseding patch) must also be installed on the system. The SuperIO Floppy driver is only required on the B1000, C3000, and J5000 workstations, as well as future HP-UX 11.00 workstations which support the SuperIO interface.