Patch-ID# 108982-07
Keywords: fctl fp usoc fp inusoc_lfd_done PRLI FC DF_CTL fcp fcal disks ULPs
Synopsis: SunOS 5.8: fctl/fp/fcp/usoc driver patch
Date: Oct/09/2000

Solaris Release: 8

SunOS release: 5.8

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8: fctl/fp/fcp/usoc driver patch

	NOTE:   Refer to Special Install Instructions section for 
                IMPORTANT specific information on this patch.

BugId's fixed with this patch: 4270724 4278408 4291069 4294605 4295939 4298666 4298671 4298676 4298680 4298689 4298693 4298699 4299785 4300516 4300943 4300953 4302739 4303724 4303736 4304902 4305775 4306340 4306737 4319582 4320820 4323071 4324847 4325628 4326575 4326893 4329579 4331095 4331778 4334397 4336589 4336669 4336671 4342072 4342080 4342091 4342847 4343652 4343660 4344776 4344777 4353138 4353873 4353887 4353895 4353900 4353906 4355988 

Changes incorporated in this version: 4270724 4342072 4343660 4344776 4344777 4353138 4353873 4353887 4353895 4353900 4353906 4355988

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch: 109440-01 110189-01 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/kernel/drv/fcp
/kernel/drv/fp
/kernel/drv/sparcv9/fcp
/kernel/drv/sparcv9/fp
/kernel/drv/sparcv9/usoc
/kernel/drv/usoc
/kernel/misc/fctl
/kernel/misc/sparcv9/fctl
/usr/include/sys/fibre-channel/fc_types.h
/usr/include/sys/fibre-channel/fca/usocio.h
/usr/include/sys/fibre-channel/fca/usocvar.h
/usr/include/sys/fibre-channel/impl/fc_fcaif.h
/usr/include/sys/fibre-channel/impl/fc_portif.h
/usr/include/sys/fibre-channel/impl/fc_ulpif.h
/usr/include/sys/fibre-channel/impl/fcph.h
/usr/include/sys/fibre-channel/impl/fctl.h
/usr/include/sys/fibre-channel/impl/fctl_private.h
/usr/include/sys/fibre-channel/impl/fp.h
/usr/include/sys/fibre-channel/ulp/fcp.h
/usr/include/sys/fibre-channel/ulp/fcp_util.h
/usr/include/sys/fibre-channel/ulp/fcpvar.h
/usr/lib/adb/fc_packet
/usr/lib/adb/fc_port
/usr/lib/adb/fca_tran
/usr/lib/adb/fcp_cmd
/usr/lib/adb/sparcv9/fc_packet
/usr/lib/adb/sparcv9/fc_port
/usr/lib/adb/sparcv9/fca_tran
/usr/lib/adb/sparcv9/fcp_cmd
/usr/lib/adb/sparcv9/ssfcp_ipkt
/usr/lib/adb/sparcv9/ssfcp_lun
/usr/lib/adb/sparcv9/ssfcp_pkt
/usr/lib/adb/sparcv9/ssfcp_port
/usr/lib/adb/sparcv9/ssfcp_tgt
/usr/lib/adb/sparcv9/ulp_port_info
/usr/lib/adb/sparcv9/usoc_pkt_priv
/usr/lib/adb/ssfcp_ipkt
/usr/lib/adb/ssfcp_lun
/usr/lib/adb/ssfcp_pkt
/usr/lib/adb/ssfcp_port
/usr/lib/adb/ssfcp_tgt
/usr/lib/adb/ulp_port_info
/usr/lib/adb/usoc_pkt_priv


Problem Description:

        This patch revision was generated to accumulate and obsolete
        the feature changes introduced in point patch 110189-01.

4343660 incomplete read- retrying
4353873 fcp: dynamic target id changes are required for fc-combo when box id changes
4270724 fcp: discover n-LUNs with no limitations
4353906 fcp: ssfcp_hp_daemon() queue should implement FCFS policy
4353900 fcp: ssfcp_find_existing_node() does not check target prop changes
4353895 fcp: child device type 0x0c will result in a PANIC
4353887 fcp driver has to fix the mutex and other minor problems
4355988 fp, fctl, fcp, qlc: Fixes required for target mode operation
4353138 PCI code path more expensive than SBus
4344776 fctl: panic in resume
4344777 fp: failed to suspend
4342072 fctl does blocking allocation from interrupt context

(from 108982-06)

4278408 usoc could do more checking of return from ddi_get_soft_state()
4295939 usoc should support FCIO_DIAG_PORT_ENABLE/FCIO_DIAG_PORT_DISABLE ioctls
4300516 ses devices dissapear when adding more than one path to an array
4303724 memory leak in usoc_lfd_done()
4305775 fp: loopback frame ioctl requested
4326575 leadville driver module versions do not show up in modinfo output
4303736 memory leak in usoc_attach()
4306340 fcp does not support sg driver attach
4343652 SW Workaround: HW bug -  byte hole warning messages with qlogic 2202
4306737 fctl: fctl_wwn_to_str() corrupts stack
4320820 2nd path not getting restored
4325628 creating luns on sonoma attached to hub/switch makes the other module Dead
4326893 new platform with qlc adapter hangs during cpr suspend
4329579 Reset Configuration results in RM6 reporting cntlr as dead with fibre-channel
4331778 Recovering offlined cntrlr via Recovery Guru results in dead cntrlr
4334397 FC switch ports intermittently do not come back online after power failure.
4336589 FC: Fix makestyle warnings
4336669 fp: premature OFFLINE timeout
4336671 fp: Assertion failure panic pd->pd_type != PORT_DEVICE_OLD
4319582 isp 2200 need to support power management

(from 108982-05)

4342091 modunload of fcip hangs forever
4342080 fcip _init and _fini routines return non-standard errnos
4342847 memory leak in fcip:_fini()

(from 108982-04)

	This patch revision was generated to accumulate and obsolete
	the feature changes introduced in point patch 109440-01.

4331095 fcal disks aren't recognized during OS installation time

(from 108982-03)

4324847 fcp does not work with FC sonoma due to Endian sensitive CDB
4300953 ses uscsi not working with qlc driver
4300943 Need completed driver functionality for qlctest SunVTS
4323071 usoc: namespace conflict between usocio.h and socalio.h

(from 108982-02)

4304902 fctl: add support for IP broadcast transport

(from 108982-01)

4291069 fp: Bad Trap with DR disconnect and purple
4299785 fp: mutex_enter: bad mutex
4294605 panic with null ptr in scsi_hba_bus_ctl()
4298693 fp: Fabric improvements under error conditions and misbehaving switches
4302739 fp: Assertion failure in line 3725
4298689 fcp: panic in ssfcp_icmd_callback
4298680 fcp: deadlock in fcp when forcelips happened during DR
4298676 usoc: Run unsolicited buffer free in busy-wait mode
4298666 usoc: panic inusoc_lfd_done
4298671 usoc: Random detach failures.
4298699 Report correct mode of operation in PRLI response

(from 109440-01)

4331095 fcal disks aren't recognized during OS installation time

(from 110189-01)

4343660 incomplete read- retrying
4353873 fcp: dynamic target id changes are required for fc-combo when box id changes
4270724 fcp: discover n-LUNs with no limitations
4353906 fcp: ssfcp_hp_daemon() queue should implement FCFS policy
4353900 fcp: ssfcp_find_existing_node() does not check target prop changes
4353895 fcp: child device type 0x0c will result in a PANIC
4353887 fcp driver has to fix the mutex and other minor problems
4355988 fp, fctl, fcp, qlc: Fixes required for target mode operation
4353138 PCI code path more expensive than SBus
4344776 fctl: panic in resume
4344777 fp: failed to suspend
4342072 fctl does blocking allocation from interrupt context

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-8 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: 
----------------------------- 

Reboot the system after patch installation.

	NOTE 1:	To get the Sun FibreChannel Transport support for the 
                Qlogic PCI driver module and fcip driver modules, one
                needs to install the following new pkgs:

                SUNWfcip (Sun FCIP IP/ARP over FibreChannel Device Driver)
                SUNWfcipx(Sun FCIP IP/ARP over FibreChannel Device Driver 
                                (64 bit))
                SUNWqlc  (Qlogic ISP 2200/2202 Fibre Channel Device Driver)
                SUNWqlcx (Qlogic ISP 2200/2202 Fibre Channel Device Driver
                                (64 bit))

		The following patches need to be installed as well:

		108983-01 (or newer)	fcip adb macros patch
		108984-01 (or newer)    qlc adb macros patch

	NOTE 2: To get the complete fix for the following bugs:

		4342091 modunload of fcip hangs forever
		4342080 fcip _init and _fini routines return non-standard errnos
		4342847 memory leak in fcip:_fini()

		one needs to install 

		108983-03 (or newer)	fcip patch

----------------------------- 

