From owner-freebsd-scsi@freebsd.org Wed Aug 10 17:13:29 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 91D8FBB5B4B for ; Wed, 10 Aug 2016 17:13:29 +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 287F718D8 for ; Wed, 10 Aug 2016 17:13:29 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id i138so10768160wmf.3 for ; Wed, 10 Aug 2016 10:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=g2IHwpYiS0admtHqMsHI1feCD6TiUsGq+w4flhbyJEk=; b=ZGFu3fYECaYLzhQJDsiw1/pFAlIy58E4zxDWYlWCCX70fDiRSeuKsyyCojfF7tZECc ED33MLn226PmmiPp9SOYNFCFE8N0vJvlQA91CP5B/+t+nYnPeUYnyS+xmB0sOjDuEZpO wPTBYrozLzO4rzcZqRwt2xpIuz8rc45CNYRZBn4Lzn1nEcqLha+rrpAu4NjakVd0XIXw jyu1eHwgNElXUsFa5AW4lTgcpOSnhq/SF3I8WL4UvPLYFyOjWDMVdz6riwcHBUrwZ/VC bH/r6tUN3IPlbXYRiJ/V2GpCxBCQHmaTHDVCDvrwfw+LznhT2Ah3mYakr+7JGTWI+qx/ qUNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=g2IHwpYiS0admtHqMsHI1feCD6TiUsGq+w4flhbyJEk=; b=i/J8G6xeyyxsfrsiKY2SQwvSY5c22rLGKyY9Ec7EWdGLtGXCk7ERQoPUmLX6brXwFb erNPnGav7C5aWlimmRS3NAani1f4I0nJxltbJZiR0KYtZX+hno0RKrFBfJaDhXMNA0Rk gMi3Km4N1iN96b7TfvCtisfsv6F/m1helIA0CovOxamqBTe6LHcHdXH2uyjW0zrMQ1ix 3CuUsVtj3kUzSrF/+FIU/379Hc3iruemll1Qqc2azAPfnVqQEpUZB6Z6Db9y16od8lkH pwJHTehca6Z71i3zEA7VKj9JYpsCX30q2WuEt4AEhRkTedfTewrgK90IF+d9P9racwXc b6PA== X-Gm-Message-State: AEkoouvz05VUEc6202hxgYULob7XpRkcTnYlWD0jcoO/Gm6XJ3F74oaALTZyBQPBA4uOEA== X-Received: by 10.28.37.71 with SMTP id l68mr4691193wml.50.1470849207502; Wed, 10 Aug 2016 10:13:27 -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 f10sm43891040wje.14.2016.08.10.10.13.26 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 10:13:26 -0700 (PDT) From: Ben RUBSON Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Help to make iSER working Message-Id: <71E4886B-61C3-4091-A7FF-E5A4F59AEACE@gmail.com> Date: Wed, 10 Aug 2016 19:13:25 +0200 To: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) 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 17:13:29 -0000 Hello, I have some difficulties to make iSER (FreeBSD 11 BETA3) working. ### My configuration : 2 servers with Mellanox ConnectX-3 NICs. ### What I did : I rebuilt kernel adding the following to GENERIC : options OFED device mlxen options COMPAT_LINUXKPI 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) 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 } } ### Error : 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 "sysctl hw.mlxen1.stat.tx_packets" on initiator shows that no packet is = sent at all when trying to connect. Did I miss something ? Many thanks ! Ben