targetcli qla2xxx create fails

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

 



Hi,

I´m trying to get the qla2xxx module running. But the create command fails.

It makes no difference if I use Kernel 3.5 or 3.4.0lio selfcompiled suggested in the wiki.
The same for targetcli from debian/ubuntu vs self compiled git.

tcm_fc creation works.

Adapter is QLE2462

Any ideas?


Regards
Matt

> /qla2xxx> info
> Fabric module name: qla2xxx
> ConfigFS path: /sys/kernel/config/target/qla2xxx
> Allowed WWNs list (free type): 21:00:00:1b:32:13:19:ae, 21:01:00:1b:32:33:19:ae
> Fabric module specfile: /var/target/fabric/qla2xxx.spec
> Fabric module features: acls
> Corresponding kernel module: tcm_qla2xxx

> /qla2xxx> create 21:00:00:1b:32:13:19:ae
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/configshell/shell.py", line 983, in run_interactive
>     self._cli_loop()
>   File "/usr/lib/python2.6/configshell/shell.py", line 806, in _cli_loop
>     self.run_cmdline(cmdline)
>   File "/usr/lib/python2.6/configshell/shell.py", line 927, in run_cmdline
>     self._execute_command(path, command, pparams, kparams)
>   File "/usr/lib/python2.6/configshell/shell.py", line 902, in _execute_command
>     result = target.execute_command(command, pparams, kparams)
>   File "/usr/lib/python2.6/targetcli/ui_node.py", line 216, in execute_command
>     return UINode.execute_command(self, command, pparams, kparams)
>   File "/usr/lib/python2.6/targetcli/ui_node.py", line 101, in execute_command
>     pparams, kparams)
>   File "/usr/lib/python2.6/configshell/node.py", line 1405, in execute_command
>     result = method(*pparams, **kparams)
>   File "/usr/lib/python2.6/targetcli/ui_target.py", line 119, in ui_command_create
>     target = Target(self.rtsnode, wwn, mode='create')
>   File "/usr/lib/python2.6/rtslib/target.py", line 1176, in __init__
>     self._create_in_cfs_ine(mode)
>   File "/usr/lib/python2.6/rtslib/node.py", line 71, in _create_in_cfs_ine
>     os.mkdir(self.path)
> OSError: [Errno 22] Invalid argument: '/sys/kernel/config/target/qla2xxx/21:00:00:1b:32:13:19:ae'

> /> version
> Using configshell version 1.1.5.gd866b24
> Using rtslib version 2.1.15.g6666d30
> Using targetcli version 2.0rc1.14.ge872b64


> /qla2xxx> version
> Target fabric module qla2xxx: TCM QLOGIC QLA2XXX NPIV capable fabric module v0.1 on Linux/x86_64 on 3.4.0lio+


> /> ls
> o- / ......................................................................................................................... [...]
>   o- backstores .............................................................................................................. [...]
>   | o- fileio ................................................................................................... [0 Storage Object]
>   | o- iblock ................................................................................................... [0 Storage Object]
>   | o- pscsi .................................................................................................... [0 Storage Object]
>   | o- rd_dr .................................................................................................... [0 Storage Object]
>   | o- rd_mcp ................................................................................................... [0 Storage Object]
>   o- ib_srpt ............................................................................................................ [0 Target]
>   o- iscsi .............................................................................................................. [0 Target]
>   o- loopback ........................................................................................................... [0 Target]
>   o- qla2xxx ............................................................................................................ [0 Target]
>   o- tcm_fc ............................................................................................................. [1 Target]
>     o- 21:00:00:1b:32:13:19:ae ........................................................................................... [enabled]
>       o- acls .............................................................................................................. [0 ACL]
>       o- luns .............................................................................................................. [0 LUN]

> root@pan:~# lsmod
> Module                  Size  Used by
> iscsi_target_mod      214167  1 
> ib_srpt                42311  1 
> tcm_fc                 23990  3 
> tcm_loop               19785  1 
> tcm_qla2xxx            21586  1 
> target_core_mod       259149  12 tcm_qla2xxx,iscsi_target_mod,tcm_fc,ib_srpt,tcm_loop
> ib_cm                  42567  1 ib_srpt
> ib_sa                  29095  1 ib_cm
> ib_mad                 47133  3 ib_cm,ib_sa,ib_srpt
> ib_core                78218  4 ib_cm,ib_sa,ib_mad,ib_srpt
> libfc                 115440  1 tcm_fc
> configfs               34843  3 iscsi_target_mod,target_core_mod
> nfsd                  263663  2 
> nfs                   300386  0 
> nfs_acl                12837  2 nfs,nfsd
> auth_rpcgss            41306  2 nfs,nfsd
> fscache                61040  1 nfs
> lockd                  76865  2 nfs,nfsd
> sunrpc                229022  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
> snd_pcm                96580  0 
> snd_page_alloc         18484  1 snd_pcm
> snd_timer              29370  1 snd_pcm
> snd                    78734  2 snd_timer,snd_pcm
> radeon                890369  1 
> ttm                    83542  1 radeon
> drm_kms_helper         46957  1 radeon
> drm                   264316  3 ttm,drm_kms_helper,radeon
> iTCO_wdt               17948  0 
> soundcore              15047  1 snd
> iTCO_vendor_support    13718  1 iTCO_wdt
> psmouse                86015  0 
> i2c_algo_bit           13413  1 radeon
> i2c_i801               17336  0 
> i5000_edac             17460  0 
> edac_core              53305  3 i5000_edac
> i5k_amb                13190  0 
> shpchp                 37108  0 
> coretemp               13364  0 
> ioatdma                43709  6 
> evbug                  12661  0 
> pcspkr                 12718  0 
> joydev                 17457  0 
> dca                    15130  1 ioatdma
> serio_raw              13211  0 
> microcode              22803  0 
> mac_hid                13205  0 
> ses                    17363  0 
> enclosure              15165  1 ses
> usb_storage            48838  0 
> usbhid                 46920  0 
> hid                    99743  1 usbhid
> uas                    17890  0 
> megaraid_sas           81985  2 
> qla3xxx                48267  0 
> qla4xxx               177911  0 
> iscsi_boot_sysfs       16000  1 qla4xxx
> libiscsi               53013  1 qla4xxx
> scsi_transport_iscsi    59268  2 qla4xxx,libiscsi
> qla2xxx               471737  1 tcm_qla2xxx
> scsi_transport_fc      58922  3 qla2xxx,libfc,tcm_qla2xxx
> scsi_tgt               20065  1 scsi_transport_fc
> e1000e                161762  0 

> [    1.338768] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.04.00.03-k.
> [    1.338878] qla2xxx [0000:0a:00.0]-001d: : Found an ISP2432 irq 16 iobase 0xffffc9001178c000.
> [    1.340763] qla2xxx 0000:0a:00.0: irq 65 for MSI/MSI-X
> [    1.340774] qla2xxx 0000:0a:00.0: irq 66 for MSI/MSI-X
> [    1.752171] scsi8 : qla2xxx
> [    1.752765] qla2xxx [0000:0a:00.0]-00fb:8: QLogic QLE2462 - SG-(X)PCIE2FC-QF4, Sun StorageTek 4 Gb FC Enterprise PCI-Express Dual Channel H.
> [    1.752785] qla2xxx [0000:0a:00.0]-00fc:8: ISP2432: PCIe (2.5GT/s x4) @ 0000:0a:00.0 hdma+ host#=8 fw=5.06.05 (9496).
> [    1.752897] qla2xxx [0000:0a:00.1]-001d: : Found an ISP2432 irq 17 iobase 0xffffc9001179c000.
> [    1.753234] qla2xxx 0000:0a:00.1: irq 68 for MSI/MSI-X
> [    1.753246] qla2xxx 0000:0a:00.1: irq 69 for MSI/MSI-X
> [    2.124164] scsi13 : qla2xxx
> [    2.124591] qla2xxx [0000:0a:00.1]-00fb:13: QLogic QLE2462 - SG-(X)PCIE2FC-QF4, Sun StorageTek 4 Gb FC Enterprise PCI-Express Dual Channel H.
> [    2.124609] qla2xxx [0000:0a:00.1]-00fc:13: ISP2432: PCIe (2.5GT/s x4) @ 0000:0a:00.1 hdma+ host#=13 fw=5.06.05 (9496).
--
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