SUSE Support

Here When You Need Us

LPFC FCoE LIP reset with kernel version 3.0.101-0.47.52 stuck and results in rport timeout

This document (7016507) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)

Situation

Hardware:      ProLiant BL460c Gen8

Fibre Channel: Emulex Corporation OneConnect 10Gb FCoE Initiator (be3) (rev 01)
Emulex LightPulse Fibre Channel SCSI driver 8.3.7.10.7p
Firnware 10.2.340.19

Starting with the above kernel, doing a LIP reset, the Fabric Login never completes and the process seems to get stuck. 
This results in the multipath path checker timeout being reached, the paths being failed and finally in the rports being failed and the SCSI devices removed.
Only a reboot restores the removed devices.

Resolution

Set  lpfc_fcf_failover_policy=1 as module option.

Add following line to /etc/modprobe.d/99-local.conf :

options lpfc lpfc_fcf_failover_policy=1

rebuild initrd and reboot the system.

Cause

Likely there's been a different setting for lpfc_fcf_failover_policy active.

E.g. 2 is only for switches that use a priority based FCF policy to load balance logins.

Most switches will only resent 1 or 2 FCFs for the driver to log into and the driver initially will pick the highest priority FCF that is available.
After the initial login, if lpfc_fcf_failover=1 is set it will always check the FCF that it had been logged into and use that first.
When lpfc_fcf_failover is set to 2 the driver will rescan and pick the highest priority FCF available. If the FCF are not all for the same san then you would probably lose access to your original set of luns with lpfc_fcf_failover set to 2. Using '2' here is only meant for rare scenarios and should not be used in general!

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016507
  • Creation Date: 19-May-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.