Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 23:33:45 +0100
From:      Justin Clift <justin@postgresql.org>
To:        Meny Yossefi <menyy@mellanox.com>
Cc:        "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>, Hans Petter Selasky <hanss@mellanox.com>, Yuval Bason <yuvalba@mellanox.com>
Subject:   Re: How to force IB cards to come up in IB mode?
Message-ID:  <0DE8164F-FB16-40E0-A512-F233658C52A0@postgresql.org>
In-Reply-To: <DB5PR05MB1765AAD188E07C726CE5C005C3690@DB5PR05MB1765.eurprd05.prod.outlook.com>
References:  <9C08621D-AAE9-42D0-8079-716CDD9BC5E0@postgresql.org> <223ee8f3dd5240779d39bf78c383c50c@AMSPR05MB0580.eurprd05.prod.outlook.com> <DB5PR05MB1765AAD188E07C726CE5C005C3690@DB5PR05MB1765.eurprd05.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;)

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 group; there was less competition there."
- Indira Gandhi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0DE8164F-FB16-40E0-A512-F233658C52A0>