From nobody@FreeBSD.org  Wed Feb 19 17:23:24 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 96BEAE42
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Feb 2014 17:23:24 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 6834B1E57
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Feb 2014 17:23:24 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1JHNOcp027211
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Feb 2014 17:23:24 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1JHNOrb027207;
	Wed, 19 Feb 2014 17:23:24 GMT
	(envelope-from nobody)
Message-Id: <201402191723.s1JHNOrb027207@cgiserv.freebsd.org>
Date: Wed, 19 Feb 2014 17:23:24 GMT
From: Adam Ward <adam.ward@alamancecc.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ISCSICTL, TARGET MOVED, DELL EQUALLOGIC
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186900
>Category:       kern
>Synopsis:       [iscsi] problem with ISCSICTL, TARGET MOVED, DELL EQUALLOGIC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trasz
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 17:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Mon Apr 28 23:00:00 UTC 2014
>Originator:     Adam Ward
>Release:        10.0-RELEASE
>Organization:
Alamance Community College
>Environment:
FreeBSD glusterbackend 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When attempting to establish a connection between a FreeBSD server and
a Dell Equallogic the following error is returned:

iqn.2001-05.com.equallogic:0-8a0906-b13931604-ad600186d925304c-zfs97 10.10.0.97      Target moved temporarily

The following appears in /var/log/messages:

Feb 19 12:08:52 glusterbackend kernel: WARNING: 10.210.0.97 (.iqn.2001-05.com.equallogic:0-8a0906-b13931604-ad600186d925304c-zfs97): login timed out after 61 seconds; reconnecting
Feb 19 12:08:52 glusterbackend iscsid[1254]: 10.210.0.97 (.iqn.2001-05.com.equallogic:0-8a0906-b13931604-ad600186d925304c-zfs97): target returned error: Not found
Feb 19 12:09:00 glusterbackend iscsid[655]: child process 1254 terminated with exit status 1

The following appears when doing a tcpdump -x -vvv -i bge0:

--
    10.10.0.97.iscsi-target > 10.10.0.8.17215: Flags [.], cksum 0xf259 (correct), seq 1, ack 1, win 2304, options [nop,nop,TS val 0 ecr 0], length 0
	0x0000:  4500 0034 f42f 4000 4006 3088 0ad2 0061
	0x0010:  0ad2 0008 0cbc 433f 9a94 9265 7cde 6b83
	0x0020:  8010 0900 f259 0000 0101 080a 0000 0000
	0x0030:  0000 0000
--
    10.10.0.8.17215 > 10.10.0.97.iscsi-target: Flags [P.], cksum 0x170b (incorrect -> 0x4326), seq 1:217, ack 1, win 1040, options [nop,nop,TS val 10171766 ecr 0], length 216
	0x0000:  4500 010c 216e 4000 4006 0000 0ad2 0008
	0x0010:  0ad2 0061 433f 0cbc 7cde 6b83 9a94 9265
	0x0020:  8018 0410 170b 0000 0101 080a 009b 3576
	0x0030:  0000 0000 4381 0000 0000 00a8 8062 135e

>How-To-Repeat:
1) Create a target on Dell Equalogic SAN
2) Copy target information under iSCSI settings from Equalogic
3) Input data into /etc/iscsi.conf, ie:

t1 {
        TargetAddress   = 10.10.0.97
        TargetName      = iqn.2001-05.com.equallogic:0-8a0906-79e931604-fc500186d8952b84-gluster
        AuthMethod      = None
}

4) issue iscsictl -Aa to get FreeBSD server to login into target(s)
5) run iscsictl without flags and obtain

iqn.2001-05.com.equallogic:0-8a0906-b13931604-ad600186d925304c-zfs97 10.10.0.97      Target moved temporarily

**Note:  seems similar to the an issue that open-iscsi had with Dell Equallogics
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-scsi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 24 07:12:14 UTC 2014 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186900 
Responsible-Changed-From-To: freebsd-scsi->trasz 
Responsible-Changed-By: trasz 
Responsible-Changed-When: Tue Feb 25 23:00:33 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186900 

From: =?UTF-8?B?R29vZFdvbGbihKI=?= <GoodWolf@CoreICC.COM>
To: bug-followup@FreeBSD.org, adam.ward@alamancecc.edu
Cc:  
Subject: Re: kern/186900: [iscsi] problem with ISCSICTL, TARGET MOVED, DELL
 EQUALLOGIC
Date: Mon, 28 Apr 2014 16:48:49 +0900

 Hi, This is GoodWolf
 ..
 
 I had same problems as you
 
 Equallogic PS6010XV with FreeBSD10.0-p1
 
 When I connect by iscsictl, It's fail with below errors
 
 Can anythind do done about the matter?
 
 
       - Below -
 
 Apr 28 16:47:00 Zone06 kernel: WARNING: 10.10.10.10 
 (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 login timed out after 61 seconds; reconnecting
 Apr 28 16:47:00 Zone06 iscsid[3747]: child process 17427 terminated with 
 exit status 1
 Apr 28 16:47:00 Zone06 iscsid[17428]: 10.10.10.10 
 (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 target returned error: Target moved temporarily
 
 
 
 Sincerly
 GoodWolf
 
 
 -- 
 
 =================================================
 "우리에게 중요한 것은 속도가 아니라 방향입니다."
 
 Core Computing Center
 OP & Tech Team 과장 김주홍
 070-8666-4484
 GoodWolf@CoreICC.COM
 =================================================
 
 
 #################################################
 # 상기 메일은  지정된 수신인만을 위한 것이며,
 # 법으로 보호되는 정보가 포함되어 있습니다.
 # 본 문서에 포함된 정보를 무단으로 제 3자에게
 # 공개, 배포 및 복사하는 것은 엄격히 금지되오니,
 # 잘못 전송된 경우, 발신인에게 알려주시고
 # 본 메일을 즉시 삭제해 주시기 바랍니다.
 #################################################
 

From: "Adam G. Ward" <adam.ward@alamancecc.edu>
To: =?UTF-8?B?R29vZFdvbGbihKI=?= <GoodWolf@CoreICC.COM>, 
 bug-followup@FreeBSD.org, trasz@freebsd.org
Cc:  
Subject: Re: kern/186900: [iscsi] problem with ISCSICTL, TARGET MOVED, DELL
 EQUALLOGIC
Date: Mon, 28 Apr 2014 10:10:45 -0400

 Hello GoodWolf,
 
 I tested a patch in FreeBSD 11-Current for Edward (maintainer of ISCSI 
 kernel module) on March 23rd.  The patch did not resolve the issue.  
 Still waiting from resolution.
 
 Thank you,
 
 Adam G. Ward
 
 On 04/28/2014 03:48, GoodWolf™ wrote:
 > Hi, This is GoodWolf
 > ..
 >
 > I had same problems as you
 >
 > Equallogic PS6010XV with FreeBSD10.0-p1
 >
 > When I connect by iscsictl, It's fail with below errors
 >
 > Can anythind do done about the matter?
 >
 >
 >      - Below -
 >
 > Apr 28 16:47:00 Zone06 kernel: WARNING: 10.10.10.10 
 > (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 > login timed out after 61 seconds; reconnecting
 > Apr 28 16:47:00 Zone06 iscsid[3747]: child process 17427 terminated 
 > with exit status 1
 > Apr 28 16:47:00 Zone06 iscsid[17428]: 10.10.10.10 
 > (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 > target returned error: Target moved temporarily
 >
 >
 >
 > Sincerly
 > GoodWolf
 >
 >
 

From: =?UTF-8?B?R29vZFdvbGbihKI=?= <GoodWolf@CoreICC.COM>
To: "Adam G. Ward" <adam.ward@alamancecc.edu>, bug-followup@FreeBSD.org, 
 trasz@freebsd.org
Cc:  
Subject: Re: kern/186900: [iscsi] problem with ISCSICTL, TARGET MOVED, DELL
 EQUALLOGIC
Date: Tue, 29 Apr 2014 07:52:01 +0900

 Thank you
 ..
 It's very good of you
 ..
 I'll look forward for receiving patch.. :)
 ..
 
 thank you
 
 =================================================
 "우리에게 중요한 것은 속도가 아니라 방향입니다."
 
 Core Computing Center
 OP & Tech Team 과장 김주홍
 070-8666-4484
 GoodWolf@CoreICC.COM
 =================================================
 
 
 #################################################
 # 상기 메일은  지정된 수신인만을 위한 것이며,
 # 법으로 보호되는 정보가 포함되어 있습니다.
 # 본 문서에 포함된 정보를 무단으로 제 3자에게
 # 공개, 배포 및 복사하는 것은 엄격히 금지되오니,
 # 잘못 전송된 경우, 발신인에게 알려주시고
 # 본 메일을 즉시 삭제해 주시기 바랍니다.
 #################################################
 
 On 2014-04-28 오후 11:10, Adam G. Ward wrote:
 > Hello GoodWolf,
 >
 > I tested a patch in FreeBSD 11-Current for Edward (maintainer of ISCSI 
 > kernel module) on March 23rd.  The patch did not resolve the issue.  
 > Still waiting from resolution.
 >
 > Thank you,
 >
 > Adam G. Ward
 >
 > On 04/28/2014 03:48, GoodWolf™ wrote:
 >> Hi, This is GoodWolf
 >> ..
 >>
 >> I had same problems as you
 >>
 >> Equallogic PS6010XV with FreeBSD10.0-p1
 >>
 >> When I connect by iscsictl, It's fail with below errors
 >>
 >> Can anythind do done about the matter?
 >>
 >>
 >>      - Below -
 >>
 >> Apr 28 16:47:00 Zone06 kernel: WARNING: 10.10.10.10 
 >> (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 >> login timed out after 61 seconds; reconnecting
 >> Apr 28 16:47:00 Zone06 iscsid[3747]: child process 17427 terminated 
 >> with exit status 1
 >> Apr 28 16:47:00 Zone06 iscsid[17428]: 10.10.10.10 
 >> (iqn.2001-05.com.equallogic:0-8a0906-2d069220c-02f0000003650725-vol06-01): 
 >> target returned error: Target moved temporarily
 >>
 >>
 >>
 >> Sincerly
 >> GoodWolf
 >>
 >>
 >
 >
 
>Unformatted:
