From owner-freebsd-infiniband@freebsd.org Sun Apr 17 06:41:13 2016 Return-Path: Delivered-To: freebsd-infiniband@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 41711B10618 for ; Sun, 17 Apr 2016 06:41:13 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0096.outbound.protection.outlook.com [157.55.234.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B59921386 for ; Sun, 17 Apr 2016 06:41:11 +0000 (UTC) (envelope-from menyy@mellanox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bm6KAIDtLsFU3f1r2uZEBdHkCEB7JnA5IbrAysgMQAc=; b=N5c8o44NFvqBlwuPYt74HhaZJcQMzFLjR6+1x8X8XMyP4+CFT8yCuFge7vX17UXomTPpa68aeK4vz0M2nvZXniDArWIyBBCnuV6aQtjOSkcEt/7ZOoBWJlQwm9UutbmU46R7PYFPHVMg0GlbmMOuPeA9J6qEYI4KBD4cr3jx46A= Received: from DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) by DB5PR05MB1382.eurprd05.prod.outlook.com (10.162.157.28) with Microsoft SMTP Server (TLS) id 15.1.466.19; Sun, 17 Apr 2016 05:08:26 +0000 Received: from DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) by DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) with mapi id 15.01.0453.031; Sun, 17 Apr 2016 05:08:26 +0000 From: Meny Yossefi To: "freebsd-infiniband@freebsd.org" CC: Yuval Bason , Mark Bloch Subject: RE: How to force IB cards to come up in IB mode? Thread-Topic: How to force IB cards to come up in IB mode? Thread-Index: AQHRl9FGkcYw8QOXCky3Yxke7zEzY5+McuvlgAA2bcCAAIcXgIAAABeXgABtecA= Date: Sun, 17 Apr 2016 05:08:25 +0000 Message-ID: References: <9C08621D-AAE9-42D0-8079-716CDD9BC5E0@postgresql.org> <223ee8f3dd5240779d39bf78c383c50c@AMSPR05MB0580.eurprd05.prod.outlook.com> , <0DE8164F-FB16-40E0-A512-F233658C52A0@postgresql.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [193.47.165.251] x-ms-office365-filtering-correlation-id: 4d6c8a78-8349-41f0-f414-08d3667e4eae x-microsoft-exchange-diagnostics: 1; DB5PR05MB1382; 5:oFkSe0FzfeIMhqPQ/Wd8c9rrRmj2G5Ilxwzm50A5DdAlY+rwC2ugujaQwxoMZDKIkbogz5yaj8MrcmRIK4tU5pzPJw6e0zd8Xq2Kto7ZvLkDDWFVhY6df27Fy/58wtve+U+7JjKXRPJpc9rlwgcJGKh45ZYpVHXECiWhDKfQcKhO3Y3/M1Vacma/0kXSSYUL; 24:DzXq47JCcSJqN0msR7T2bckzIEfrI6wYeYnlSH7lYPawnbeU4yn6doBsOqOIeLoAJdYUBms+S1P8eYUb6BGo0qcIy/XauBqAv5A7miRORmc=; 7:mmwS/ARnwd2H8+Dy6QuwQHPMyzScnu8NapKzQQ8ZtNlme4Y4/OsOOL8qinrPbblgnZdgdN7lOmWtHdT/YrCJ2WMv1S+LAH3IK3VDn198KjSNrqCsfq823lqTU/oiYaBDRNzz7JfTyqd0Q/x2DxH3/eoTfqr3doA1a8Oe0udt1vbkE5b4BqI9/9EUa1KzC28uS4yt3YNldvHhLlNu3YX6sA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1382; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(9101521026)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:DB5PR05MB1382; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1382; x-forefront-prvs: 0915875B28 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(13464003)(24454002)(2351001)(10400500002)(9686002)(33656002)(189998001)(5640700001)(66066001)(92566002)(11100500001)(110136002)(77096005)(107886002)(93886004)(87936001)(5002640100001)(5003600100002)(106116001)(86362001)(2906002)(122556002)(4326007)(2950100001)(81166005)(54356999)(15975445007)(2900100001)(1220700001)(5004730100002)(1096002)(74316001)(5008740100001)(6116002)(3660700001)(586003)(3846002)(3280700002)(19580395003)(102836003)(450100001)(4001430100002)(2501003)(19580405001)(76176999)(76576001)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1382; H:DB5PR05MB1765.eurprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2016 05:08:26.0122 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1382 X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 06:41:13 -0000 NP.=20 If you have more Mellanox related questions, you can also use: freebsd-driv= ers@mellanox.com -Meny -----Original Message----- From: freebsd-commits-tracker=20 Sent: Sunday, April 17, 2016 1:34 AM To: Mark Bloch ; Meny Yossefi ; Yuv= al Bason Subject: FW: How to force IB cards to come up in IB mode? ________________________________________ From: owner-freebsd-infiniband@freebsd.orgOn Behalf OfJustin Clift Sent: Saturday, April 16, 2016 10:33:45 PM (UTC) Monrovia, Reykjavik To: Meny Yossefi Cc: freebsd-infiniband@freebsd.org; Yuval Bason; Hans Petter Selasky Subject: Re: How to force IB cards to come up in IB mode? On 16 Apr 2016, at 15:55, Meny Yossefi wrote: > Hi Justin, > > It seems as the pre-boot configuration didn't work. > > loader.conf doesn't work on all sysctl params AFAIK. The solution in this case turned out to be super simple... I was just using= the wrong file. :D It should have been /etc/sysctl.conf for the settings. Adding this in ther= e worked for the initial port mode setup: # Ensure the IB card is in IB mode sys.device.mlx4_core0.mlx4_port1=3D"ib" sys.device.mlx4_core0.mlx4_port2=3D"ib" Apologies for the noise. ;) Regards and best wishes, Justin Clift -- "My grandfather once told me that there are two kinds of people: those who = work and those who take the credit. He told me to try to be in the first gr= oup; there was less competition there." - Indira Gandhi _______________________________________________ freebsd-infiniband@freebsd.org mailing list https://lists.freebsd.org/mailm= an/listinfo/freebsd-infiniband To unsubscribe, send any mail to "freebsd-infiniband-unsubscribe@freebsd.or= g"