Patch Name: PHSS_27990 Patch Description: s700_800 11.22 Ultra320 SCSI Patch Creation Date: 03/01/28 Post Date: 03/01/31 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: scsiU320 B.11.22.02 Filesets: scsiU320.SCSIU320-KRN,fr=B.11.22.02,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHSS_27990: PANIC Category Tags: defect_repair general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHSS_27990 Symptoms: PHSS_27990: ( SR:8606281113 CR:JAGae45080 ) The MPT dump driver fails to dump when invoked after a Machine Check Abort that resets the PCI bus. ( SR:8606282001 CR:JAGae45944 ) When the system panics or TOCs, the dump fails and the following message is printed to the console: "ERROR: can't open first dump device. Dump aborted." ( SR:8606282793 CR:JAGae46755 ) MPT's IOSCAN description should use the term Ultra320 rather than Ultra4. ( SR:8606283000 CR:JAGae46955 ) The MPT driver panics when IOs to a bad disk fail. Stack Trace: panic: wait_for_lock: Already owns lock: MPT_HBA Stack Trace: IP Function Name 0xe00000000025c840 wait_for_lock+0x260 0xe00000000075bed0 spinlock+0x90 0xe00000000028eae0 mpt_if_start+0xc0 0xe00000000042aba0 scsi_start_bus_locked+0x640 0xe00000000042b320 scsi_start+0xb0 0xe000000000429910 scsi_cbfn+0x430 0xe00000000028f1e0 mpt_if_start+0x7c0 0xe0000000012ae2b0 invoke_callouts_for_self+0x130 0xe00000000074e020 soft_intr_handler+0x100 0xe000000000249d90 external_interrupt+0x250 0xe00000000074a000 bubbledown 0xe0000000004544f0 idle+0x570 End of Stack Trace Defect Description: PHSS_27990: ( SR:8606281113 CR:JAGae45080 ) The MPT dump driver does not correctly reset its hardware after a Machine Check Abort that causes a PCI bus reset. The dump driver fails when it tries to open the dump device. In addition, it is possible that the firmware will need to be reloaded on the chip. Resolution: The dump driver is modified to reinitialize the Ultra320 SCSI chip after a Machine Check Abort that causes a PCI bus reset. The chip's firmware is downloaded if necessary. ( SR:86062282001 CR:JAGae45944 ) The MPT dump driver does not completely initialize the Ultra 320 SCSI chip, which causes errors when writing to the dump device. Resolution: The Ultra320 SCSI chip is properly initialized. Further, the SCSI bus is reset and a START Unit command is issued to the dump device. This will clear up any SCSI bus hangs and allow the dump to proceed. ( SR:8606282793 CR:JAGae46755 ) The speed description in the ioscan string does not use the correct term. Resolution: The description has been modified to use the correct term. ( SR:8606283000 CR:JAGae46955 ) When IOs to a bad disk fail, the MPT driver tries to acquire a lock which is already held and hence there will be a panic. Resolution: The fix is to temporarily drop the lock during error retry handling, then re-acquire it. Enhancement: No SR: 8606281113 8606282001 8606282793 8606283000 Patch Files: scsiU320.SCSIU320-KRN,fr=B.11.22.02,fa=HP-UX_B.11.22_IA, v=HP: /usr/conf/lib/libmpt.a what(1) Output: scsiU320.SCSIU320-KRN,fr=B.11.22.02,fa=HP-UX_B.11.22_IA, v=HP: /usr/conf/lib/libmpt.a: scsiU320 $Date: Dec 10 2002 19:40:24 $Revision: r11. 22/1 PATCH_11.22 (PHSS_27990) $Revision: libmpt.a: vw: scsi selectors: R11.2 2_BL2002_0923 rsastry_tiger_patch 'r11.22' ' cup_rsastry_tiger_patch' Tue Dec 10 19:41:2 6 PST 2002 $ cksum(1) Output: scsiU320.SCSIU320-KRN,fr=B.11.22.02,fa=HP-UX_B.11.22_IA, v=HP: 2574592368 357792 /usr/conf/lib/libmpt.a Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 370 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 PHSS_27990 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_27990.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_27990. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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 PHSS_27990.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_27990.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_27990.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None