Re: Issues with 16G FC target with Qlogic 2660 and LIO

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

 



On Tue, 2013-12-10 at 09:05 +0800, Michael Wang wrote:
> Hi, Nicholas
> 
> Thank you for all your help.
> 
> Do you have a step by step guide to configure target mode under kernel
> 3.9.x? 

Yes.  http://linux-iscsi.org/wiki/Fibre_Channel#Enable_target_mode

> I will be very appreciated if you  let me know how to :
> 
> a. Which items need to be selected when upgrading kernel to 3.9.x for
> 16G target mode to work?
> 

CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCM_FILEIO=m
CONFIG_TCM_PSCSI=m

and

CONFIG_SCSI_QLA_FC=m
CONFIG_TCM_QLA2XXX=m


> b. Do I need to modify any configuration parameters of the 16G FC HBA
> card? Where are those configuration files located and how to modify
> them?
> 

Yes, qlini_mode="disabled" needs to be passed as a qla2xxx module
parameter.

See http://linux-iscsi.org/wiki/Fibre_Channel#Enable_target_mode

> c. What exactly output do you need to diagnose the issue?
> 

targetcli configuration output for starters would be useful.

Also, enabling enabling target side debugging with:

qla2xxx: 'modprobe qla2xxx ql2xextended_error_logging=0x7fffffff'

and via debugfs with:

tcm_qla2xxx: echo 'module tcm_qla2xxx +p' > /debug/dynamic_debug/control

--nab


--
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