Debugging Qlogic 8152 target and initiator, no link.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I am looking for general help to debug a non-working FC/FCoE setup.

[ if there is a better mailing list for this, please let me know. ]

I have two systems with QLE8152 cards.  The cards are connected with an
Intel twinax SFP+ cable.  LAN networking between the systems appears to
work fine, but I can't get a working target/initiator connection.

The QLE8152 is a converged networking card with dual ethernet and fibre
channel functionality.  The LIO fibre channel page claims the QLE81xxx
cards are supported as of Linux 3.9.  I have tested with a variety of
kernel versions from 3.18.17 to 4.1.3.

The initiator system comes up and recognizes the card as an HBA.  The
target system (with qla2xxx.qlini_mode = disabled) comes up and I can
configure the target and luns with targetcli.

However, the port state of the cards never proceeds past "Linkdown".

At the time the target is configured in targetcli, I see the
kernel message:

  > qla2xxx [0000:02:00.2]-00af:0: Performing ISP error recovery - ha=ffff880414078000.
  > qla2xxx [0000:02:00.2]-8038:0: Cable is unplugged...

The Qlogic console CLI tool reports the HBA status on both systems as
"Loop Down, Diagnostic Mode".  At boot this starts at "Link Down".

I have looked at all of the kernel /sys/class and /sys module info
and debug logs recommended on the LIO site.

But I feel like I'm missing something basic:

- Obviously I would start by blaming the twinax cable, but LAN
  networking seems fine between the same two cards.

- The same target system is working with a separate QLE2462 card over
  regular fiber, so it's not a gross system / kernel config issue
  (I have a little experience with working FC / targetcli setups.)

- Is the QLE8152 actually supported as an initiator?  The LIO page
  implies that it should be, and targetcli can configure it.  Are
  these cards supported in a point-to-point (no switch) connection?

- The LIO page lists the QLE8152 as an FC target, not an FCoE target.

  I am naively assuming the drivers and HW will do all of the
  extra FCoE setup work to appear as a HBA.  Do I need to be
  running any separate FCoE daemons or discovery commands to
  establish the link outside of targetcli?

- I am relatively new to the world of CNA / converged adapters.

  Assuming that the QLE8152 isn't actually supported as an LIO
  initiator (whether due to bugs or missing code) do any of the
  following configs make sense?

  - LAN FCoE initiator to LAN FCoE target using SW FCoE support.
    (I assume yes.)

  - LAN FCoE initiator (software) to HW FCoE HBA target, i.e.
    crossing over the converged networking functionality between
    two cards on a point-to-point link.

    I assume this should work or HW from different vendors would
    not interoperate.

Thanks in advance,
John
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux