Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 20:57:43 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Mihai Vintila <unixro@gmail.com>, freebsd-infiniband@freebsd.org
Subject:   Re: Ib0 not working unless i unload ipoib and load it again.
Message-ID:  <557DCEA7.3030703@selasky.org>
In-Reply-To: <557DCA80.50203@gmail.com>
References:  <557C79D8.8040403@gmail.com> <557C7D94.9020207@selasky.org> <557DCA80.50203@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 06/14/15 20:40, Mihai Vintila wrote:
> Another strange issue. Is that i have:
> /boot/loader.conf
> mlx4_core="YES"
> ibcore_load="YES"
> mlxen_load="YES"
> mlx4ib_load="YES"
> ipoib_load="YES"

If you remove this line from sysctl.conf and run it from the command 
line instead, does it work then?

>
> and in sysctl.conf
> sys.device.mlx4_core0.mlx4_port1=ib
>
> Only when it boots ib0 is not functional. From what i've noticed if
> after mlx4_core0 is up i remove ipoib module and add it again it's working.
>
> Bellow is a small output from dmesg in which i unload/load ipoib at boot
> in rc.local and interface still doesn't work and after port is up i do
> it manually and it starts working:
> ib0: Attached to mlx4_0 port 1
> ums0: <vendor 0x0557 product 0x2419, class 0/0, rev 1.10/1.00, addr 2>
> on usbus0
> ums0: 3 buttons and [Z] coordinates ID=0
> ib0: link state changed to DOWN
> ib0: Attached to mlx4_0 port 1
> mlx4_core0: mlx4_ib: Port 1 logical link is up
> ib0: link state changed to DOWN
> ib0: Attached to mlx4_0 port 1
> ib0: link state changed to UP
>
>
> in ifconfig only difference is a new lladdr for ib0.
>

--HPS




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