Date: Mon, 18 Apr 2016 08:58:27 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Justin Clift <justin@postgresql.org>, Meny Yossefi <menyy@mellanox.com> Cc: "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>, Yuval Bason <yuvalba@mellanox.com> Subject: Re: How to force IB cards to come up in IB mode? Message-ID: <57148593.6090309@selasky.org> In-Reply-To: <0DE8164F-FB16-40E0-A512-F233658C52A0@postgresql.org> References: <9C08621D-AAE9-42D0-8079-716CDD9BC5E0@postgresql.org> <223ee8f3dd5240779d39bf78c383c50c@AMSPR05MB0580.eurprd05.prod.outlook.com> <DB5PR05MB1765AAD188E07C726CE5C005C3690@DB5PR05MB1765.eurprd05.prod.outlook.com> <0DE8164F-FB16-40E0-A512-F233658C52A0@postgresql.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/17/16 00:33, Justin Clift wrote: > On 16 Apr 2016, at 15:55, Meny Yossefi <menyy@mellanox.com> 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 there worked for the initial port mode setup: > > # Ensure the IB card is in IB mode > sys.device.mlx4_core0.mlx4_port1="ib" > sys.device.mlx4_core0.mlx4_port2="ib" > > Apologies for the noise. ;) > No problem. Glad to read you figured it out. Maybe it will help somebody else. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57148593.6090309>