Re: ISER - tgtadm: Can't find the driver

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

 



On Thu, Dec 5, 2013 at 11:42 PM, Moussa Ba (moussaba)
<moussaba@xxxxxxxxxx> wrote:
> I have been trying to reactivate a tgt array I was using a few months ago. I am currently using 3.12 but, tgtdadm
> fails with a:
>
> tgtadm: Can't find the driver
>
> I ran the following commands to configure it:
>
>
>
> taskset  0x00000100 tgtd  --control-port 0 --iscsi portal=192.168.104.2:3260 --iser port=3260
>
> echo "Creating iqn.target0"
> tgtadm --lld iser --mode target --op new --tid=1 --targetname iqn.target0 -C 0
> tgtadm --lld iser --mode logicalunit --op new --tid 1 --lun 1 -b /dev/rssda --bstype rdwr -C 0
> tgtadm --lld iser --mode logicalunit --op update --tid 1 --lun 1 --params scsi_id="$RSSDA_ID" -C 0
> tgtadm --op update --mode target --tid 1 --name=MaxQueueCmd --value=256
> tgtadm --lld iser --mode target --op bind --tid 1 -I ALL
>
>
>
> Below are the modules Loaded
>
> mlx4_en                76854  0
> mlx4_ib               129860  16
> ib_sa                  23653  4 rdma_cm,ib_ipoib,ib_cm,mlx4_ib
> ib_mad                 40129  4 ib_cm,ib_umad,mlx4_ib,ib_sa
> ib_core                72427  11 ib_iser,ib_isert,rdma_cm,iw_cm,ib_ipoib,ib_cm,ib_uverbs,ib_umad,mlx4_ib,ib_sa,ib_mad
> mlx4_core             202689  2 mlx4_en,mlx4_ib
> rdma_cm                39115  2 ib_iser,ib_isert
> iw_cm                   9936  1 rdma_cm
> ib_addr                 6528  1 rdma_cm
> ib_cm                  37980  2 rdma_cm,ib_ipoib
> ib_uverbs              36365  48
> rdma_cm                39115  2 ib_iser,ib_isert
> ib_mad                 40129  4 ib_cm,ib_umad,mlx4_ib,ib_sa

For some reason the ib_mad and rdma_cm modules are listed twice...
anyway, you need rdma_ucm which is the ib_uverbs equivalent --
provides access to the kernel rdma_cm. I would recommend to run rping
which is provided by librdmacm-utils to very there's proper user space
access to the kernel IB stack .

Or.
--
To unsubscribe from this list: send the line "unsubscribe stgt" 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]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux