OBSOLETE Patch-ID# 113042-14

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: qlc isp2200 buffer pci fibrechannel fcode cpr pm
Synopsis: Obsoleted by: 113042-15 SAN 4.4.x: qlc driver patch
Date: Mar/23/2006


Install Requirements: Reboot after installation, an alternative may be in Special Install Instructions                      
                      
Solaris Release: 9

SunOS Release: 5.9

Unbundled Product: SAN

Unbundled Release: 4.4.x

Xref: 

Topic: SAN 4.4.x: qlc driver patch

Relevant Architectures: sparc

BugId's fixed with this patch: 4375320 4384649 4397075 4397830 4399090 4405235 4405824 4412354 4412532 4413629 4415081 4424628 4434939 4438431 4438711 4442639 4447152 4448737 4456545 4457384 4460668 4469140 4479175 4479875 4489852 4495718 4504825 4509254 4509258 4516974 4522113 4523975 4533643 4621477 4624813 4624871 4626053 4629571 4631630 4631634 4636298 4636301 4642666 4644297 4647782 4648558 4652400 4655224 4659750 4660233 4660463 4661572 4662966 4663093 4665443 4665873 4666861 4667228 4667915 4668452 4668524 4670197 4677996 4681860 4689013 4689037 4690043 4709898 4716634 4722971 4723706 4723754 4724994 4730215 4738976 4739888 4741426 4743540 4745439 4746660 4749906 4754077 4754226 4756241 4768672 4794554 4796454 4811430 4812784 4812979 4827269 4830148 4831083 4849510 4853357 4858582 4859926 4868352 4881110 4884279 4890629 4905185 4925218 4994034 5004301 5012482 5090186 5091773 5096982 6270092 6274036 6281203 6295169 6323973 6329995 6331949 6337290 6344143 6345310 6350809 6354920 6380370

Changes incorporated in this version: 6323973 6329995 6331949 6337290 6344143 6345310 6350809 6354920 6380370

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 113048-01

Patches required with this patch: 113039-06 113040-12 113041-08 (or greater)

Obsoleted by: 

Files included with this patch: 

/etc/driver_aliases
/etc/driver_classes
/etc/name_to_major
/kernel/drv/qlc
/kernel/drv/qlc.conf
/kernel/drv/sparcv9/qlc
/usr/include/sys/fibre-channel/fca/qlc.h
/usr/lib/adb/qlc_adapter_stat
/usr/lib/adb/qlc_atio
/usr/lib/adb/qlc_cmd_a32
/usr/lib/adb/qlc_cmd_a64
/usr/lib/adb/qlc_ctio
/usr/lib/adb/qlc_dev
/usr/lib/adb/qlc_device_stat
/usr/lib/adb/qlc_enable_lun
/usr/lib/adb/qlc_head
/usr/lib/adb/qlc_icb
/usr/lib/adb/qlc_imm_notify
/usr/lib/adb/qlc_ip_a32
/usr/lib/adb/qlc_ip_a64
/usr/lib/adb/qlc_ip_icb
/usr/lib/adb/qlc_ip_rcv
/usr/lib/adb/qlc_ip_rcv_cont
/usr/lib/adb/qlc_link
/usr/lib/adb/qlc_mark
/usr/lib/adb/qlc_notify_ack
/usr/lib/adb/qlc_nvram
/usr/lib/adb/qlc_port_db
/usr/lib/adb/qlc_srb
/usr/lib/adb/qlc_state
/usr/lib/adb/qlc_tgt_cmd
/usr/lib/adb/sparcv9/qlc_adapter_stat
/usr/lib/adb/sparcv9/qlc_atio
/usr/lib/adb/sparcv9/qlc_cmd_a32
/usr/lib/adb/sparcv9/qlc_cmd_a64
/usr/lib/adb/sparcv9/qlc_ctio
/usr/lib/adb/sparcv9/qlc_dev
/usr/lib/adb/sparcv9/qlc_device_stat
/usr/lib/adb/sparcv9/qlc_enable_lun
/usr/lib/adb/sparcv9/qlc_head
/usr/lib/adb/sparcv9/qlc_icb
/usr/lib/adb/sparcv9/qlc_imm_notify
/usr/lib/adb/sparcv9/qlc_ip_a32
/usr/lib/adb/sparcv9/qlc_ip_a64
/usr/lib/adb/sparcv9/qlc_ip_icb
/usr/lib/adb/sparcv9/qlc_ip_rcv
/usr/lib/adb/sparcv9/qlc_ip_rcv_cont
/usr/lib/adb/sparcv9/qlc_link
/usr/lib/adb/sparcv9/qlc_mark
/usr/lib/adb/sparcv9/qlc_notify_ack
/usr/lib/adb/sparcv9/qlc_nvram
/usr/lib/adb/sparcv9/qlc_port_db
/usr/lib/adb/sparcv9/qlc_srb
/usr/lib/adb/sparcv9/qlc_state
/usr/lib/adb/sparcv9/qlc_tgt_cmd

Problem Description:

6323973 ctfconvert and ctfmerge needs to be used to work with mdb ::print
	command
6329995 qlctest is causing the machine to loose access to the boot disk on 
	2200's boards
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
6354920 Qlogic needs to provide adb macros for S8 and S9
6380370 Class action script i.qlc need to be modified to take care of 
        qlc.conf changes
 
(from 113042-13)
 
6270092 qlc driver support for 4G Qlogic HBAs
 
(from 113042-12)
 
6274036 qlc f/w might cause data corruption
 
(from 113042-11)
 
5004301 FCIP performance using Qlogic card is not acceptable
5091773 system lost lots of disks connected to crystal2A after DRing
6281203 Intermittent boot panics to encapsulated root disk in V880
6295169 Reintroduce ctfmerge for SFS kernel modules
 
(from 113042-10)
 
5096982 qlc causes incorrect timeout on USCSI commands to multiple LUNs on
	an FC target
 
(from 113042-09)
 
5012482 luxadm rdls can induce 1 second i/o pauses.
 
(from 113042-08)
 
5090186 Change preinstall scripts for SAN patches
 
(from 113042-07)
 
4890629 Add new IOCTLs to improve FC-HBA standards compliance
4994034 qlc.c fails to check FCP_RESID_UNDER or FCP_RESID_OVER before 
	using FCP_RESID
 
(from 113042-06)
 
4905185 Data corruption/loss on HP LTO-2 drives via FC420 bridge
4925218 dr operation fails with qlc driver due to ha->busy > 0
 
(from 113042-05)
 
4647782 qlc: pass port speed in port state
4722971 fcp, qlc: add support for lun reset.
4768672 qlc+fcp: leadville should validate the corrupted residual length.
4811430 Inband communcation incompatibilities between SAN Foundation software 
	and SE3510
4812784 link goes up and down continuously with JNI HBAs in private loop.
4827269 FCP-2 Error Recovery is not functional on 1Gb HBA's using Fabric
	topology
4830148 Qlogic 2300 fw, can't handle multiple Target Resets - IOs can fail.
4831083 HBA goes offline
4849510 Remove SFK internal build numbers from drivers modulde name
4853357 QLC denies valid CT pass thru requests which switch supports
4858582 channel 0 offline after failure and recovery of primary controller
4859926 N_Port ID not specified in RLS ELS
4868352 qlc: enhance FCP-2 recovery to include host side cable pulls
4881110 cfgadm -c unconfigure failed due to qlc detach failure
4884279 bad pointer assignment in qlc leads to panic in kstat
 
(from 113042-04)
 
4644297 Add support for RNID ELS
4677996 "NOTICE: qlc(3): 23xx card detected" is displayed during system boots up
4716634 when fcp is unloaded, ssfcp_watch() may continue to be invoked to spite
	the user
4738976 fcp: Leadville should not enumerate devices with nonzero peripheral
	qualifier
4739888 Handle maximum rsp buffer size as defined in FC-FS for
	the fc_rnid_acc_t struct
4741426 fcip channel is unusable - unable to ping using fcip
4743540 6.1 Qpatches broke qlctest mailbox test
4745439 NWWN gets corrupted
4749906 HBA continually goes offline/online
4754077 sfk patches need pre-install check scripts
4754226 PLOGI to fffffc failed state=Packet Transport error,
	reason=No Connection
4756241 qlc: Received firmware system error (8002)
4794554 Panic seen on system when HBA_SENDRNIDV2 is sent
4796454 sunregtest hangs
4812979 ESM 1.2: Host panic Kernel heap
 
(from 113042-03)
 
4460668 Leadville does not support untagged devices correctly
4516974 sync gives up on devices connected through qlc
4626053 qlc: qlc driver shouldn't retry the pkts with logged out status.
4642666 qlc: invalid ASSERT in qlc_un_init_pkt()
4652400 cfgadm displayed failing condition for ports that have I/O going through
4662966 PANIC in module "qlc" while suspending drivers on copy-rename
4665873 qlc causes misdirected IOs after reset or link transition.
4667228 SanBox2 firmware takes too long to generate FLOGI ACC and provide R_RDY
4668524 Tape test failed with drive not online.
4681860 Qlctest incorrectly fails on 2300 hba connected to 2 gb qlogic switch
4689013 FCP-2 Error Recovery not functional across Link Reset (Fabric)
4689037 SANbox2/99x0/Leadville6.0.2: DEX failed with SCSI transport failed:
	reason 'tran
4709898 qlc fw: task mgmt operations complete before completion of actual xchg
4723706 Tape tests fail upon LIP or link reset
4723754 qlc: tran error folllowing a link reset.
4724994 qlc: System error seen while testing 9840B Tape drives with leadville
4730215 qlc: panic in qlc adisc code path
4746660 qlc: allow loading the entire 512k flash chip for Ivory
 
(from 113042-02)
 
4690043 qlc: provide workaround for t3 returning good status but no data xfer
 
(from 113042-01)
 
4375320 degraded diamond throughput between qlc driver v35 and qlc driver v40.3
4384649 crystal card exhibits poor I/O bandwidth performance
4397075 qlc: PLOGI should not be done for FC-Tape during lip recovery
4397830 ASSERT failure in qlc while running dr tests
4399090 40.6 drivers: SCSI inquiry fails for T3
4405235 qlc: recursive mutex panic in qlc_intr/qlc_isr
4405824 fabric: Cmd to well known address (Mgmt server) failed
4412354 fcip, qlc, fp : Enable fabric mode support for IP over FC
4412532 qlc: Send lip through sansurfer causes TL_port purple luns going offline
4413629 qlc: LINIT failing with mailbox command error
4415081 qlc: reports PKT_SUCCESS with garbage Name server response
4424628 scsi "timeout" and "giving up" on Diamond and Crystal+ cards
4434939 System w/ Onboad ISP2200 controllers have WWN wrong.
4438431 qlc: Large initiator support problems
4438711 T3B/Crystal+/Hub: 1 Crystal+ port failed detecting LUNs w/ FCcable
	hotplug test
4442639 Qlogic 2200 series HBA's need to support ECHO ELS command
4447152 panic in qlc driver
4448737 Duplicate data blocks on tape.
4456545 qlc sometimes stays offline and devices do not show up after boot
4457384 Holding proc_t->p_lock while allocating memory leads to hung 
	clock() & heartbeat
4469140 temporarily set default qlc_enable_pm to 0 (off)
4479175 qlc(0): login fabric port failed D_ID=100ac7, error=5, reason=3
4479875 qlc: Add Ivory related code changes
4489852 qlc: SBUS 220x hba encounters read errors with fc-tape drive
	running "ntrw"
4495718 Qlogic HBA violate FC Spec in regards to EOFni/EOFa/EOFdti
4504825 qlc: 17 sec delay when host cable plug-out and plug-in (fabric)
4509254 qlc: command timeout should be started only when the command is
	posted to fw
4509258 qlc: need messages to dump the discovery process
4522113 qlc: allow streaming transfers for the Ivory card
4523975 Vicom login fabric port failed
4533643 FCP_DL field missing from FCP_CMD frame
4621477 "login fabric port failed D_ID=104400, error=5, reason=4" 
	displayed on console
4624813 qlc: Add support for 2300 series of ctrls
4624871 LIP followed by command retry w/3 Photons with qlc HBA's
4629571 PLOGI fails when no LUN on SE 99x0 are presented to a host
4631630 qlc:2300 corrupts data during read operation
4631634 qlc:2300 multiple tran_err causing IOs to give up
4636298 qlc: 2300 firmware is not able to change from a F to SL on SanBox1
4636301 qlc: 2200 with SanBox2 causes data corruption during I/O+cfgadm
4648558 Solaris 9 qlc_task_daemon burns too much CPU on 15K
4655224 REGRESSION panccpu0]thread=30066d0: pisy-0: PC bus2errors)! 
	at Leadville5d
4659750 qlc: panic in qlc_status_entry
4660233 qlc returns FC_DEVICE_BUSY when ULP tries to broadcast to Name Server
4660463 qlc: add support for 2312 series of controllers
4661572 Data curruption occured with 2200 and 2300 HBA
4663093 fp+qlc: add support for type 3 RSCN
4665443 qlc firmware: 2300 underrun behavior is different from 2200
4666861 Latest fp code breaks qlctest mailbox command
4667915 qlc firmware not sending loop down event
4668452 2Gb firmware reports Exchange Busy
4670197 qlc firmware: data corruption seen on 2200

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-9 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:
----------------------------- 
NOTE 1:	Due to versioning introduced in the drivers, the latest revision
  	of the following patches *MUST* also be installed prior to rebooting
   	the system. Failure to install *ALL* the required patches will
   	cause the drivers to not load.
 
	113039-06 (or newer)	Sun StorEdge Traffic Manager patch
	113040-08 (or newer)	fctl/fp/fcp/usoc driver patch
	113041-06 (or newer)	fcip driver and adb macros patch
 
NOTE 2: This patch requires the package SUNWsan (San Foundation Kit).
 
        The SUNWsan package is available via the Sun Download Center 
        at http://www.sun.com/storage/san/
 
NOTE 3: Reboot the system after installing all the patches.
 
 
!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
This patch, 113042, is not compatible with jfca driver patches 
earlier than 114878-08. 
 
It is strongly recommended that all systems with patch
114878-07 (or earlier) be upgraded to 114878-08 (or later).
 
!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

README -- Last modified date:  Thursday, June 22, 2006

