[Ubuntu 16.04] FCoE Lun not visible in OS with inbox driver - Issue with ioremap() call on 32bit kernel

Bug #1608652 reported by Dick Kennedy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Fix Released
Medium
Tim Gardner
Yakkety
Fix Released
Medium
Unassigned

Bug Description

Broadcom has a fix for this issue that it will be sending upstream on/by 8/15/16

BUG REPRODUCTION DETAILS
Test Case Instance -
Reproducibility of Bug - Always
Last Known Working Build - NA
Time to Reproduce Bug - 5 Minutes
Steps To Reproduce Bug -
======================
1
. Map a LUN and make sure the FCoE Lun is visible in the UEFI/ as well as
Legacy BIOS
2. Boot to OS, and check "fdisk -l" the Lun is not listed.

Logs
====

ubuntu_sl@dhcp-10-227-71-12:/sys/class/fc_host$ modinfo lpfc|grep -i version
version: 0:11.0.0.10.
srcversion: 77EBC3EEDF32DABDDF14B7F
vermagic: 4.4.0-22-generic SMP mod_unload modversions 686

ubuntu_sl@dhcp-10-227-71-12:/sys/class/fc_host$ lsmod|grep lpfc
lpfc 614400 0
scsi_transport_fc 57344 1 lpfc

ubuntu_sl@dhcp-10-227-71-12:~$ cd /sys/class/fc_host
ubuntu_sl@dhcp-10-227-71-12:/sys/class/fc_host$ ls
ubuntu_sl@dhcp-10-227-71-12:/sys/class/fc_host$

dmesg logs
==========

ubuntu_sl@dhcp-10-227-71-12:/sys/class/fc_host$ dmesg|grep lpfc
[ 12.521665] Modules linked in: hid_generic ahci crc32_pclmul lpfc(+) igb
be2net aesni_intel ptp aes_i586 vxlan xts pps_core libahci usbhid lrw
scsi_transport_fc gf128mul megaraid_sas ablk_helper wmi ip6_udp_tunnel cryptd
hid i2c_algo_bit udp_tunnel fjes
[ 13.532543] [<f8bd0ef7>] ? lpfc_pci_probe_one_s4.isra.38+0x207/0x970 [lpfc]
[ 13.581554] [<f8bd0ef7>] ? lpfc_pci_probe_one_s4.isra.38+0x207/0x970 [lpfc]
[ 13.675661] [<f8bd0ef7>] ? lpfc_pci_probe_one_s4.isra.38+0x207/0x970 [lpfc]
[ 13.723254] [<f8bd0ef7>] lpfc_pci_probe_one_s4.isra.38+0x207/0x970 [lpfc]
[ 13.770876] [<f8bd1702>] lpfc_pci_probe_one+0xa2/0xe40 [lpfc]
[ 14.551773] [<f85210e4>] lpfc_init+0xe4/0x1000 [lpfc]
[ 15.046636] lpfc 0000:1b:00.2: ioremap failed for SLI4 PCI config registers.
[ 15.082558] lpfc 0000:1b:00.2: 0:1410 Failed to set up pci memory space.
[ 15.118685] lpfc 0000:1b:00.3: ioremap failed for SLI4 PCI config registers.
[ 15.155054] lpfc 0000:1b:00.3: 0:1410 Failed to set up pci memory space.
[ 592.495893] lpfc 0000:1b:00.2: ioremap failed for SLI4 PCI config registers.
[ 592.495900] lpfc 0000:1b:00.2: 0:1410 Failed to set up pci memory space.
[ 592.496028] lpfc 0000:1b:00.3: ioremap failed for SLI4 PCI config registers.
[ 592.496030] lpfc 0000:1b:00.3: 0:1410 Failed to set up pci memory space.

Setup Details
=============
SUT: 10.227.65.215(IMM IP) (USERID/PASSW0RD)
OS IP: 10.227.73.172(ubuntu_sl/Swamiji001)
Switch: 10.227.65.35(admin/Pass1234, Port no: 6,17)
IBM Target: 10.227.65.50(emulex/passw0rd)

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1608652/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you post a note here when the patch is sent upstream? We can then cherry-pick it into Ubuntu.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: kernel-da-key
summary: - [Ubuntu 16.0.4] FCoE Lun not visible in OS with inbox driver - Issue
- with ioremap() call on 32bit kernel
+ [Ubuntu 16.04] FCoE Lun not visible in OS with inbox driver - Issue with
+ ioremap() call on 32bit kernel
Changed in linux (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Dick Kennedy (dick-kennedy) wrote :

Yes I will update the bz with the commit ID after we push it upstream.

Revision history for this message
Dick Kennedy (dick-kennedy) wrote :

This is the commit id. 115a4124bae6697b375e150deaed3a4ffc6580e1

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Merged in v4.8-rc1

Changed in linux (Ubuntu Yakkety):
status: Triaged → Fix Released
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux (Ubuntu Xenial):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Tim Gardner (timg-tpi) 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-xenial' to 'verification-done-xenial'.

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-xenial
Revision history for this message
Dick Kennedy (dick-kennedy) wrote :

Are you waiting for me to verify this?

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

This bug was fixed in the package linux - 4.4.0-38.57

---------------
linux (4.4.0-38.57) xenial; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1620658

  * CIFS client: access problems after updating to kernel 4.4.0-29-generic
    (LP: #1612135)
    - Revert "UBUNTU: SAUCE: (namespace) Bypass sget() capability check for nfs"
    - fs: Call d_automount with the filesystems creds

  * apt-key add fails in overlayfs (LP: #1618572)
    - SAUCE: overlayfs: fix regression in whiteout detection

linux (4.4.0-37.56) xenial; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1618040

  * [Feature] Instruction decoder support for new SKX instructions- AVX512
    (LP: #1591655)
    - x86/insn: perf tools: Fix vcvtph2ps instruction decoding
    - x86/insn: Add AVX-512 support to the instruction decoder
    - perf tools: Add AVX-512 support to the instruction decoder used by Intel PT
    - perf tools: Add AVX-512 instructions to the new instructions test

  * [Ubuntu 16.04] FCoE Lun not visible in OS with inbox driver - Issue with
    ioremap() call on 32bit kernel (LP: #1608652)
    - lpfc: Correct issue with ioremap() call on 32bit kernel

  * [Feature] turbostat support for Skylake-SP server (LP: #1591802)
    - tools/power turbostat: decode more CPUID fields
    - tools/power turbostat: CPUID(0x16) leaf shows base, max, and bus frequency
    - tools/power turbostat: decode HWP registers
    - tools/power turbostat: Decode MSR_MISC_PWR_MGMT
    - tools/power turbostat: allow sub-sec intervals
    - tools/power turbostat: Intel Xeon x200: fix erroneous bclk value
    - tools/power turbostat: Intel Xeon x200: fix turbo-ratio decoding
    - tools/power turbostat: re-name "%Busy" field to "Busy%"
    - tools/power turbostat: add --out option for saving output in a file
    - tools/power turbostat: fix compiler warnings
    - tools/power turbostat: make fewer systems calls
    - tools/power turbostat: show IRQs per CPU
    - tools/power turbostat: show GFXMHz
    - tools/power turbostat: show GFX%rc6
    - tools/power turbostat: detect and work around syscall jitter
    - tools/power turbostat: indicate SMX and SGX support
    - tools/power turbostat: call __cpuid() instead of __get_cpuid()
    - tools/power turbostat: correct output for MSR_NHM_SNB_PKG_CST_CFG_CTL dump
    - tools/power turbostat: bugfix: TDP MSRs print bits fixing
    - tools/power turbostat: SGX state should print only if --debug
    - tools/power turbostat: print IRTL MSRs
    - tools/power turbostat: initial BXT support
    - tools/power turbostat: decode BXT TSC frequency via CPUID
    - tools/power turbostat: initial SKX support

  * [BYT] display hotplug doesn't work on console (LP: #1616894)
    - drm/i915/vlv: Make intel_crt_reset() per-encoder
    - drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init()
    - drm/i915/vlv: Disable HPD in valleyview_crt_detect_hotplug()
    - drm/i915: Enable polling when we don't have hpd

  * [Feature]intel_idle enabling on Broxton-P (LP: #1520446)
    - intel_idle: add BXT support

  * [Feature] EDAC: Update driver for SKX-SP (LP: #1591815)
    - [Config] CONFIG_EDAC_SKX=m
    - EDAC, skx_edac: Ad...

Changed in linux (Ubuntu Xenial):
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.