OBSOLETE Patch-ID# 149173-07


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: emlxs driver fp fp.so fp.so.1 cfgadm luxadm liba5k libg_fc
Synopsis: Obsoleted by: 149173-08 SunOS 5.10: emlxs driver patch
Date: Feb/11/2016


Install Requirements: Reboot after installing this patch to activate the changes delivered. An alternative may be specified in the Special Install Instructions.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 149174

Topic: SunOS 5.10: emlxs driver patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
701659015694905
703216315705903
705402015721671
706787915729114
710789615752577
715714415781845
716439115787938
717084515793366
718579715805276
719010015808899
719474115812834
720396115821821
720658215825207
720726915826202
16191161
16478945
16624925
16834515
16834702
16986659
16997979
17005561
17005586
17005729
17039107
17192934
17237643
17277381
17292210
17331148
17475651
17583662
17665578
17798258
17842600
18032040
18077853
18163307
18219808
18477200
18498078
19056341
19181054
19707523
20133911
20421608
20425801
20552776
20855769
20919119
21217352
21294383
21623515
22075315
504691015211070
507676915219575
507900715220328
620106015238467
620451215239616
622385615247102
623495915251711
623588615252063
624752115257082
625095615258406
625095715258407
625948815261592
627420515267333
628596915271805
630934615281048
633626015291737
633965815293213
634770715296736
638488515312602
639508715317273
639767215318764
644437315338216
644588915338882
646393515347483
647503915352486
647615115352983
649461115361696
653472215384166
655194415393851
657210715405139
658433715411942
658828115414088
661444715429285
670656015482842
676641515519506
684892515567981
688535115592066
689345215597964
689995615602595
692961915625407
692962315625411
694326515636069
694844215639981
695046215641562
695107815642071
695398415644372
696028915649108
696404215652086
697322815659523
697546315661381
697923815664398
698068515665613
698291415667462
698299115667535
698492215669083
699982415681263
700195315682961
700845215688474
701382315692848
701497915693689
701803315695932
703064515704905
704514015715798
705967815724702
706786315729097
708756215740010
708756515740013
709986015747689
709986515747693


Changes incorporated in this version: 15752577 16834515 16834702 17475651 20421608 20552776 20855769 21217352 21294383 21623515 22075315

Patches accumulated and obsoleted by this patch: 119470-16 119974-11 125394-01 136784-01 141872-02 142088-03 144112-02 145027-01 145098-04 145953-07 148103-02

Patches which conflict with this patch:

Patches required with this patch: 119130-33 141876-07 144188-02 147143-17 150400-11 (or greater)

Obsoleted by:

Files included with this patch:

/kernel/drv/emlxs.conf
/kernel/drv/sparcv9/emlxs
/kernel/drv/sparcv9/fp
/lib/liba5k.so
/lib/liba5k.so.2
/lib/libg_fc.so
/lib/libg_fc.so.2
/lib/sparcv9/liba5k.so
/lib/sparcv9/liba5k.so.2
/lib/sparcv9/libg_fc.so
/lib/sparcv9/libg_fc.so.2
/usr/lib/cfgadm/fp.so
/usr/lib/cfgadm/fp.so.1
/usr/lib/cfgadm/sparcv9/fp.so
/usr/lib/cfgadm/sparcv9/fp.so.1
/usr/lib/liba5k.so
/usr/lib/liba5k.so.2
/usr/lib/libg_fc.so
/usr/lib/libg_fc.so.2
/usr/lib/locale/C/LC_MESSAGES/a5k_g_fc_i18n_cat
/usr/lib/locale/C/LC_MESSAGES/ibfirmware
/usr/lib/mdb/kvm/sparcv9/emlxs.so
/usr/lib/sparcv9/liba5k.so
/usr/lib/sparcv9/liba5k.so.2
/usr/lib/sparcv9/libg_fc.so
/usr/lib/sparcv9/libg_fc.so.2
/usr/sbin/luxadm

Problem Description:

15752577 emlxs needs to enable scatter-gather DMA on SPARC
16834515 fp_detach should return failure for incorrect op argument
16834702 fp_handle_unsol_plogi should handle unsupported class other than 1 or 2
17475651 luxadm dumps core when di_prop_lookup_strings() fails to return lun_guid
20421608 CID 23288: Resource leak Variable arg5 going out of scope leaks its storage
20552776 CID 20345: use of uninitialized variable
20855769 CID 23681: in emlxs_dfc_manage():UNINIT
21217352 panic occurred in module "emlxs" due to a NULL pointer dereference emlxadm reset
21294383 CID 27755: Unused value rval
21623515 panic during resume phase
22075315 driver update: firmware v2.01a12 for Oracle branded Emulex LPe12002-S FC HBA
 
(from 149173-06)
 
17798258 FC-SRIOV: WARNs after VF destroy: PLOGI to D_ID=0x13200 failed: State:Link Service Reject, Reason:Unable to Perform Command. Giving up
17842600 bad trap panic, emlxs_tx_channel_flush
18163307 suspend and resume of emlxs takes a long time
18477200 VF functions operation on FCoE card when not supported....
18498078 kernel heap corruption panic, emlxs_mem_free
19056341 Ganymede-E: system panic: emlxs:emlxs_read_cfg_region
19181054 memory leaks in emlxs_read_cfg_region function
19707523 console seems hung and services are not running after Solaris boots up
20133911 emlxs driver should be Parfait free
20425801 panic: null pointer in emlxs_mem_put
20919119 panic: null pointer dereference in module "fp": fp_logout+0x40
 
(from 149173-05)
 
15729114 emlxs postinstall scripts must be updated to comply with new driver
 
(from 149173-04)
 
15694905 memory leaks in Emulex driver
15705903 NULL pointer panic in emlxs_fct_pkt_abort_txq()
15825207 hang by hotplugging Emulex card with target mode
15826202 ddi_prop_get_int() called in intr context emlxs_node_throttle_set()
16478945 update embedded firmware for Emulex Pallene-E in emlxs driver to latest 2.01a10
16624925 panic occurred in module "emlxs" due to a NULL pointer dereference
16986659 add support for Fibre Channel SR-IOV to emlxs driver
16997979 FC SRIOV: create VF warnings: kmem_cache_destroy not empty, vmem_destroy leak
17005561 hardware error posted by Ganymede firmware in the middle of heavy I/O
17005586 driver needs to manage DMA buffer pool allocations < 8KB more efficiently
17005729 Ganymede FC: FC SR-IOV - domain panic when max+1 VFs assigned
17039107 CNA ports won't cfgadm configure for LUN visibility when in COMSTAR target mode
17192934 emlxs driver should prevent NPIV for virtual functions
17237643 x3-2b/x4-2b metis-e fmadm error-Fault class:fault.io.pciex.device-invreq
17277381 driver ERROR messages during install are not errors
17292210 FC-SRIOV: failure during emlxs attach leaves PF1 in the INV state
17331148 repeated PCIEX-8000-0A reported even after PCIEX HBA has been replaced twice
17583662 Parfait warning: misaligned memory access in emlxs_dhchap.c
17665578 emlxs_vpi_logi_cmpl_action uses boolean && instead of bitwise &
18032040 BAD TRAP panic in emlxs:emlxs_sli4_unreserve_xri on I/O domain reboot
18077853 NPRD: mutex_enter panic on create-vf on IOVFC.PF1
18219808 definition of ddi_cb_action_t in oce_sw.h needs to be removed
 
(from 149173-03)
 
15721671 _depends_on should be removed from emlxs
15781845 Emulex CNA EM** not detecting DAS devices on SPARC platforms
15787938 COMSTAR panic when running I/O with link reset, also causes data miscompares on remote host
15793366 Ganymede: system panic when port in target mode on link up with direct attach point-to-point back
15805276 Ganymede-E FC EM hotplug unconfigure via cfgadm or push button takes 4 minutes to complete
15808899 Ganymede-E HBA mixed SFPs installed does not post consistent error messaging indicating mismatch
15812834 Ganymede-E fails reboot after Legacy Solaris 11 SAN install FCoE
15821821 update Emulex LPe12000 HBA firmware to 2.01a4
 
(from 149173-02)
 
7087562 add Emulex 16G FC and 10GFCoE CNA PCI device ids in /etc/driver_aliases
7087565 add Emulex 16G FC and 10GFCoE CNA support in the emlxs driver
 
(from 149173-01)
 
        This revision accumulates generic Sustaining patch 145953-07
        into Solaris S10U11 update.
 
(from 145953-07)
 
7008452 Emulex HBA is not automatically updating firmware when emlxs driver is updated
7030645 HP ProLiant DL380 G6 panics in emlxs_mb_init+30() with BAD TRAP: type=e (#pf Page fault)
7059678 crash dump timeout on external fibre device
7067863 warning message is output during Dynamic Reconfiguration operation of Emulex card
7099860 update Emulex LPe12000 HBA firmware to 2.00a4
7099865 add support for the new firmware (Teranetics PHY) on Emulex CNA
 
(from 145953-06)
 
7045140 fix for 7018033 not delivered by 145953-05/145954-05
 
(from 145953-05)
 
7018033 system hang during OPL SB0 DR resume operation at pciex10df,fc40@0,1 (aka emlxs)
 
(from 145953-04)
 
6999824 potential recursive mutex panic in the emlxs driver on FCoE adapters
7013823 recursive mutex_enter panic at emlxs_timer_stop
 
(from 145953-03)
 
7014979 patches from U10 build 7 contain build 6 binaries
 
(from 145953-02)
 
        This revision accumulates generic Sustaining patch 145098-03
        into Solaris S10U10 update.
 
(from 145953-01)
 
        This revision accumulates generic Sustaining patch 145098-02
        into Solaris S10U10 update.
 
(from 145098-04)
 
7014979 patches from U10 build 7 contain build 6 binaries
 
(from 145098-03)
 
6893452 emlxs driver should have maximum lint coverage
6899956 FCoE - add FC side of 2nd generation H/W support in driver_alias file
6929619 emlxs 2.50 driver fails to recognize second-generation FCoE adapters from Emulex
6929623 emlxs 2.50 driver does not handle unsolicited CVL's from the FcoE switch correctly
6943265 invalid kmem_free() in emlxs_dump_drv_region()
6948442 emlxs mixes MSI and FIXED type interrupts
6951078 Emulex driver panic on T2000 system with 2Gb/s HBA
6964042 emlxs driver attach() can avoid reading -1 or 0xffffffff from the HW register
6975463 emlxs driver could use more threads
6979238 integrate 2.00a3 firmware for 8G adapters
6980685 SendRLS failure on FCoE ports
6982914 with a mix of initiator and target modes, DR of emulex HBA's will hang the system
6982991 core dump fails on remote lun via the Emulex FCoE adapter - panic dump timeout
 
(from 145098-02)
 
6950462 Emulex HBA permanently DESTROYED, if firmware upgrade is interrupted
6960289 fiber side of Emulex CNA does not connect to the storage
6973228 cannot download firmware 2.103.x.x on Emulex FCoE HBAs
 
(from 145098-01)
 
        This revision accumulates generic Sustaining patch 145027-01
        into Solaris S10U9 update.
 
(from 145027-01)
 
6953984 oce driver and emlxs driver objects can be delivered in two different patches
 
(from 142088-03)
 
16191161 TPGS/ALUA Unavailable state (NWS10 part)
 
(from 142088-02)
 
	This revision accumulates generic Sustaining patch 119974-11
	into Solaris S10U8 update.
 
(from 142088-01)
 
	This revision accumulates generic Sustaining patch 119974-10
	into Solaris S10U8 update.
 
(from 119974-11)
 
6848925 patch 119974-10 failed to deliver fix for 6706560
6706560 cfgadm unconfigures all devices when the WWN is missing from the ap_id
 
(from 119974-10)
 
        Patch construction issue.  No functional change from revision -09.
 
(from 119974-09)
 
6614447 LUNs from same target could be both capable and incapable of MPxIO
 
(from 119974-08)
 
        This revision accumulates the nws10u4 feature point patch 125394-01.
 
(from 119974-07)
 
        This revision, 119974-07, addresses internal tracking issues with
        patch 119974-06.  Functionally, these two patch revision are
        equivalent except that explicit obsoletion reference to 123498-02
        has been removed.
 
6494611 multiple patches can not obsolete the same patch
 
(from 119974-06)
 
6445889 DR to remove FC-HBA fails if a SAN-connected disk array is broken
 
(from 119974-05)
 
        This revision accumulates nws10u3 feature point patch 123498-02
        by delivering this bugfix:
 
6336260 need to update nws library versioning to include amd64
 
(from 119974-04)
 
6444373 cfgadm can't remove unusable LUN when other LUNs are being used
 
(from 119974-03)
 
6347707 dbx dies when processing some 64-bit objects
 
(from 119974-02)
 
6223856 with PRISM installed, "cfgadm" cmd hangs
 
(from 119974-01)
 
6259488 memory leak in function get_report_lun_data() in libfp.so.1
 
(from 125394-01)
 
6463935 cfgadm failed to unconfigure LUNs if remain paths from same port with MPxIO
6475039 RCM checking should be per LUN in cfgadm -c unconfigure, in case MPxIO
6476151 cfgadm should not do RCM operations repeatedly on LUNs for same vhci
 
(from 148103-02)
 
6984922 running luxadm fcode -p seems to succeed but returns non-zero return code
 
(from 148103-01)
 
        This revision accumulates generic Sustaining patch 144112-02
        into Solaris S10U11 update.
 
(from 144112-02)
 
7001953 fix for 6885351 breaks my_devfs_path() and causes luxadm probe to dump core
 
(from 144112-01)
 
        This revision accumulates generic Sustaining patch 141872-02
        into Solaris S10U9 update.
 
(from 141872-02)
 
6885351 after installing 139555-08 on an M9000 system, "luxadm probe" fails with "Error: WWN prop not found"
 
(from 141872-01)
 
	This revision accumulates generic Sustaining patch 119470-16
	into Solaris S10U8 update.
 
(from 119470-16)
 
6766415 Error: Could not get /devices path to FC100/P,ISP2200, ISP23xx Cards on sun4v
 
(from 119470-15)
 
6572107 luxadm probe fails to show device-type correctly after the loss of primary path in mpxio
 
(from 119470-14)
 
6584337 libHBAAPI library on x86 platform issues read capacity to tapes
 
(from 119470-13)
 
	This revision accumulates NWS Solaris Update S10U5 feature point
        patch 136784-01.
 
(from 119470-12)
 
6551944 luxadm display issues READ_CAPACITY for tape device
 
(from 119470-11)
 
6534722 common.h and processor.h share the same variable name
 
(from 119470-10)
 
        This revision, 119470-10, addresses internal tracking issues
        with patch 119470-09.  Functionally these two patch revisions
        are equivalent except that explicit obsoletion reference to
        123498-02 has been removed.
 
6494611 multiple patches can not obsolete the same patch
 
(from 119470-09)
 
        This revision accumulates NWS Solaris Update S10U3 feature point
        patch 123498-02 by delivering the following bugfixes:
 
6309346 luxadm fcode_download needs to handle non-Sun Fcode already installed
6339658 S10 x64 / x86 - luxadm display shows LUN number in decimal instead of hex
6397672 luxadm reports incorrectly the unformatted capacity (size) of large (>2TB) disks
 
(from 119470-08)
 
6395087 new v490/v890 disk drives require support in luxadm
6384885 luxadm fcode_download doesn't work for Emulex cards on miniroot
5079007 when one path of device removed, luxadm fails to display both paths
 
(from 119470-07)
 
6347707 dbx dies when processing some 64-bit objects
 
(from 119470-06)
 
6285969 change device support macro/table to check for v880 devices only
 
(from 119470-05)
 
6201060 verify usage of strcmp in Leadville
6247521 luxadm dumps core due to NULL pointer dereference
6235886 superfluous source files need removing or fixing
 
(from 119470-04)
 
5046910 luxadm fcode -p on E10K displays no JNI HBA info
6274205 code should accommodate 'w' in SCSI_VHCI_GET_CLIENT_MULTIPATH_INFO results
 
(from 119470-03)
 
6234959 luxadm does not give correct output with LSI storage
 
(from 119470-02)
 
       This revision addresses an internal patch creation issue.
       There are no additional bug fixes delivered.
 
(from 119470-01)
 
6204512 Segmentation Fault when "luxadm display /dev/rdsk/cX*s2" with DAS attached
5076769 need Emulex support in luxadm
6250956 luxadm: emulex_fcode_reader needs to be modified to work with new Emulex fcode
6250957 luxadm: fcode -p core dumps on systems with non-Sun-branded Emulex cards
 
(from 136784-01)
 
6588281 luxadm disp command won't display real serial number as only displays 12 characters


Patch Installation Instructions:
--------------------------------
 
Please refer to the man pages for instructions on using 'patchadd'
and 'patchrm' commands provided with Solaris.
 
The following example installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/123456-07
 
The following example removes a patch from a standalone system:
 
       example# patchrm 123456-07
 
For additional examples please see the appropriate man pages. Any
other special or non-generic installation instructions should be
described below as special instructions.


Special Install Instructions:
-----------------------------
 
NOTE 1:  EMULEX FC DRIVER VERSION 3.0.05 (20150916)
          FIRMWARE VERSIONS:
          LP10000-S: v1.92a1 (td192a1.all)
          LP11000-S: v2.82a4 (bd282a4.all)
          LP11002-S: v2.82a4 (bf282a4.all)
          LPe11000-S: v2.82a4 (zd282a4.all)
          LPe11002-S: v2.82a4 (zf282a4.all)
          LPe12000-S: v2.01a12 (ud201a12.all)
 
         Updating the emlxs driver will no longer automatically update
         the HBA firmware on Oracle-branded HBAs.
 
         N.B.: HBA firmware upgrades on Emulex HBAs NOT sourced from
         Oracle must always be done manually.  Please contact your HBA
         vendor for the proper steps to upgrade firmware on non-Oracle
         Emulex HBAs.
 
         If an HBA firmware update is required on an Oracle-branded
         HBA, a WARNING message will be placed in the /var/adm/messages
         file, and the update will then need to be initiated via a few
         manual steps:
 
         1. Install this patch
         2. Reboot
         3. Check for the presence of the following WARNING in the
            /var/adm/messages file from the emlxs driver:
 
            "Firmware update required. (A manual HBA reset or link
            reset (using luxadm or fcadm) is required.)"
 
         If found, this message is stating that the emlxs driver has
         determined that the firmware kernel component needs to be
         updated.  To perform this update, execute 'luxadm -e forcelip'
         against each emlxs instance that reports the message.
 
         This procedure, while disruptive, will ensure that both driver
         and firmware are current.
 
         The 'luxadm -e forcelip' will temporarily disrupt I/O on the
         port.  The disruption and firmware upgrade takes approximately
         30-60 seconds to complete.
 
         A reboot is not strictly necessary to begin using the new
         firmware.  But the 'fcinfo hba-port' command may still report
         the old firmware version.  This is only a reporting defect
         that does not affect firmware operation and will be corrected
         in a later version of fcinfo.  To correct the version shown by
         fcinfo, a second reboot is necessary.  On systems capable of
         DR, you can perform dynamic reconfiguration on the HBA (via
         cfgadm unconfigure/configure) instead of rebooting.
 
NOTE 2:  To get the complete feature delivered by enhancement request
         16191161 (TPGS/ALUA Unavailable state (NWS10 part)), please
         also install the following patch:
 
         148888-02 (or greater)  kernel patch


README -- Last modified date: Wednesday, September 14, 2016