Patch-ID# 119130-32 NOTE: *********************************************************************** READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE. *********************************************************************** Keywords: fibre channel adb macro fcip fcp fcsm fctl fp jfca qlc Synopsis: SunOS 5.10: Sun Fibre Channel Device Drivers Date: Feb/05/2007 Install Requirements: Reboot after installation, an alternative may be in Special Install Instructions Solaris Release: 10 SunOS Release: 5.10 Unbundled Product: Unbundled Release: Xref: Topic: SunOS 5.10: Sun Fibre Channel Device Drivers Relevant Architectures: sparc BugId's fixed with this patch: 4368092 4704353 4792071 4961555 4976582 4998402 5077933 5091288 5091773 5094714 6198588 6205269 6207101 6207184 6207845 6210934 6214931 6215726 6216326 6216743 6220173 6221242 6225769 6227340 6227562 6233352 6233800 6235327 6235886 6238787 6250038 6254848 6258722 6260549 6261607 6270092 6276354 6279071 6279108 6283597 6286318 6288500 6288908 6290618 6292280 6292446 6292987 6295169 6296383 6298259 6298288 6300113 6304555 6306254 6311175 6311314 6313089 6316063 6317420 6317985 6319731 6320936 6321523 6323973 6325525 6326293 6326600 6326602 6326608 6328146 6328827 6329995 6330800 6331949 6337290 6341027 6342934 6343904 6344143 6345310 6346519 6349983 6350809 6355378 6356559 6360849 6361031 6366792 6371273 6373288 6374654 6378014 6378371 6379312 6379866 6379955 6380370 6381878 6381991 6385531 6386247 6387150 6388097 6390139 6390636 6390807 6390817 6390862 6391226 6394475 6395930 6399058 6402322 6402861 6410934 6411995 6418616 6420986 6429517 6430552 6439492 6439910 6442233 6452811 6454469 6459762 6465379 6467850 6468249 6468584 6480827 6484172 6487389 Changes incorporated in this version: 6487389 Patches accumulated and obsoleted by this patch: 119086-05 120342-04 123496-04 Patches which conflict with this patch: Patches required with this patch: 118833-25 (or greater) Obsoleted by: Files included with this patch: /kernel/drv/fp.conf /kernel/drv/jfca.conf /kernel/drv/qlc.conf /kernel/drv/sparcv9/fcip /kernel/drv/sparcv9/fcp /kernel/drv/sparcv9/fcsm /kernel/drv/sparcv9/fp /kernel/drv/sparcv9/jfca /kernel/drv/sparcv9/qlc /kernel/misc/sparcv9/fctl /usr/lib/adb/sparcv9/fc_packet /usr/lib/adb/sparcv9/jfca_dev /usr/lib/adb/sparcv9/jfca_deveng /usr/lib/adb/sparcv9/jfca_devfca /usr/lib/adb/sparcv9/jfca_devfcalib /usr/lib/adb/sparcv9/jfca_drvreg /usr/lib/adb/sparcv9/jfca_eng /usr/lib/adb/sparcv9/jfca_engmod /usr/lib/adb/sparcv9/jfca_fca /usr/lib/adb/sparcv9/jfca_fcalib /usr/lib/adb/sparcv9/jfca_fcalibmod /usr/lib/adb/sparcv9/jfca_fcalibpkg /usr/lib/adb/sparcv9/jfca_fcamod /usr/lib/adb/sparcv9/jfca_fcapkg /usr/lib/adb/sparcv9/jfca_fcpkg /usr/lib/adb/sparcv9/jfca_file /usr/lib/adb/sparcv9/jfca_handle /usr/lib/adb/sparcv9/jfca_hbadma /usr/lib/adb/sparcv9/jfca_hfcapkg /usr/lib/adb/sparcv9/jfca_hfcapkg_next /usr/lib/adb/sparcv9/jfca_hfcapkg_walker /usr/lib/adb/sparcv9/jfca_hpkg /usr/lib/adb/sparcv9/jfca_hpkg_next /usr/lib/adb/sparcv9/jfca_hpkg_walker /usr/lib/adb/sparcv9/jfca_htcb /usr/lib/adb/sparcv9/jfca_htcbdesc /usr/lib/adb/sparcv9/jfca_htcbdesc_next /usr/lib/adb/sparcv9/jfca_htcbdesc_walker /usr/lib/adb/sparcv9/jfca_inst /usr/lib/adb/sparcv9/jfca_lilp /usr/lib/adb/sparcv9/jfca_link /usr/lib/adb/sparcv9/jfca_list /usr/lib/adb/sparcv9/jfca_modinfo /usr/lib/adb/sparcv9/jfca_modreg /usr/lib/adb/sparcv9/jfca_next /usr/lib/adb/sparcv9/jfca_pkg /usr/lib/adb/sparcv9/jfca_pkgoff /usr/lib/adb/sparcv9/jfca_pkgoff2 /usr/lib/adb/sparcv9/jfca_pool /usr/lib/adb/sparcv9/jfca_shim /usr/lib/adb/sparcv9/jfca_state /usr/lib/adb/sparcv9/jfca_sysmem /usr/lib/adb/sparcv9/jfca_task /usr/lib/adb/sparcv9/jfca_tcb /usr/lib/adb/sparcv9/jfca_tcbdesc /usr/lib/adb/sparcv9/jfca_walker /usr/lib/adb/sparcv9/port_device /usr/lib/adb/sparcv9/ssfcp_tgt /usr/lib/mdb/kvm/sparcv9/fcp.so /usr/lib/mdb/kvm/sparcv9/fctl.so /usr/lib/mdb/kvm/sparcv9/qlc.so Problem Description: 6487389 Installation of patch 119130 produces errors in log file (from 119130-31) 6484172 stms-enabled FCAL devices not enumerated under scsi_vhci (from 119130-30) 6480827 system panic: NULL pointer dereference when offlining lun (from 119130-29) 6468584 I/Os become very slow, after FC tape cable reinsertion or offline/online transition 6467850 fcip_rt_update panic BAD TRAP: type=34 during patch installation (from 119130-28) 6465379 child device should be created based on per-Lun flags not per-Port 6468249 host based lun masking allows luns to be masked when invalid lun numbers are listed in fp.conf file (from 119130-27) This revision accumulates the nws10u3 feature point patch 123496-04 and also delivers the following bugfixes: 6452811 MDI-induced panic in fcp_update_offline_flags 6402861 modify fcp to support both old and new mdi locking during transition to new mdi locking interfaces (from 119130-26) 6454469 tape drive becomes unusable after reset 6379955 Leadville (StorEdge network foundation S/W) is not sending a PRLI to the tape device during a recovery sequence (from 119130-25) 5091288 remove/add of 6920 vol results in host seeing previous vols at the same LUN # 6439910 i.qlc class action does not delete comments removed from qlc.conf (from 119130-24) 6381991 REPORT LUN doesn't specify adequate ALLOCATION LENGTH to allow response from more than one LUN from tape 6390862 qlc panic in ql_task_thread+0x660 6439492 link statistics are not reported on QLogic 4GB HBA's 6220173 fcinfo not reporting correct link status/statistics 6321523 remove unnecessary qlc "pci1077,2432" entry from driver_aliases file 6430552 add new Qlogic's native HBA support, qlc "pciex1077,5432" (from 119130-23) 6330800 link statistics are not reported on QLogic 2Gb/s HBAs 6356559 minor nit regarding qlc driver WARNINGs during attach (from 119130-22) 6385531 add host-based LUN masking to Leadville (StorEdge network foundation S/W) (from 119130-21) 6374654 Titan: qlc1 => SunVTS6.1: VTSID 6015 qlctest.loopback.FATAL qlc: "Ten Bit loopback data miscompare 6402322 unable to run qlctest on both ports of dual-port QLogic HBA simultaneously 6371273 LUN numbers greater than 256 are treated differently by 2G and 4G Qlogic HBAs 6411995 qlc should use new interrupt interface only 6394475 stack overflow caused by qlc's use of MAXPATHLEN 6429517 integrate new firmware in qlc driver 6410934 cfgadm -c unconfigure of FC EM panics the system 6387150 qlogic fca driver should keep FCode version in fp_hba_port_attrs.option rom_version 6378014 ssfcp doesn't recover from LOOP OFFLINE in the middle of a suspend/resume cycle 6300113 doing update_drv st does not cause conf to be re-read when mpxio enabled 6326600 SFK should enumerate DTYPE_PROCESSOR type devices 5094714 LUN not offlined when check condition of Logical Unit Not Support is returned 6366792 fcp calls mpxio for non-mpxio LUNs 6388097 fcip networking doesn't work on x86 or on peer host fcip interface using Emulex HBA (from 119130-20) 6390139 qlc driver deadlocks when an ioctl issued and there is outstanding IO 6379866 "panic:recursive mutex_enter" then "panic:panic sync timeout" after cfgadm unconfigure N0.SB0::mem (from 119130-19) 6399058 qlc: MSI support causes panic if patch is installed on Pre-S10 Update 1 (from 119130-18) 6386247 cfgadm -c unconfigure ap_id command does not unconfigure disk devices 6390807 remove superfluous diagnostic output (from 119130-17) This revision accumulates s10u2 feature point patch 120342-04 and also delivers the following bugfixes: 6341027 SAN 4.4.6+ fcp driver returns TRAN_FATAL_ERROR without honoring timers 6380370 class action script i.qlc needs to be modified to take care of qlc.conf changes 6361031 need analysis: Leadville behavior when duplicate entries are in RSCN payload 5077933 cfgadm -al does not "see" the device after HBA & devices zoned together 6329995 qlctest causing the machine to lose access to the boot disk on 2200's boards 6323973 ctfconvert and ctfmerge need to be used to work with mdb ::print command 6331949 qlctest internal loopback test failing 6337290 qlc_delay() can not wait for less than 10 msec 6344143 qlctest: Fails on Online Selftest 6345310 memory leaks seen with qlc driver 6350809 Crystal-2a (SG-PCI2FC-QF2) report incorrect WWN when NVRAM data has CHECKSUM error 6360849 amd64 qlc driver should be compiled with some extra flags to enable good stack traces 6328146 qlc driver should use MSI where possible 6373288 qlc driver shouldn't overwrite BIOS initialized value in 'max_read_request_size' 6379312 SAN4.4.8 Unable to perform IP traffic on Crystal+ 1Gb FCIP configured HBA ports (from 119130-16) 6342934 BAD TRAP: type=e (#pf Page fault) panic during switch resets fault with IOs 6306254 qlctest fails with qlctest.get_port_info.FATAL message (from 119130-15) Rev15 for internal use only. (from 119130-14) 6343904 patches failing to install when upgrading with s10_u1 installer on zones system (from 119130-13) 6313089 SB2000 qlc pm hangs on reboot after installing Solaris 6326293 Summit HBA fails FCP-2 Error Recovery Tests 6328827 Pyramid HBA - SCSI transport failed testing SDLT600 tape drives (from 119130-12) 6325525 mdb needs walkers for fcp port target and LUN structures in s10 6311175 fcinfo remoteport -p $hbaPWWN disrupts I/O 4976582 qlc has minor node but does not implement DDI_INFO_DEVT2INSTANCE getinfo(9E) 6311314 qlc Summit: fcinfo hba-port -l fails 6316063 SCSI transport failed: reason 'tran_err': giving up 6317420 qlc PRISM: unconfigure unusable LUNs on prism results in Ap_Id to be 'unconfigured' on cfgadm -la 6319731 FCSM Traps because of a memory address misalignment (from 119130-11) 6320936 Summit HBA Support, add "pci1077,2432" entry also (from 119130-10) 5091773 system lost lots of disks connected to crystal2A after DR'ing 6250038 qlc: assertion failed: (newq == NULL) || (newq == q), file: src/qlc.c, line: 122 6286318 fcinfo support needs to be added for 4G HBAs in qlc driver 6292446 implement Relax Ordering (RO) in qlc Firmware/Driver 6296383 add "SunFC" in the modinfo string 6298259 kernel heap corruption panic after dynamic LUN addition and issuing cfgadm -la 6298288 Prism HBA speed is not showing correctly, starting from 2.01 driver 6288500 transport always fails to online only one ssd instance (from 119130-09) 6276354 unable to "cfgadm -c unconfigure" successfully when PM is enabled 6279071 fcp watchdog timer can erroneously stop running 6279108 fcp shouldn't call ndi_event_bind_set during PM operations 6235327 dynamic addition of fabric connected storage to s10 b74L2a hosts, SPARC & x86 failed 6292987 turn on qlc driver support for Summit HBAs with ChipID "pciex1077,2432" (from 119130-08) 6288908 transport should handle 8GBit speed code 6235886 superfluous source files need removing or fixing 6295169 reintroduce ctfmerge for SFS kernel modules 6292280 turn on qlc driver support for Pyramid HBAs with ChipID "pci1077,2422" 6216326 TRID not unique, causing FCP-2 error recovery failures for devices supporting command queueing 6270092 qlc driver support for 4G Qlogic HBAs (from 119130-07) This revision accumulates s10u1 feature point patch 119086-05 and also delivers the following bugfixes: 6283597 transport does not handle 4GBit & 10GBit speed codes 6290618 fcp should never call fc_ulp_uninit_packet without having called fc_ulp_init_packet (from 119130-06) 6260549 failure / removal of device hangs I/O (from 119130-05) 6258722 fcp panic handling packets on v40 6227562 bad mutex panic on a switch reset with IOs 6205269 fcinfo hbaport displays the same JNI entry multiple times 6207101 cfgadm -al continues to report controllers as 'failing' after switch power cycle 4368092 qlc: attach function local buffer could overrun 4961555 M2b8: performing Link resets on fp# causes "unknown" loop ID re-assignments 6214931 fcinfo reported PRISM's Supported and Current speed as "unknown" 6215726 Sun Blade 2000 hard hangs after installing latest RE nightly and left overnight 6216743 Qlogic switch does not set correct port type for attached Qlogic HBA on x86 platform 6233352 SUNWqlc/postinstall needs to support low cost HBAs (from 119130-04) 6238787 119130-03 SunOS 5.10: Sun Fibre Channel Device Drivers do not work with Alternate Root (from 119130-03) 6233800 patches 119130-02 119131-02 modify system files in /etc/ which is not allowed in 5.10 zones (from 119130-02) 4998402 qlc SERR/BERR panics with power management 6210934 need to provide support for low cost Qlogic HBAs in nwsc 6227340 qlc QLC_DIAG_ECHO command is not working on x86 platform (from 119130-01) 4792071 fc transport doesn't properly keep track of references to pd structures 6221242 fcsm_alloc_cmd doesn't clean up properly after failure 6207184 memory exhaustion during I/O & cable pull testing (from 119086-05) 6258722 fcp panic handling packets on v40 6261607 fcp driver fails with ddi_dma_buf while exercising multiple fiber-channel ports with Stress I/O 6260549 failure / removal of device hangs I/O 6225769 link resets are causing devices to go offline (from 119086-04) 6254848 E4900 system panics with fp:fp_fciocmd and fp:fp_ioctl messages (from 119086-03) 6227562 bad mutex panic on a switch reset with IOs 6205269 fcinfo hbaport displays the same JNI entry multiple times 4368092 qlc: attach function local buffer could overrun 4961555 M2b8: performing Link resets on fp# causes "unknown" loop ID re-assignments 6214931 fcinfo reported PRISM's Supported and Current speed as "unknown" 6215726 Sun Blade 2000 hard hangs after installing latest RE nightly and left overnight 6216743 Qlogic switch does not set correct port type for attached Qlogic HBA on x86 platform 6207101 cfgadm -al continues to report controllers as 'failing' after switch power cycle (from 119086-02) 4998402 qlc SERR/BERR panics with power management 6210934 need to provide support for low cost Qlogic HBAs in nwsc 6227340 qlc QLC_DIAG_ECHO command is not working on x86 platform (from 119086-01) 6207845 ssfcp_tgt adb macro references invalid structure member 4792071 fc transport doesn't properly keep track of references to pd structures 6221242 fcsm_alloc_cmd doesn't clean up properly after failure 6207184 memory exhaustion during I/O & cable pull testing (from 120342-04) 6378371 remove extraneous (newline) chars from fcp trace buffer 6346519 mpxio pairs off ESI device seen on one channel with disk device (LUN 0) seen on other channel (from 120342-03) 6355378 fcp doesn't tell us it's back (from 120342-02) 6198588 integrate mdb library code to access trace files into nws 6349983 ::ports output is misaligned on amd64 (from 120342-01) Revision skipped official release. Internal dev use only. (from 123496-04) 5091288 remove/add of 6920 vol results in host seeing previous vols at the same lun # 6459762 fcp should use the new mdi_pi_disable_path interface instead of mdi_pi_disable (from 123496-03) 6381878 fcp timeout value needs to be tunable 6420986 fp driver could provide configurable OFFLINE timeout property (from 123496-02) 6304555 target sends Process Logout (PRLO), initiator does not relogin (PLOGI) 6317985 FCP panics when an unsolicited PRLI or PRLO is received 6418616 fcsm debug statement has degenerated 6442233 putback of 6304555 causes warning: no match for tolerance in struct port_device (macro port_device) (from 123496-01) 6390817 need additional mdb walkers for Leadville 6390636 fcptrace, fptrace should tell me what I need and want 6395930 do not use node name as GUID for unknown devices 4704353 questionable code in fcip_proto() 6326602 provide initiator-port related properties 6391226 update fcp to use new interface enable/disable interface 6326608 provide initiator-port related properties Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-10 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- None. README -- Last modified date: Monday, February 5, 2007