From owner-freebsd-scsi@freebsd.org Wed Aug 10 21:07:00 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13A46BB5542 for ; Wed, 10 Aug 2016 21:07:00 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B3911A33 for ; Wed, 10 Aug 2016 21:06:59 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id i138so11950546wmf.3 for ; Wed, 10 Aug 2016 14:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h7h6yZb3ZyArsdrKg0jZlLGkAf4dHz//bFh0u0gN5+M=; b=zuILChX7CGC4bgI4gJYsKuzhC7unZ791XD3QCv50ckzul8b+aeYJBwD6oHymBLJpst tOs/ev1Fs4cDfJTiLQRqweSj1VneYRxRFYhDXrKvusmUBPbKop0WcAykVKF5IAhqcFjA iiy9pJBAur/1tLo21aXAaLo4G01t733yTN4lb5IXxk9xut24dyAjctfhai8rR8k6UJwU rJVgr4TN8QH7Ot1D05n6kfN7dkrv1l8Dfk84flPIQQw0uN3lSsqc1z0ccWvDaGfuKQuP a+Oz11xAvUVov0jt/Sq+EU5Klf9dEvOPFAZJc/TWZ8ay+P+6MuuYnB9DrwusSsqO3kr/ w/pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=h7h6yZb3ZyArsdrKg0jZlLGkAf4dHz//bFh0u0gN5+M=; b=nIQO1kUUbvEvbW3enbJswXM5/E9BcNLce+xr+7UfWDejniU1UIM2V+OFvIaHUrgGGj ekwfB1trX8/KFobzOn2ueWmlxNB+5S0pPHugLQIBE6pQyv1/g61L777sZIPuwyV22RCY umMbMYLfPvBjr5AOPWRZ0pmZYXbZi/v/s10cJ0hi44NaDIeUkbv3+bKPAk0VqJvUBop2 qKw2jFpFRUDmffxdPr7chxRExBmU5zbme/jD+cCx8XIuGZKEqwUVZ8+u3o6AHgLFi4dL XNc/eBPpn6T42E32sIysX6HwzeVbS0QHeahOmvCM58uZyksD78fU/IwM+50HjAUPFR6Y 4Lqw== X-Gm-Message-State: AEkoouvlB5gCtp3owPW/8FuwzjBRZrTxqXYKcDpdPOVsjGMtNDUXO40118o/m+m5rfSZpw== X-Received: by 10.194.110.229 with SMTP id id5mr6854688wjb.23.1470863217590; Wed, 10 Aug 2016 14:06:57 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id p4sm44743737wjq.27.2016.08.10.14.06.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 14:06:56 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Help to make iSER working From: Ben RUBSON In-Reply-To: <64d8bc44-b6a3-4c0a-6d13-f919bf26685a@mellanox.com> Date: Wed, 10 Aug 2016 23:06:56 +0200 Cc: Oren Duer , Roy Shterman Content-Transfer-Encoding: quoted-printable Message-Id: <60159AE3-202A-4B42-85DC-CE211234020C@gmail.com> References: <71E4886B-61C3-4091-A7FF-E5A4F59AEACE@gmail.com> <64d8bc44-b6a3-4c0a-6d13-f919bf26685a@mellanox.com> To: freebsd-scsi@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 21:07:00 -0000 Hi Max, Thank you very much for your answer. Is there any plan to add iSER target to FreeBSD ? Thank you again, Ben > On 10 Aug 2016, at 22:51, Max Gurtovoy wrote: >=20 > Hi Ben, >=20 > iSER initiator is supported in FreeBSD-11 but not the iser target. > for the target you should use Linux target such as TGT (user space), > Lio or SCST. >=20 > thanks, > Max. >=20 >=20 > On 8/10/2016 8:13 PM, Ben RUBSON wrote: >> Hello, >>=20 >> I have some difficulties to make iSER (FreeBSD 11 BETA3) working. >>=20 >>=20 >>=20 >> ### My configuration : >>=20 >> 2 servers with Mellanox ConnectX-3 NICs. >>=20 >>=20 >>=20 >> ### What I did : >>=20 >> I rebuilt kernel adding the following to GENERIC : >> options OFED >> device mlxen >> options COMPAT_LINUXKPI >>=20 >> I built iser : >> cd /usr/src/sys/modules/iser/ ; make ; make install ; kldload iser >> (I saw later-on that I could have used "device iser" in kernel = configuration) >>=20 >> My /etc/ctl.conf : >> portal-group pg0 { >> discovery-auth-group no-authentication >> listen 192.168.2.2 >> offload iser >> } >> target iqn.2012-06.com.test:target1 { >> auth-group no-authentication >> portal-group pg0 >> alias my-iser-disk >> lun 0 { >> path /dev/da8 >> } >> } >>=20 >>=20 >>=20 >> ### Error : >>=20 >> As soon as I do the following : >> iscsictl -A -r -t iqn.2012-06.com.test:target1 -p 192.168.2.2 >> I get this error : >> iscsid[1187]: 192.168.2.2 (iqn.2012-06.com.test:target1): failed to = connect to 192.168.2.2 using ICL kernel proxy: ISCSIDCONNECT: Invalid = argument >> iscsid[655]: child process 1187 terminated with exit status 1 >>=20 >> "sysctl hw.mlxen1.stat.tx_packets" on initiator shows that no packet = is sent at all when trying to connect. >>=20 >> Did I miss something ? >>=20 >> Many thanks ! >>=20 >> Ben >>=20 >> _______________________________________________ >> freebsd-scsi@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-scsi >> To unsubscribe, send any mail to = "freebsd-scsi-unsubscribe@freebsd.org" >>=20