SRU request submitted:
https://lists.ubuntu.com/archives/kernel-team/2018-February/090259.html

** Description changed:

+ == SRU Justification ==
+ The bug reporter stated that the HBA Emulex LPe12000 Fibre channel adapter
+ does not see the disk on direct attach.  Broadcom support confirmed that bug 
+ and suggested to update module.  It was found that commit 2877cbf is the
+ fix for this bug.
+ 
+ Commit 2877cbf is in mainline as of v4.14-rc1.
+ 
+ == Fix ==
+ commit 2877cbffb79ed121a6bcc5edbe629d3aba36cd29
+ Author: Dick Kennedy <[email protected]>
+ Date:   Wed Aug 23 16:55:31 2017 -0700
+ 
+     scsi: lpfc: Fix loop mode target discovery
+ 
+ == Regression Potential ==
+ Low.  Clean cherry pick and only adds a new check for loop mode.
+ 
+ == Test Case ==
+ A test kernel was built with this patch and tested by the original bug 
reporter.
+ The bug reporter states the test kernel resolved the bug.
+ 
+ 
+ == Original Bug Description ==
  Hi.
  
  I have problem with HBA Emulex LPe12000 Fibre channel adapter. It
  doesn't see disk on direct attach.
  
  [    4.015493] lpfc 0000:04:00.0: 0:1303 Link Up Event x1 received Data: x1 
x1 x10 x2 x0 x0 0
  [    4.015570] lpfc 0000:04:00.0: 0:1309 Link Up Event npiv not supported in 
loop topology
  [    4.016671] lpfc 0000:04:00.0: 0:(0):2858 FLOGI failure Status:x3/x18 
TMO:x0 Data x1000 x0
  [    4.017627] lpfc 0000:04:00.0: 0:(0):2858 FLOGI failure Status:x3/x18 
TMO:x0 Data x1000 x0
  [    4.018561] lpfc 0000:04:00.0: 0:(0):2858 FLOGI failure Status:x3/x18 
TMO:x0 Data x1000 x0
  [    4.018636] lpfc 0000:04:00.0: 0:(0):0100 FLOGI failure Status:x3/x18 
TMO:x0
  [    4.019713] lpfc 0000:04:00.0: 0:(0):0266 Issue NameServer Req x117 err 1 
Data: x80000 x0
  
  I have made a little investigation.
  
  Ubuntu 16.04.3 LTS, kernel 4.10.0-28, lpfc 11.2.0.2 - no problem.
  Ubuntu 17.10.1, kernel 4.13.0-21, lpfc 11.4.0.1 - problem.
  Debian 9.3, kernel 4.9.0-4, lpfc 11.2.0.0 - no problem.
  Fedora 27, kernel 4.13.9-300, lpfc 11.4.0.1 - problem.
  Proxmox 5.0, kernel 4.10.15-1, lpfc 11.2.0.2 - no problem.
  Proxmox 5.1, kernel 4.13.13-5, lpfc 11.4.0.1 - problem.
  
  Another user with this problem said that if fiber switch is added
  between the server and the storage it's working as expected.
  
  I think problem is in lpfc.ko 11.4.0.1. Any kernel (4.13 now) that has
  this module version is affected. Broadcom support confirmed that bug and
  suggested to update module. But Broadcom supports only RHEL and SLES. I
  tried to compile, but no luck. Please, could you update lpfc.ko module
  in linux-image-generic package?
  
  There are version 11.4.142.21 for SLES 12 and 11.4.204.11 for RHEL 6 and
  7 on Broadcom site.
  
  Thanks.
  
  ---
  
  04:00.0 Fibre Channel [0c04]: Emulex Corporation Saturn-X: LightPulse Fibre 
Channel Host Adapter [10df:f100] (rev 03)
-       Subsystem: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host 
Adapter [10df:f100]
-       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx-
-       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
-       Interrupt: pin A routed to IRQ 27
-       Region 0: Memory at fbaff000 (64-bit, non-prefetchable) [size=4K]
-       Region 2: Memory at fbaf8000 (64-bit, non-prefetchable) [size=16K]
-       Expansion ROM at fba80000 [disabled] [size=256K]
-       Capabilities: [58] Power Management version 3
-               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
-               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
-       Capabilities: [60] MSI: Enable- Count=1/16 Maskable+ 64bit+
-               Address: 0000000000000000  Data: 0000
-               Masking: 00000000  Pending: 00000000
-       Capabilities: [78] MSI-X: Enable- Count=32 Masked-
-               Vector table: BAR=2 offset=00002000
-               PBA: BAR=2 offset=00003000
-       Capabilities: [84] Vital Product Data
-               Product Name: LPE12000, 8GB/S, 1-PORT FC, PCI EXPRESS HBA, SFP, 
DIAG, OPTICS, DELL
-               Read-only fields:
-                       [PN] Part number: LPE12000-M8
-                       [SN] Serial number: FC24751316
-                       [V0] Vendor specific: FC24751316
-                       [V1] Vendor specific: Emulex LPe12000-M8 8Gb PCIe Fibre 
Channel Adapter
-                       [V2] Vendor specific: LPe12000-M8
-                       [V3] Vendor specific: 
T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78
-                       [V4] Vendor specific:
-                       [RV] Reserved: checksum bad, 20 byte(s) reserved
-               End
-       Capabilities: [94] Express (v2) Endpoint, MSI 00
-               DevCap: MaxPayload 2048 bytes, PhantFunc 0, Latency L0s <1us, 
L1 unlimited
-                       ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- 
SlotPowerLimit 25.000W
-               DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
-                       RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
-                       MaxPayload 256 bytes, MaxReadReq 4096 bytes
-               DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- 
TransPend-
-               LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency 
L0s <1us, L1 <64us
-                       ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
-               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
-                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
-               LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- 
BWMgmt- ABWMgmt-
-               DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, 
OBFF Not Supported
-               DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
-               LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
-                        Transmit Margin: Normal Operating Range, 
EnterModifiedCompliance- ComplianceSOS-
-                        Compliance De-emphasis: -6dB
-               LnkSta2: Current De-emphasis Level: -6dB, 
EqualizationComplete-, EqualizationPhase1-
-                        EqualizationPhase2-, EqualizationPhase3-, 
LinkEqualizationRequest-
-       Capabilities: [100 v1] Advanced Error Reporting
-               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
-               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt+ 
RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
-               UESvrt: DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- 
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
-               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
-               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
-               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
-       Capabilities: [12c v1] Power Budgeting <?>
-       Kernel modules: lpfc
- --- 
+  Subsystem: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host 
Adapter [10df:f100]
+  Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx-
+  Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
+  Interrupt: pin A routed to IRQ 27
+  Region 0: Memory at fbaff000 (64-bit, non-prefetchable) [size=4K]
+  Region 2: Memory at fbaf8000 (64-bit, non-prefetchable) [size=16K]
+  Expansion ROM at fba80000 [disabled] [size=256K]
+  Capabilities: [58] Power Management version 3
+   Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
+   Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
+  Capabilities: [60] MSI: Enable- Count=1/16 Maskable+ 64bit+
+   Address: 0000000000000000  Data: 0000
+   Masking: 00000000  Pending: 00000000
+  Capabilities: [78] MSI-X: Enable- Count=32 Masked-
+   Vector table: BAR=2 offset=00002000
+   PBA: BAR=2 offset=00003000
+  Capabilities: [84] Vital Product Data
+   Product Name: LPE12000, 8GB/S, 1-PORT FC, PCI EXPRESS HBA, SFP, DIAG, 
OPTICS, DELL
+   Read-only fields:
+    [PN] Part number: LPE12000-M8
+    [SN] Serial number: FC24751316
+    [V0] Vendor specific: FC24751316
+    [V1] Vendor specific: Emulex LPe12000-M8 8Gb PCIe Fibre Channel Adapter
+    [V2] Vendor specific: LPe12000-M8
+    [V3] Vendor specific: T2:78,T3:79,7A,7B,7D,7E,7F,T7:73,TB:73,TFF:78
+    [V4] Vendor specific:
+    [RV] Reserved: checksum bad, 20 byte(s) reserved
+   End
+  Capabilities: [94] Express (v2) Endpoint, MSI 00
+   DevCap:     MaxPayload 2048 bytes, PhantFunc 0, Latency L0s <1us, L1 
unlimited
+    ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 25.000W
+   DevCtl:     Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
+    RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
+    MaxPayload 256 bytes, MaxReadReq 4096 bytes
+   DevSta:     CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
+   LnkCap:     Port #0, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency L0s 
<1us, L1 <64us
+    ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
+   LnkCtl:     ASPM Disabled; RCB 64 bytes Disabled- CommClk+
+    ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
+   LnkSta:     Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- 
ABWMgmt-
+   DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not 
Supported
+   DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
+   LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
+     Transmit Margin: Normal Operating Range, EnterModifiedCompliance- 
ComplianceSOS-
+     Compliance De-emphasis: -6dB
+   LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, 
EqualizationPhase1-
+     EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
+  Capabilities: [100 v1] Advanced Error Reporting
+   UESta:      DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
+   UEMsk:      DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt+ RxOF- 
MalfTLP- ECRC- UnsupReq+ ACSViol-
+   UESvrt:     DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
MalfTLP+ ECRC- UnsupReq- ACSViol-
+   CESta:      RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
+   CEMsk:      RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
+   AERCap:     First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
+  Capabilities: [12c v1] Power Budgeting <?>
+  Kernel modules: lpfc
+ ---
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.387
  DistroRelease: Ubuntu 17.10
  LiveMediaBuild: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
  MachineType: HP ProLiant DL160 G6
  Package: linux (not installed)
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=ru_RU.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=ru_RU.UTF-8
+  SHELL=/bin/bash
  ProcFB: 0 mgadrmfb
  ProcKernelCmdLine: file=/cdrom/preseed/hostname.seed boot=casper 
initrd=/casper/initrd.lz quiet splash --- debian-installer/language=ru 
keyboard-configuration/layoutcode?=ru
  ProcVersionSignature: Ubuntu 4.13.0-21.24-generic 4.13.13
  PulseList:
-  Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
-  No PulseAudio daemon running, or not running as session daemon.
+  Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
+  No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
-  linux-restricted-modules-4.13.0-21-generic N/A
-  linux-backports-modules-4.13.0-21-generic  N/A
-  linux-firmware                             1.169.1
+  linux-restricted-modules-4.13.0-21-generic N/A
+  linux-backports-modules-4.13.0-21-generic  N/A
+  linux-firmware                             1.169.1
  RfKill:
-  
+ 
  Tags:  artful
  Uname: Linux 4.13.0-21-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
-  
+ 
  _MarkForUpload: True
  dmi.bios.date: 05/19/2010
  dmi.bios.vendor: HP
  dmi.bios.version: O33
  dmi.chassis.type: 23
  dmi.chassis.vendor: HP
  dmi.modalias: 
dmi:bvnHP:bvrO33:bd05/19/2010:svnHP:pnProLiantDL160G6:pvr:cvnHP:ct23:cvr:
  dmi.product.name: ProLiant DL160 G6
  dmi.sys.vendor: HP

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1746970

Title:
  lpfc.ko module doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746970/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to