Hi Or, Compilation goes through fine, but once I configured TGT tgt as iser, I get the same error at the initiator. After this, even when I configure TGT tgt as TCP, I get the same connectivity error at the initiator. However, please note that tcp worked before configuring iser targets. As suggested, I ran iscsid in the foreground and this is what I see iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 [root@lab189 ~]# iscsiadm -m discovery -t st -p 10.196.86.101 -d 2 iscsiadm: Max file limits 1024 4096 iscsiadm: starting sendtargets discovery, address 10.196.86.101:3260, iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49400 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49401 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49402 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49403 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49404 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: connecting to 10.196.86.101:3260 iscsiadm: connected local port 49405 to 10.196.86.101:3260 iscsiadm: connected to discovery address 10.196.86.101 iscsiadm: Connection to Discovery Address 10.196.86.101 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.196.86.101 iscsiadm: connection login retries (reopen_max) 5 exceeded iscsiadm: disconnecting conn 0x25a6de0, fd 3 iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure If it helps, iscsid version 6.2.0-873.2.el6 Thanks, Sushma On Wed, Oct 2, 2013 at 1:02 AM, Or Gerlitz <ogerlitz@xxxxxxxxxxxx> wrote: > On 02/10/2013 00:41, Sushma R wrote: >> >> I'm using the tgt which comes by default with CentOS and it's version is >> 1.0.24 >> >> I also tried getting the source fromhttps://github.com/fujita/tgt and >> >> compile as "make ISCSI_RDMA=1" and I get a bunch of errors. >> iscsi/iser.h:249: error: field ādevice_attrā has incomplete type > > > Sorry, this wasn't clear enough in the iser readme provided through the tgt > sources, I just sent > a patch to fix that, see the list. You need to install librdmacm-devel and > libibverbs-devel > to build tgt with iser. > > 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