Patch-ID# 111095-13 Keywords: fctl fp fcp Synopsis: SunOS 5.8: fctl/fp/fcp/usoc driver patch Date: Mar/31/2003 Install Requirements: None Solaris Release: 8 SunOS Release: 5.8 Unbundled Product: Unbundled Release: Xref: Topic: SunOS 5.8: fctl/fp/fcp/usoc driver patch NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: sparc 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 4357644 4358973 4363620 4364099 4368105 4368384 4372083 4372479 4372763 4373469 4373730 4374868 4377565 4377643 4383009 4397078 4401529 4405574 4407405 4410561 4414946 4414960 4415297 4415501 4416837 4416838 4416839 4417145 4418335 4418840 4421432 4422730 4431109 4432597 4433414 4438431 4438443 4438556 4449836 4458568 4459280 4459701 4459736 4460055 4460668 4462307 4465158 4467738 4471298 4472230 4476440 4479865 4485009 4487050 4502274 4504663 4510923 4519677 4520718 4529255 4545906 4548899 4621144 4626079 4628058 4644297 4647520 4648206 4653098 4658433 4661573 4662369 4662998 4663093 4663724 4665254 4675712 4676841 4677879 4678075 4678623 4684774 4697281 4716634 4723080 4727209 4728016 4737849 4738976 4739888 4740240 4742400 4743778 4746497 4752477 4754642 4761148 4762633 4762768 4768741 4773673 4774466 4774692 4776534 4779856 4793134 4797951 4804256 4807495 4810612 4818350 4818820 4820760 4821382 4822119 4826497 4826599 Changes incorporated in this version: 4529255 4644297 4647520 4648206 4662369 4678623 4684774 4716634 4723080 4727209 4738976 4739888 4740240 4742400 4746497 4752477 4754642 4761148 4762633 4762768 4768741 4773673 4774466 4774692 4776534 4779856 4793134 4797951 4804256 4807495 4810612 4818350 4818820 4820760 4821382 4822119 4826497 4826599 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: 108982-10 (or newer) Patches required with this patch: 108982-09 111412-11 or greater 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/fc_version.h /usr/include/sys/fibre-channel/fca/usocio.h /usr/include/sys/fibre-channel/fca/usocvar.h /usr/include/sys/fibre-channel/fcio.h /usr/include/sys/fibre-channel/impl/fc_error.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/fcgs2.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/fc_port_clist /usr/lib/adb/fca_tran /usr/lib/adb/fcp_cmd /usr/lib/adb/fp_cmd /usr/lib/adb/port_device /usr/lib/adb/port_id /usr/lib/adb/sparcv9/fc_packet /usr/lib/adb/sparcv9/fc_port /usr/lib/adb/sparcv9/fc_port_clist /usr/lib/adb/sparcv9/fca_tran /usr/lib/adb/sparcv9/fcp_cmd /usr/lib/adb/sparcv9/fp_cmd /usr/lib/adb/sparcv9/port_device /usr/lib/adb/sparcv9/port_id /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/unsolicited_buffer /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/unsolicited_buffer /usr/lib/adb/usoc_pkt_priv Problem Description: 4529255 assertion failed in condvar.c during disconnecting pci card/buses. 4644297 Add support for RNID ELS 4647520 Mpxio: upon cable pull, i/o can be seamlessly xfered on other online paths. 4648206 fp: [ID 328307 kern.warning] WARNING: fp(4): Can't shutdown port Failing detach 4662369 fcp panic: ssfcp_watch race condition with ssfcp_handle_port_detach 4678623 fcp: add ioctl to get change count 4684774 Workload, and utilities hang while running failovers ..... 4716634 when fcp is unloaded, ssfcp_watch() may continue to be invoked to spite the user 4723080 fcp hotplug events during MPxIO DR can cause system panic 4727209 Hitachi 9960/Brocade3800: DR attach Ivory SBUS system board results in I/O error 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 4740240 fp:fp_gan_handler panic, NULL ptr deref 4742400 TGT inquiry on a local hba port fails when the hba port is not connected. 4746497 luxadm probe and luxadm display fail when StorADE runs cron job 4752477 cfgadm does not manage medium changer devices properly 4754642 unable to configure FC controller number following DR 4761148 Remove flags from RNID set IOCTL 4762633 Panic in fp_job_handler 4762768 fp:fp_plogi_group panic, mutex_enter: bad mutex 4768741 leadville: enhance leadville driver stack to support fabric boot 4773673 sema_v panic while running SNIA lib 4774466 BAD TRAP: in module "unix" due to a NULL pointer dereference 4774692 Panic in mpxio due to NULL pointer dereferencing. 4776534 BAD TRAP: type 34, panic while doing DR, configure slot 4779856 Transport should handle bogus pd passed by ulp. 4793134 Leadville should be able to receive errored RLS responses 4797951 fcp: ssfcp_watch panic, Deadlock: cycle in blocking chain 4804256 Tape tests fail upon isuing a LIP 4807495 Leadville should be able to receive errored RNID responses 4810612 path did not recover to standby after POC of switch 4818350 panic in fp_iodone 4818820 mpxio autofailback is not working 4820760 Failed to send PRLI to D_ID=10f00 error=Command transport Busy 4821382 Device goes offline on issuing a LIP 4822119 fcp: fcp's handling of large number of luns can cause open failure 4826497 missing devices when booting with LV 6.2.5 4826599 "UNKNOWN, INIT" state in luxadm display command (from 111095-12) 4460668 Leadville does not support untagged devices correctly 4467738 FCIO_GET_TOPOLOGY should not require Exclusive mode open 4628058 fcp: fcp should not hold packet with FLAG_NO_QUEUE set for long time. 4648206 fp: [ID 328307 kern.warning] WARNING: fp(4): Can't shutdown port Failing detach 4661573 Zero or negative response buffer size causes function call to hang 4662998 cfgadm configure reports "Invalid argument" but completes configuration. 4663724 fcp:ioctl FCP_TGT_SEND_SCSI 64-bit version always returns ENOMEM or hangs 4676841 fp:fp_plogi_intr panic 4697281 mutex_panic - leadville 6.0.3 4728016 Lost ABTS takes target offline 4737849 FCP driver hangs on calls thru snia_disco or Topology Reporter 4743778 cfgadm hangs after new qpatches added.... (from 111095-11) 4678075 fcp:ssfcp_send_scsi_ioctl panic (from 111095-10) 4677879 fcp: Inquiry-83 doesn't work in 6.0.1 causing ses devices to disappear (from 111095-09) 4653098 mutex panic in fp:fp_register_login 4663093 fp+qlc: add support for type 3 RSCN 4665254 fcp: PLOGI from fcp is failing with reason ELS is in progress 4675712 fcp: fcp should retry icmds which return with FC_PKT_LOCAL_RJT (from 111095-08) 4548899 TM: Name Server Registration should be done properly for LVL. 4621144 FCP_TGT_SEND_SCSI ioctl returning incorrect lun info when multiple 4626079 fc: fabric devices are instantiated upon discovery 4658433 deadlock in leadville stack causing system hang (from 111095-07) 4415297 Incorrect use of CALLB_CPR_SAFE_END() macro. 4529255 assertion failed in condvar.c during disconnecting pci card/buses. 4545906 Simultaneous lips and luxadm commands cause system to panic (from 111095-06) 4407405 Not writing enough data 4472230 mpxio: Devices behind Crossroads 4250 are not enumerated 4502274 HDS: fcp timeout after LIPs sent to storage array 4504663 fabric device configure fails on boot time with Vicom config 4510923 fcp needs to support scsi_abort entry point for aborting ALL cmds 4519677 fcp: handling purple side cable pulls with multiple paths 4520718 LUNS disappears after removing and adding new volumes (from 111095-05) 4487050 scsi_inquiry hangs when a defective GBIC is installed in E port of local switch (from 111095-04) 4465158 T3B:When T3 configured host port as FL/TL, many unexpected behaviours 4479865 fcp: resume handler code is incomplete for fabric devices 4476440 mpxio enabled and reboot causes long boot hang and 4471298 "Invalid flag: device changed for a non existing target" 4485009 panic, using cfgadm, in module "scsi_vhci" due to a NULL pointer (from 111095-03) 4358973 fp needs to provde support for dynamic node creation through cfgadm 4438556 FC: Avoid confusion through better versioning 4458568 Failed paths do not recover to STANDBY when the failure is corrected 4405574 Need leadville (fp) to pass correct device order from LILP phase 4422730 fp: Needs to guard against D_ID changes in Fabric topology 4462307 Sending a LIP to a fp port causes I/O failure 4460055 panic: mutex_enter: bad mutex 4438431 qlc: Large initiator support problems 4459736 panic[cpu19]/thread=2a100311d40: BAD TRAP: ...n module "fp" due 4459701 "Lun=1 for target=10c8e8 reappeared" error messages while executing 4421432 Tapestry: long delay on list and configure operations 4459280 memory leak in ssfcp_find_existing_node 4432597 panic in ssfcp_online_child() when booting 4431109 SCSI-2 failed reboot testcases: open() failure (T3-PP/SC30/Switch/Crysta 4438443 fcp: failback failures using MPxIO 4401529 Timeout failures on STK 9840FC drives 4449836 system panics when issuing cfgadm -al (from 111095-02) 4374868 leadville loses sense code and qualifier for failed tape commands 4397078 fcp: FC-Tape: not to do PLOGI for FC-Tape on lip recovery (from 111095-01) 4433414 lun 0 resize of A3500FC causes controllers to be marked dead 4416839 FCP: panic in assertion failed: pptr->ssfcp_tmp_cnt > 0; line: 9642 4414946 System Panics, during heavy I/O, without any error injection. 4418840 fp: LINIT handling needs to be fixed 4416837 fp: strengthen error handling for zero WWN and bad NS response cases 4417145 fp: GET ALL NEXT request/response buffers need to be updated 4416838 fp: Bad LIP 3rd and 4th bytes for LINIT; and send LINIT only to loops 4414960 fcp : devices disappears when a port is reset using switch 4415501 fcp: intenal cmd pkt not freed causes boottime hang/commands stuck 4418335 fctl: mutex_enter: bad mutex, lp=757397c0 owner=4038be40 thread=4036fe40 (from 108982-09) 4410561 fcp: lun 0 does not failover 4372479 fcp: delay in interrupt routine. (from 108982-08) 4363620 Host driver is losing T300 devices 4364099 System hang after reconnecting host to FC switch after a zoning reconfiguration 4357644 logical devices not created with qlc and Fcode 1.8 4368105 memory leak from fp_load_ulp_modules 4368384 WARNING: fctl(5): attach failed for FCIP IP/ARP ULP Driver 1.6 4372083 luxadm testsuite exposes qlc2202 patch 915701-01 losing connection to photon 4372763 fcp: report lun should handle error cases properly. 4373469 fcp: failing while onlining devices 4373730 luxadm command returns "Error opening the path." message. 4377565 qlc, fcp, fctl: More fixes for target mode operation 4377643 FCP: Disk PullOut/Insert will result in loss of disk access 4383009 fcp: i/os timeout very slow when disk pulled out while doing i/o. (from 108982-07) 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 disappear 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 T300 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: ---------------------------------------- NOTE 1: Minimum requirement : Solaris 8 Update 4 NOTE 2: 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. 111096-06 (or newer) fcip driver and adb macros patch 111097-12 (or newer) qlc driver and adb macros patch 111412-11 (or newer) mpxio driver patch NOTE 3: 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 4: Reboot the system after installing all the patches. README -- Last modified date: Tuesday, May 20, 2003