Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1986390.1
Update Date:2018-05-22
Keywords:

Solution Type  Problem Resolution Sure

Solution  1986390.1 :   Solaris 11 - 16GB Qlogic FC HBA - WARNING: qlt(x): unknown devid(2031), failing attach  


Related Items
  • Solaris Operating System
  •  
  • SPARC T5-4
  •  
  • Qlogic FC HBA
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Storage Drivers>SN-DK: Storage Drivers
  •  




In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-10248266861>

Applies to:

Solaris Operating System - Version 10 3/05 and later
SPARC T5-4 - Version All Versions and later
Qlogic FC HBA - Version All Versions and later
Information in this document applies to any platform.

Symptoms

This is a Solaris 11.2 SRU 7 server with one Oracle Qlogic 16GB FC HBA (Ganymede) Part Number 7023303

Initially the FC HBA is configured with qlc driver

/devices/pci@8100/pci@4/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl       CONNECTED
/devices/pci@8100/pci@4/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl     CONNECTED

HBA Port WWN: 2100000e1e125880
        Port Mode: Initiator
        Port ID: 10800
        OS Device Name: /dev/cfg/c13
        Manufacturer: QLogic Corp.
        Model: 7023303
        Firmware Version: 6.06.03
        FCode/BIOS Version:  BIOS: 3.19; fcode: 4.02; EFI: 5.36;
        Serial Number: 463916A+1315135431
        Driver Name: qlc
        Driver Version: 20140422-5.01
        Type: N-port
        State: online
        Supported Speeds: 4Gb 8Gb 16Gb
        Current Speed: 16Gb
        Node WWN: 2000000e1e125880

HBA Port WWN: 2100000e1e125881
        Port Mode: Initiator
        Port ID: 11200
        OS Device Name: /dev/cfg/c14
        Manufacturer: QLogic Corp.
        Model: 7023303
        Firmware Version: 6.06.03
        FCode/BIOS Version:  BIOS: 3.19; fcode: 4.02; EFI: 5.36;
        Serial Number: 463916A+1315135431
        Driver Name: qlc
        Driver Version: 20140422-5.01
        Type: N-port
        State: online
        Supported Speeds: 4Gb 8Gb 16Gb
        Current Speed: 16Gb
        Node WWN: 2000000e1e125881

 

/SYS/PCI2         PCIE  SUNW,qlc-pciex1077,2031           QLE8362    8.0GT/x8   8.0GT/x4
                        /pci@8100/pci@4/pci@0/pci@9/SUNW,qlc@0
/SYS/PCI2         PCIE  SUNW,qlc-pciex1077,2031           QLE8362    8.0GT/x8   8.0GT/x4
                        /pci@8100/pci@4/pci@0/pci@9/SUNW,qlc@0,1

Above output shows PCI Identifiers Vendor ID 0x1077 and Device ID 0x2031, so this FC HBA is correctly configured in Fibre Channel mode.

 

To configure it under qlt driver (target mode), we unbind it from qlc driver, that works fine:

root@server01# update_drv -d -i 'pciex1077,2031' qlc
Cannot unload module: qlc
Will be unloaded upon reboot.
root@server01#

But the step to bind this type of FC HBA to the qlt driver gives an error:

root@server01# update_drv -a -i 'pciex1077,2031' qlt
Driver (qlt) not installed.
root@server01#

This is because we need to install this additional package that includes qlt driver:

root@server01# pkg install system/storage/scsi-target-mode-framework

After that update_drv works fine:

root@server01# update_drv -a -i 'pciex1077,2031' qlt
devfsadm: driver failed to attach: qlt
Warning: Driver (qlt) successfully added to system but failed to attach
root@server01#

 

After reboot, the qlt driver fails to attach to this FC HBA, on the messages files we see:

Mar  3 12:04:03 server01 qlt: [ID 696377 kern.warning] WARNING: qlt(0): unknown devid(2031), failing attach
Mar  3 12:04:03 server01 qlt: [ID 696377 kern.warning] WARNING: qlt(1): unknown devid(2031), failing attach

 

Cards under qlt driver are not shown by luxadm -e port as expected, and with mdb -k we can see qlt driver is binded to the card, but not attached:

root@server01:~# luxadm -e port
root@server01:~# mdb -k
Loading modules: [ unix genunix specfs dtrace zfs scsi_vhci sd mpt_sas mac px ldc ip hook neti ds arp usba kssl stmf stmf_sbd sockfs random idm cpc crypto fcip fctl mdesc nfs ufs
logindmux ptm sppp ipc ]
> ::devbindings -q qlt
40004547140      pciex1077,2031 (driver not attached)
40004546e60      pciex1077,2031 (driver not attached)
>


 

Changes

 

Cause

Bug 15826690 : SUNBT7196113-11.2 Ganymede Qlogic qlt support

Solution

qlt support for Oracle Qlogic 16GB FC HBA (Ganymede) Part Number 7023303 requires Solaris 11.2 SRU8 or higher.

Solaris 11.2 SRU versions available can be found on this doc:
1672221.1 - Oracle Solaris 11.2 Support Repository Updates (SRU) Index

 

The FC HBA under qlt driver will look like this:

root@server01:~# fcinfo hba-port
HBA Port WWN: 2100000e1e125880
        Port Mode: Target
        Port ID: 10800
        OS Device Name: Not Applicable
        Manufacturer: QLogic Corp.
        Model: QLE8362
        Firmware Version: 6.6.3
        FCode/BIOS Version: QLE8362 FC Host Adapter FCode(SPARC): 4.02 2012-11-12 13:52
        Serial Number: 463916A+1315135431
        Driver Name: COMSTAR QLT
        Driver Version: 20140303-2.03
        Type: F-port
        State: online
        Supported Speeds: 4Gb 8Gb 16Gb
        Current Speed: 16Gb
        Node WWN: 2000000e1e125880
HBA Port WWN: 2100000e1e125881
        Port Mode: Target
        Port ID: 21200
        OS Device Name: Not Applicable
        Manufacturer: QLogic Corp.
        Model: QLE8362
        Firmware Version: 6.6.3
        FCode/BIOS Version: QLE8362 FC Host Adapter FCode(SPARC): 4.02 2012-11-12 13:52
        Serial Number: 463916A+1315135431
        Driver Name: COMSTAR QLT
        Driver Version: 20140303-2.03
        Type: F-port
        State: online
        Supported Speeds: 4Gb 8Gb 16Gb
        Current Speed: 16Gb
        Node WWN: 2000000e1e125881

 

root@server01# stmfadm list-target -v
Target: wwn.2100000E1E125881
    Operational Status     : Offline
    Provider Name          : qlt
    Alias                  : qlt1,0
    Protocol               : Fibre Channel
    Sessions               : 0
Target: wwn.2100000E1E125880
    Operational Status     : Offline
    Provider Name          : qlt
    Alias                  : qlt0,0
    Protocol               : Fibre Channel
    Sessions               : 0
root@server01#

 

References

<NOTE:1672221.1> - Oracle Solaris 11.2 Support Repository Updates (SRU) Index
<BUG:15826690> - SUNBT7196113-11.2 GANYMEDE QLOGIC QLT SUPPORT
<BUG:19178791> - GANYMEDE16 GB FIBRE CHANNEL HBA'S ARE NOT SUPPORTING P2P TOPOLOGY ON SOLARIS 10
<NOTE:1980150.1> - How to Collect COMSTAR Configuration Data to Assist in Troubleshooting

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback