Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 571862

Summary: [Emulex 5.6 feat] Update lpfc driver to version 8.2.0.73.1p and include BE3 asic
Product: Red Hat Enterprise Linux 5 Reporter: laurie barry <laurie.barry>
Component: kernelAssignee: Rob Evers <revers>
Status: CLOSED ERRATA QA Contact: Barry Donahue <bdonahue>
Severity: high Docs Contact:
Priority: high    
Version: 5.6CC: adaora.onyia, andriusb, bugproxy, bzeranski, cward, dhoward, jjarvis, joseph.mann, laurie.barry, martinez, nobody+PNT0273897, plyons, revers, sandy.garza, sbest, tao, vaios.papadimitriou
Target Milestone: rcKeywords: FutureFeature, OtherQA, ZStream
Target Release: 5.6   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 20:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 605816    
Bug Blocks: 460949, 531800, 536863, 557597, 562684, 580439, 580446, 580580, 591674, 600363, 614362, 626562, 655215    
Attachments:
Description Flags
Emulex LPFC 8.2.0.73.1p driver source tarball
none
LPFC 8.2.0.63.3p to 8.2.0.73.1p patch none

Description laurie barry 2010-03-09 18:05:15 UTC
Update Emulex lpfc driver for BE3 Asic in RHEL5.6.  Patch forthcoming.

Comment 1 Andrius Benokraitis 2010-03-09 18:43:07 UTC
*** Bug 562308 has been marked as a duplicate of this bug. ***

Comment 2 laurie barry 2010-03-11 18:07:45 UTC
Emulex's lpfc patch for RHEL5.6 will include a fix for for an AER related issue identified by HP BCS during their testing.  (reference RHE5.5 bugzilla 529244 for details.)

Laurie

Comment 3 Andrius Benokraitis 2010-03-29 16:53:55 UTC
Laurie - I'm assuming .66 or newer is planned for 5.6, correct?

Comment 4 laurie barry 2010-03-29 16:59:14 UTC
Correct, we are up to 8.2.0.71 and will continue to turn for bug fixes up until you say no more.

Comment 5 Joseph Mann 2010-04-08 20:43:52 UTC
Created attachment 405404 [details]
Emulex LPFC 8.2.0.73.1p driver source tarball

Comment 6 Joseph Mann 2010-04-08 20:46:29 UTC
Created attachment 405406 [details]
LPFC 8.2.0.63.3p to 8.2.0.73.1p patch

Patch to update Emulex lpfc driver to 8.2.0.73.1p (applies on top of 8.2.0.63.3p)

These are the changes included in this patch:

* Changed version number to 8.2.0.73.1p
* Fix swapping target's FC ports caused I/O failure due to target
rejecting PLOGI (CR 100464)
* Fix lpfc_get_hba_info to return correct value for max vpi count
* Add OneSecure definitions and hooks
* OneSecure changes for the encryption IOCB special handling
* Correct comment to reflect lpfc_suppress_link_up instead of
lpfc_init_link
* Add lpfc_suppress_link_up parameter and support
* OneSecure changes for IOCB command define values
* Added OneSecure PCI ID
* Make sure driver sets the "FCP Initiator" flag for remote
initiator ports (CR 100554)
* Changed version number to 8.2.0.72
* Reset HBA when UNREG_VPI fail with busy status (CR 100218)
* Fix failure of unreg_vpi mailbox command (CR 100219)
* Fixed hang on link transitions (CR 99675)
* Change mailbox commands to use SLI4 mailbox size instead of
PAGE_SIZE
* Fix UE and other issues seen after HBA resets with I/O (CR 97910)
* Fix crash with els reject data being formed (CR 99991)
* Changed version number to 8.2.0.71
* Rework logical link speed (CR 99148 99149)
* Changed version number to 8.2.0.70
* Add ratov and edtov to the reg_vfi
* Enable NPIV by default
* Prevent log message 1801 during vport delete
* Implement the new logical link speed event (CR 99148 99149)
Changes from 20100301 to 20100316
* Changed version number to 8.2.0.69
* Separate logging New FCF Found and FCF Parameter Modified
messages
* Fix devloss timeout running Hazard with AER error injection every
30-60 seconds (CR 97468)
* Fixed sli4 params read
* Fixed Crash when cable pulled on initiator in same zone (CR 99675
99587)
* Fix driver issue where the driver was unable to discover the
paths of LUNs on physical port of an HBA after uplink failover
on VC-FC module (CR 99120)
* Changed version number to 8.2.0.68
* Fixed driver bug where the driver is unable to discover the paths of vport 
luns on legacy adapter after uplink failover (CR 99070)
* Remove unused variable from lpfc_nodev_tmo_show
* Add logging messages for critical errors (CR 98726)
* Add fixes for Big Endian sli4 support
* Made the FCF related informational log message only logged to
FCoE devices
* Removed fast FCF failover fabric name matching to allow failover
to any fit FCF
* Added fast FCF failover in response to FCF DEAD event on current
FCF record
* Added round robin FCF failover on initial or FCF rediscovery
FLOGI failure
* Fast FCF failover randomly choose from eligible FCF records with
equal probability
* Change sysfs parameter macros to be uint instead of int (CR 98283)
* Made driver SLI4 reporting ulpWord[4] status on aborted iocb same
as SLI3 (CR 98963)
* Fixed SGL leak when XB bit is set (CR 98736)
* Fixed not clearing LPFC_DRIVER_ABORTED bit in aborted FCP
cmdiocb->iocb_flag
* Changed version number to 8.2.0.67
* Fixed memory allocation failure in the read_sparam mailbox
handling (CR 98738)
* Fixed memory allocation issue in lpfc_config_port_post (CR 98739)
* Fixed vport discovery failure after CVL handling
* Fixed IO error code comparison
* Fixed NULL pointer dereference when kernel is out of memory (CR
98587)
* Use asynchronous mailbox command for requesting FCF recovery
* Remove check post request_features for dif support
* Changed version number to 8.2.0.66
* Add FCF failover support
* Added init_vpi mailbox command before re-registering VPI
* Changed version number to 8.2.0.65
* Submit abort WQE to same work queue as the command WQE
* Changed version number to 8.2.0.64
* Add QOS Link Speed info so user can see it (CR 96665)
* Fix sli4 released aborted els cmd's xri (SGL) before HBA's abort
XRI event (CR 97288)
* Support for Nport ID change after Clear Virtual Link (CR 97188)

Comment 7 Beth Zeranski 2010-05-05 20:22:54 UTC
*** Bug 569537 has been marked as a duplicate of this bug. ***

Comment 8 Andrius Benokraitis 2010-05-12 20:29:28 UTC
This bug is now blocking bug 591674, which is a request to update lpfc to 8.2.0.76.1p. Please add yourselves to this bug if you wish.

Comment 9 Rob Evers 2010-06-16 19:45:18 UTC
Please provide upstream commit ids for the following, which appear to be new features:

> * Add OneSecure definitions and hooks
> * OneSecure changes for the encryption IOCB special handling

> * Add lpfc_suppress_link_up parameter and support
> * OneSecure changes for IOCB command define values
> * Added OneSecure PCI ID

> * Add ratov and edtov to the reg_vfi
> * Enable NPIV by default

> * Implement the new logical link speed event (CR 99148 99149)

> * Add FCF failover support

Comment 10 Joseph Mann 2010-06-17 15:22:06 UTC
Rob, here are the upstream submissions these changes were part of.

(In reply to comment #9)
> Please provide upstream commit ids for the following, which appear to be new
> features:
> 
> > * Add OneSecure definitions and hooks
Added in upstream patchset 8.3.2


> > * OneSecure changes for the encryption IOCB special handling
Added in upstream patchset 8.3.10


> > * Add lpfc_suppress_link_up parameter and support
> > * OneSecure changes for IOCB command define values
Added in upstream patchset 8.3.9


> > * Added OneSecure PCI ID
Added in upstream patchset 8.3.6

 
> > * Add ratov and edtov to the reg_vfi
> > * Enable NPIV by default
> 
> > * Implement the new logical link speed event (CR 99148 99149)
> 
> > * Add FCF failover support
Added in upstream patchset 8.3.12

Comment 12 Jarod Wilson 2010-06-18 20:42:51 UTC
Not a fan of the inclusion of the Tausworthe random number generator, and the comment about it being backported from 2.6.33rc7 is misleading. The code is already present in the rhel5 kernel tree at net/core/utils.c, and was moved from there to lib/random32.c upstream in 2.6.19. The better route here is to properly move the Tausworthe bits first, then create this patch atop that change.

Comment 13 Rob Evers 2010-06-18 21:44:18 UTC
@@ -3545,6 +4032,14 @@ lpfc_sli4_driver_resource_setup(struct l
 		return -ENODEV;
 
 	/*
+	 * The random32 apis are back ported from upstream 2.6.33rc7.
+	 * kernel. The apis are available to SLES11 or later, and
+	 * RHEL6 or later distributions.
+	 */ 
+	random32_init();
+	random32_reseed();
+
+

Vaios,

Looked like this is missing in scsi-misc?
Is this an oversight or did I miss something?

Rob

Comment 14 Rob Evers 2010-06-22 20:37:08 UTC
(In reply to comment #13)
> @@ -3545,6 +4032,14 @@ lpfc_sli4_driver_resource_setup(struct l
>    return -ENODEV;
> 
>   /*
> +  * The random32 apis are back ported from upstream 2.6.33rc7.
> +  * kernel. The apis are available to SLES11 or later, and
> +  * RHEL6 or later distributions.
> +  */ 
> + random32_init();
> + random32_reseed();
> +
> +
> 
> Vaios,
> 
> Looked like this is missing in scsi-misc?
> Is this an oversight or did I miss something?
> 
> Rob    

Nevermind, I understand this now.

Comment 17 Jarod Wilson 2010-07-12 15:45:09 UTC
in kernel-2.6.18-206.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 22 John Jarvis 2010-11-18 21:04:57 UTC
This enhancement request was evaluated by the full Red Hat Enterprise Linux 
team for inclusion in a Red Hat Enterprise Linux minor release.   As a 
result of this evaluation, Red Hat has tentatively approved inclusion of 
this feature in the next Red Hat Enterprise Linux Update minor release.   
While it is a goal to include this enhancement in the next minor release 
of Red Hat Enterprise Linux, the enhancement is not yet committed for 
inclusion in the next minor release pending the next phase of actual 
code integration and successful Red Hat and partner testing.

Comment 23 Rob Evers 2010-11-19 12:12:00 UTC
*** Bug 564100 has been marked as a duplicate of this bug. ***

Comment 24 Chris Ward 2010-12-02 15:29:11 UTC
Reminder! There should be a fix present for this BZ in snapshot 3 -- unless otherwise noted in a previous comment.

Please test and update this BZ with test results as soon as possible.

Comment 26 errata-xmlrpc 2011-01-13 20:39:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html