[Bug 188061] On quad port QLE2564 can't add in target only 2 ports

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=188061

Stefan Leitner (stefan.leitner@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan.leitner@xxxxxxxxx

--- Comment #11 from Stefan Leitner (stefan.leitner@xxxxxxxxx) ---
This bug is still present on Linux 5.0

root@server:~# systool -c fc_host -v | grep port_name
    port_name           = "0x18b0024ffb7bbf7"
    port_name           = "0x118b0024ffb7bbf7"
    port_name           = "0x218b0024ffb7bbf7"
    port_name           = "0x318b0024ffb7bbf7"

So the numbering of the first port swallows the 0 - resulting in a 14 char
value.
Also port number 4 (0x318...) results in targetcli in a 
WWN not valid as: naa

While changing utils.py REGEXP to re.match("naa\.[1235][0-9a-fA-F]{15}$", wwn)
it helps to add the 3rd port it does not solve the problem for the port number
1 (0x18... - which should be 0x018...)

lspci -v

0f:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI
Express HBA (rev 02)
        Subsystem: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express
HBA (QLE2564 PCI Express to 8Gb FC Quad Channel)
        Flags: bus master, fast devsel, latency 0, IRQ 102, NUMA node 0
        I/O ports at 7000 [size=256]
        Memory at f7bf0000 (64-bit, non-prefetchable) [size=16K]
        Memory at f7a00000 (64-bit, non-prefetchable) [size=1M]
        [virtual] Expansion ROM at f7900000 [disabled] [size=256K]
        Capabilities: [44] Power Management version 3
        Capabilities: [4c] Express Endpoint, MSI 00
        Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [98] Vital Product Data
        Capabilities: [a0] MSI-X: Enable+ Count=32 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [138] Power Budgeting <?>
        Kernel driver in use: qla2xxx
        Kernel modules: qla2xxx

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux