Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 05:08:25 +0000
From:      Meny Yossefi <menyy@mellanox.com>
To:        "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Cc:        Yuval Bason <yuvalba@mellanox.com>, Mark Bloch <markb@mellanox.com>
Subject:   RE: How to force IB cards to come up in IB mode?
Message-ID:  <DB5PR05MB1765B3FD346CEA889F4FEFC5C36A0@DB5PR05MB1765.eurprd05.prod.outlook.com>
In-Reply-To: <fb9cf8f262fa43a89ea6743d71dbc502@AMSPR05MB0580.eurprd05.prod.outlook.com>
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> <fb9cf8f262fa43a89ea6743d71dbc502@AMSPR05MB0580.eurprd05.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <markb@mellanox.com>; Meny Yossefi <menyy@mellanox.com>; Yuv=
al Bason <yuvalba@mellanox.com>
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 <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 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB5PR05MB1765B3FD346CEA889F4FEFC5C36A0>