Re: do discovery through SW transports too

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

 



On 23/06/2013 17:40, Or Gerlitz wrote:


there you go, here's the output

isert_cma_handler: event 4 status 0 conn ffff88011a55d600 id ffff8801085c5400
RDMA_CM_EVENT_CONNECT_REQUEST: >>>>>>>>>>>>>>>
Entering isert_connect_request cma_id: ffff8801085c5400, context: ffff88011a55d600
Using responder_resources: 1 initiator_depth: 4
Set login_buf: ffff880116a38000 login_req_buf: ffff880116a38000 login_rsp_buf: ffff880116a3a000 Using 3 CQs, device mlx4_0 supports 3 vectors
[...]

and here's the initiator output (if you set debug_level=3 for ib_iser)

iser: iser_rcv_completion:op 0x3f itt 0xffffffff dlen 0
iser: iscsi_iser_recv:wrong datalen 48 (hdr), 0 (IB)


This means that LIO sent ISCSI_OP_REJECT (0x3f) and that there's a bug for reject since the iSCSI header
says there are 48 bytes beyond the BHS but on the wire [1]  there where none

Or.


[1] its ib_wc->byte_len minus the iscsi/iser headers, see this code in the initiator

 iscsi_iser_recv(conn->iscsi_conn, hdr,
                rx_desc->data, rx_xfer_len - ISER_HEADERS_LEN);


# dmesg
iser: iser_connect:connecting to: 192.168.20.199, port 0xc70c
iser: iser_cma_handler:event 0 status 0 conn ffff880070ee33f0 id ffff880070916800
iser: iscsi_iser_ep_poll:ib conn ffff880070ee33f0 rc = 0
iser: iser_cma_handler:event 2 status 0 conn ffff880070ee33f0 id ffff880070916800
fmr_pool: Device mlx4_0 does not support FMRs
iser: iser_create_ib_conn_res:FMRs are not supported, using unaligned mode
iser: iser_create_ib_conn_res:cq index 1 used for ib_conn ffff880070ee33f0
iser: iser_create_ib_conn_res:setting conn ffff880070ee33f0 cma_id ffff880070916800: fmr_pool (null) qp ffff880070916400 iser: iser_cma_handler:event 9 status 0 conn ffff880070ee33f0 id ffff880070916800
iser: iscsi_iser_ep_poll:ib conn ffff880070ee33f0 rc = 1
scsi2 : iSCSI Initiator over iSER
iser: iscsi_iser_conn_bind:binding iscsi/iser conn ffff88007a740490 ffff88007a740700 to ib_conn ffff880070ee33f0
iser: iscsi_iser_mtask_xmit:mtask xmit [cid 0 itt 0x0]
iser: iser_post_rx_bufs:req op 43 flags 87
iser: iser_post_rx_bufs:Initially post: 32
iser: iser_rcv_completion:op 0x23 itt 0x0 dlen 176
iser: iscsi_iser_recv:aligned datalen (173) hdr, 176 (IB)
iser: iser_cq_tasklet_fn:got 1 rx 1 tx completions
iser: iscsi_iser_mtask_xmit:mtask xmit [cid 0 itt 0x0]
iser: iser_post_rx_bufs:req op 4 flags 80
iser: iser_rcv_completion:op 0x3f itt 0xffffffff dlen 0
iser: iscsi_iser_recv:wrong datalen 48 (hdr), 0 (IB)
 connection3:0: detected conn error (1006)
iser: iser_cq_tasklet_fn:got 1 rx 1 tx completions
iser: iscsi_iser_ep_disconnect:ib conn ffff880070ee33f0 state 2
iser: iser_cq_tasklet_fn:got 64 rx 0 tx completions

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