targetcli doesn't see fc hba

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

 



targetcli doesnt list my fiber channel controller, so I'm unable to
create targets on it.  Relevant information below.

QLogic QLE2462
CentOS release 6.5 (Final)
2.6.32-431.11.2.el6.x86_64

[root@target lib]# lspci | grep -i qlogic
04:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to
PCI Express HBA (rev 03)
04:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to
PCI Express HBA (rev 03)

[root@target qla2xxx]# cat version
8.06.00.10.06.0-k

[root@target modprobe.d]# cat qla2xxx.conf
#allow target mode
options qla2xxx qlini_mode=disabled

[root@target modprobe.d]# lsmod | grep qla
qla2xxx               516648  0
scsi_transport_fc      55299  4 qla2xxx,bnx2fc,fcoe,libfc

[root@target QConvergeConsoleCLI]# qaucli -t
[...]
HBA Instance 0: QLE2462 Port 1 WWPN 21-00-00-24-FF-2F-CA-3C PortID 00-00-00
Link: Link Down
No fabric attached devices on HBA (Instance 0)!
HBA Instance 1: QLE2462 Port 2 WWPN 21-00-00-24-FF-2F-CA-3D PortID 00-00-EF
Link: Online
No fabric attached devices on HBA (Instance 1)!

-----

One issue I have, is if I try to modprobe the driver it seems to want
to load the one that ships with the kernel, then complains about my
modprobe directive:
[root@target ~]# modprobe qla2xxx
FATAL: Error inserting qla2xxx
(/lib/modules/2.6.32-431.11.2.el6.x86_64/extra/qlgc-qla2xxx/qla2xxx.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
[root@target ~]# dmesg | tail -1
qla2xxx: Unknown parameter `qlini_mode'

But if I insmod the driver I built from source directly from qlogic...
[root@target qlgc-qla2xxx]# pwd
/lib/modules/2.6.32-431.11.2.el6.x86_64/extra/qlgc-qla2xxx
[root@target qlgc-qla2xxx]# ll
total 18728
-rw-r--r--. 1 root root 9584769 Apr 15 09:03 qla2xxx.ko
-rw-r--r--. 1 root root 9584769 Apr 14 22:01 qla2xxx.ko.org
[root@target qlgc-qla2xxx]# insmod qla2xxx.ko
[root@target qlgc-qla2xxx]#

...it works just fine.

-----

-----------------

And finally from targetcli, no qla2xxx/ listed:

[root@target modprobe.d]# targetcli
targetcli shell version 2.0rc1.fb16
Copyright 2011 by RisingTide Systems LLC and others.
For help on commands, type 'help'.

/> ls
o- / ..............................
...........................................................................................
[...]
  o- backstores
..............................................................................................................
[...]
  | o- block ....................................................................................................
[0 Storage Object]
  | o- fileio ...................................................................................................
[0 Storage Object]
  | o- pscsi ....................................................................................................
[0 Storage Object]
  o- loopback ..........................................................................................................
[0 Targets]
  o- tcm_fc ............................................................................................................
[0 Targets]
--
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