[Trusty SRU] patch for "lpfc: iotag is out of range: max iotag"

Bug #1468416 reported by Mauricio Faria de Oliveira
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Medium
Chris J Arges

Bug Description

SRU Justification:

[Impact]

The following issue occurs with the lpfc driver, seen under I/O stress.

> [ 177.972210] lpfc 0000:00:05.0: 0:0369 No entry from fast-path completion
> queue fcpcqid=1
> [ 355.950403] lpfc 0000:00:04.0: 1:0372 iotag x85d is out off range: max
> iotag (xa10)
> [ 421.007268] lpfc 0000:00:04.0: 1:(0):0748 abort handler timed out waiting
> for abortng I/O (xri:xdf7) to complete: ret 0x2003, ID 0, LUN 2
> [ 421.008177] lpfc 0000:00:04.0: 1:(0):0727 TMF FCP_LUN_RESET to TGT 0 LUN
> 2 failed (1, 4096) iocb_flag x6
> [ 421.008309] lpfc 0000:00:04.0: 1:(0):0713 SCSI layer issued Device Reset
> (0, 2) return x2002
> [ 481.017214] lpfc 0000:00:04.0: 1:(0):0724 I/O flush failure for context
> LUN : cnt x1
> [ 481.019292] lpfc 0000:00:04.0: 1:(0):0727 TMF FCP_TARGET_RESET to TGT 0
> LUN 2 failed (1, 4096) iocb_flag x6
> [ 481.019398] lpfc 0000:00:04.0: 1:(0):0723 SCSI layer issued Target Reset
> (0, 2) return x2002
> [ 541.027198] lpfc 0000:00:04.0: 1:(0):0724 I/O flush failure for context
> TGT : cnt x1
> [ 541.029168] lpfc 0000:00:04.0: 1:(0):0727 TMF FCP_TARGET_RESET to TGT 0
> LUN 0 failed (1, 4096) iocb_flag x6
...
> [ 601.037193] lpfc 0000:00:04.0: 1:(0):0724 I/O flush failure for context
> HOST : cnt x1
> [ 601.037291] lpfc 0000:00:04.0: 1:(0):0714 SCSI layer issued Bus Reset
> Data: x2003
> [ 601.037388] lpfc 0000:00:04.0: 1:(0):3172 SCSI layer issued Host Reset
> Data:
> [ 603.560526] lpfc 0000:00:04.0: 1:1303 Link Up Event x1 received Data: x1
> x0 x80 x0 x0 x0 0
> [ 612.687916] sd 2:0:0:0: timing out command, waited 30s
> [ 612.689217] sd 2:0:0:1: timing out command, waited 30s
> [ 612.690407] sd 2:0:0:3: timing out command, waited 30s
> [ 612.694220] sd 2:0:0:4: timing out command, waited 30s
> [ 634.667144] rport-2:0-4: blocked FC remote port time out: removing rport

[Fix]

27f344eb15dd0da80ebec80c7245e8c85043f841 lpfc: Add iotag memory barrier

Tested on top of linux 3.13.0-55.94 (applies cleanly; cherrypick)

[Test Case]
Stress I/O using the lpfc driver.

CVE References

Tim Gardner (timg-tpi)
Changed in linux (Ubuntu):
assignee: nobody → Chris J Arges (arges)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1468416

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Chris J Arges (arges)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
Changed in linux (Ubuntu):
assignee: Chris J Arges (arges) → nobody
Changed in linux (Ubuntu Trusty):
status: New → In Progress
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in linux (Ubuntu Trusty):
importance: Undecided → Medium
Revision history for this message
Chris J Arges (arges) wrote :

Sent to kteam ML.

description: updated
bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-126663 severity-critical targetmilestone-inin14042
Brad Figg (brad-figg)
Changed in linux (Ubuntu Trusty):
status: In Progress → Fix Committed
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification done, the kernel in -proposed solves the problem.
Tag updated.
Thanks!

tags: added: verification-done-trusty
removed: verification-needed-trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.8 KiB)

This bug was fixed in the package linux - 3.13.0-58.97

---------------
linux (3.13.0-58.97) trusty; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1472453

  [ Upstream Kernel Changes ]

  * vm: Fix incomplete backport of VM_FAULT_SIGSEGV handling support
    - LP: #1471892

linux (3.13.0-58.96) trusty; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1471991

  [ Iyappan Subramanian ]

  * SAUCE: (no-up): drivers: net: xgene: fix: Out of order descriptor bytes
    read
    - LP: #1425576

  [ Upstream Kernel Changes ]

  * NVMe: Add shutdown timeout as module parameter.
    - LP: #1465136
  * Drivers: hv: vmbus: Add support for VMBus panic notifier handler
    - LP: #1463584
  * Drivers: hv: vmbus: Correcting truncation error for constant
    HV_CRASH_CTL_CRASH_NOTIFY
    - LP: #1463584
  * netfilter: nf_conntrack: don't release a conntrack with non-zero refcnt
    - LP: #1466135
  * lpfc: Add iotag memory barrier
    - LP: #1468416
  * mm/slab_common: support the slub_debug boot option on specific object
    size
    - LP: #1456952
  * pipe: iovec: Fix memory corruption when retrying atomic copy as
    non-atomic
    - CVE-2015-1805
  * kvm: x86: fix kvm_apic_has_events to check for NULL pointer
  * staging, rtl8192e, LLVMLinux: Change extern inline to static inline
    - LP: #1471233
  * kernel: use the gnu89 standard explicitly
    - LP: #1471233
  * staging, rtl8192e, LLVMLinux: Remove unused inline prototype
    - LP: #1471233
  * staging: rtl8712, rtl8712: avoid lots of build warnings
    - LP: #1471233
  * qla2xxx: remove redundant declaration in 'qla_gbl.h'
    - LP: #1471233
  * staging: wlags49_h2: fix extern inline functions
    - LP: #1471233
  * ARM: 8307/1: psci: move psci firmware calls out of line
    - LP: #1471233
  * kconfig: Fix warning "‘jump’ may be used uninitialized"
    - LP: #1471233
  * scripts/sortextable: suppress warning: `relocs_size' may be used
    uninitialized
    - LP: #1471233
  * ASoC: dapm: Enable autodisable on SOC_DAPM_SINGLE_TLV_AUTODISABLE
    - LP: #1471233
  * ALSA: hda - Fix mute-LED fixed mode
    - LP: #1471233
  * ALSA: emu10k1: Fix card shortname string buffer overflow
    - LP: #1471233
  * ALSA: emux: Fix mutex deadlock at unloading
    - LP: #1471233
  * drm/radeon: add SI DPM quirk for Sapphire R9 270 Dual-X 2G GDDR5
    - LP: #1471233
  * SCSI: add 1024 max sectors black list flag
    - LP: #1471233
  * 3w-sas: fix command completion race
    - LP: #1471233
  * 3w-xxxx: fix command completion race
    - LP: #1471233
  * 3w-9xxx: fix command completion race
    - LP: #1471233
  * serial: xilinx: Use platform_get_irq to get irq description structure
    - LP: #1471233
  * serial: of-serial: Remove device_type = "serial" registration
    - LP: #1471233
  * tty/serial: at91: maxburst was missing for dma transfers
    - LP: #1471233
  * ALSA: emux: Fix mutex deadlock in OSS emulation
    - LP: #1471233
  * ALSA: emu10k1: Emu10k2 32 bit DMA mode
    - LP: #1471233
  * rbd: end I/O the entire obj_request on error
    - LP: #1471233
  * powerpc/pseries: Correct cpu affinity for dlpar added cpus
    - LP: #1471233
  * bridge/mdb: remove wrong use of NLM_F_MULT...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.