From owner-freebsd-scsi@freebsd.org Thu Aug 11 13:22:30 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 54AAABB4F2D for ; Thu, 11 Aug 2016 13:22:30 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 DD0521290 for ; Thu, 11 Aug 2016 13:22:29 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id i138so1360598wmf.3 for ; Thu, 11 Aug 2016 06:22:29 -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=SmEQmd++VuR+chkrvSeolsgViqtH4iHyCsqruvf4IEQ=; b=0XTZjsUKcGmWTudLzNHJW77nLepzYPD8NqHBdwPiIRh5adp+5h5HpbGioDv2UQqEUC y1rYP7MEQXYKL9rVbxrHv7gQI1NG/QM7bEPp5v3UxGustvdwxW5LjBq33BzB0oO5whlw VCvJn2PWflJWrl+U0JuIY+OcIuMgcOdBcreqIVvpIz3BrPxLsd7nGCL7lFP1lqliCdlP KZ6r1kqqMRT+LvyXhE9CmOEP9PoW9rPkjYJQwgX2/aKNtPNgsz2TE+2Smo6aL/0Jqf5g A+EW1qpVuR3yHDh6f32Ou1vQEtNGVVhmo0U2oMSqluLQ4Ogg+8F1kLVb8ZCR+Fwirq7H vb7g== 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=SmEQmd++VuR+chkrvSeolsgViqtH4iHyCsqruvf4IEQ=; b=jKwpvVKSbpkojd515G+TSTfLLFYtWIIKfQ2aMCLhKSvwA2BVVgHg0ZmnLecR85PSrX JexqT55bBWuCaCZJ5O+MaZND9E4YomJzHqR/pPUwE6ommws8FQhLkzt9vdok43WwjUVU Y7kDcE66V0omqkZ8EP35u+L/bh4cdc3BKTsv8/6jajJBzXZ0HKjsImQA03Ro7NeEWUgw X840utLnmrRdR1AlNGqu5dH2YX9EDge3eeT+lPjEZ1z9dbc4iJwLiVZb2iKli0QNdSlq abH27HfpZ9udUFnlpKqNhGsDM8ZLFXJfBe6us0adPIR2KbjTZUdE6Z9tH+D65fGOwXKc h98Q== X-Gm-Message-State: AEkoouvarF4ZI98AVW2SiUMnvcUP4LG3WUaIkbcYbqrgrRupFvok60F5e5dpH9+fBBtaTg== X-Received: by 10.28.215.81 with SMTP id o78mr9768681wmg.42.1470921748362; Thu, 11 Aug 2016 06:22:28 -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 190sm3205231wmk.13.2016.08.11.06.22.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Aug 2016 06:22:27 -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: Thu, 11 Aug 2016 15:22:26 +0200 Cc: Oren Duer , Roy Shterman Content-Transfer-Encoding: quoted-printable Message-Id: <41CCC244-A781-4087-A811-B33847EDEC01@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: Thu, 11 Aug 2016 13:22:30 -0000 I just tested to connect to a Linux iSER enabled target, but I still get = this error message at initiator side : 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 > as if my initiator did not understand the iSER command = "ISCSIDCONNECT". > How to be sure everything is correctly compiled with ICL_KERNEL_PROXY = enabled ? 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