Here is the dmesg from ib_iser debug_level=2 while doing a discovery via 
iser. 

[512042.466216] iscsi: registered transport (iser)
[512140.195141] iser: iser_connect:connecting to: 192.168.111.100, port 
0xbd0c
[512140.195896] iser: iser_cma_handler:event 1 status -19 conn 
ffff8800d03462c8 id ffff8806acc0ac00
[512140.195901] iser: iscsi_iser_ep_poll:ib conn ffff8800d03462c8 rc = -1
[512140.195922] iser: iscsi_iser_ep_disconnect:ep ffff8800d0346000 ib conn 
ffff8800d03462c8 state 4
[512140.195923] iser: iser_conn_terminate:Failed to disconnect, conn: 
0xffff8800d03462c8 err -22
[512140.195925] iser: iser_free_ib_conn_res:freeing conn ffff8800d03462c8 
cma_id ffff8806acc0ac00 qp           (null)
[512141.197712] iser: iser_connect:connecting to: 192.168.111.100, port 
0xbd0c
[512141.198377] iser: iser_cma_handler:event 1 status -19 conn 
ffff8807a271a2c8 id ffff88079fe4e000
[512141.198383] iser: iscsi_iser_ep_poll:ib conn ffff8807a271a2c8 rc = -1
[512141.198403] iser: iscsi_iser_ep_disconnect:ep ffff8807a271a000 ib conn 
ffff8807a271a2c8 state 4
[512141.198405] iser: iser_conn_terminate:Failed to disconnect, conn: 
0xffff8807a271a2c8 err -22
[512141.198408] iser: iser_free_ib_conn_res:freeing conn ffff8807a271a2c8 
cma_id ffff88079fe4e000 qp           (null)
[512142.200339] iser: iser_connect:connecting to: 192.168.111.100, port 
0xbd0c
[512142.200893] iser: iser_cma_handler:event 1 status -19 conn 
ffff8807a2cd62c8 id ffff8807eff77000
[512142.200899] iser: iscsi_iser_ep_poll:ib conn ffff8807a2cd62c8 rc = 0
[512143.203350] iser: iscsi_iser_ep_poll:ib conn ffff8807a2cd62c8 rc = -1
[512143.203403] iser: iscsi_iser_ep_disconnect:ep ffff8807a2cd6000 ib conn 
ffff8807a2cd62c8 state 4
[512143.203410] iser: iser_conn_terminate:Failed to disconnect, conn: 
0xffff8807a2cd62c8 err -22
[512143.203416] iser: iser_free_ib_conn_res:freeing conn ffff8807a2cd62c8 
cma_id ffff8807eff77000 qp           (null)
[512144.205638] iser: iser_connect:connecting to: 192.168.111.100, port 
0xbd0c
[512144.205781] iser: iscsi_iser_ep_poll:ib conn ffff8807a271a2c8 rc = 0
[512144.205790] iser: iser_cma_handler:event 1 status -19 conn 
ffff8807a271a2c8 id ffff88079fe49000

On Thursday, October 16, 2014 1:38:21 AM UTC-7, Or Gerlitz wrote:
>
>
> On 10/16/2014 02:30 AM, Mike Christie wrote: 
> > On 10/14/2014 01:50 PM, Moussa Ba wrote: 
> >> iscsiadm: iscsi_create_leading_conn discovery ep connect 
> >> 
> >> iscsiadm: in ktransport_ep_connect 
> >> iscsiadm: in __kipc_call 
> >> iscsiadm: in kwritev 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: ktransport_ep_connect got handle 1 
> >> iscsiadm: in ktransport_ep_poll 
> >> iscsiadm: in __kipc_call 
> >> iscsiadm: in kwritev 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: in ktransport_ep_disconnect 
> >> iscsiadm: in __kipc_call 
> >> iscsiadm: in kwritev 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: in nlpayload_read 
> >> iscsiadm: in ctldev_close 
> >> iscsiadm: Connection to discovery portal 192.168.111.100 failed: 
> >> encountered connection failure 
> >> iscsiadm: discovery session to 192.168.111.100:3261 sleeping for 1 
> >> seconds before next login attempt 
> > Or and Sagi, it looks like we are hitting this in the userspace 
> > discovvery connection code: 
> > 
> >          do { 
> >                  rc = t->template->ep_poll(conn, 1); 
> >                  if (rc < 0) { 
> >                          rc = ISCSI_ERR_TRANS; 
> >                          goto disconnect; 
> > 
> > So I think iscsi_iser_ep_poll either returned -1 or -ERESTARTSYS. It was 
> > probably not -ERESTARTSYS and the 
> > wait_for_completion_interruptible_timeout call probably timed out. Did 
> > we hit 
> > 
> >                  mutex_lock(&ib_conn->state_mutex); 
> >                  if (ib_conn->state == ISER_CONN_TERMINATING || 
> >                      ib_conn->state == ISER_CONN_DOWN) 
> >                          rc = -1; 
> >                  mutex_unlock(&ib_conn->state_mutex); 
> > 
> > then? What would be the reason for that? Target not setup to take iser 
> > ib connections? 
> > 
> Mike, It's hard for me to tell now... also the team has a holiday, but 
> it would worth if Moussa would set debug_level=2 for the ib_iser kernel 
> module and send the resulted dmesg when he runs the discovery attempt. 
> Ariel/Sagi - note it is 3.16 
>
> Or. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to