Date: Wed, 17 Jun 2015 19:00:18 +0300 From: Mihai Vintila <unixro@gmail.com> To: Hans Petter Selasky <hps@selasky.org>, freebsd-infiniband@freebsd.org Subject: Re: Ib0 not working unless i unload ipoib and load it again. Message-ID: <55819992.2070207@gmail.com> In-Reply-To: <557DD869.3060806@selasky.org> References: <557C79D8.8040403@gmail.com> <557C7D94.9020207@selasky.org> <557DCA80.50203@gmail.com> <557DCEA7.3030703@selasky.org> <557DD20B.7020508@gmail.com> <557DD869.3060806@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Do you guys know how to catch mlx4_core0: mlx4_ib: Port 1 logical link is up with devd ? Seems that its enough to run ifconfig ib0 down && ifconfig ib0 up to fix things, and devd should be ideal for this. Best regards, Vintila Mihai Alexandru On 6/14/2015 10:39 PM, Hans Petter Selasky wrote: > On 06/14/15 21:12, Mihai Vintila wrote: >> Same behavior: >> sysctl -w sys.device.mlx4_core0.mlx4_port1=ib >> sys.device.mlx4_core0.mlx4_port1: eth -> ib >> ifconfig ib0 >> ib0: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> metric 0 mtu 2044 >> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE> >> >> lladdr 0.0.0.48.fe.80.0.0.0.0.0.0.e4.1d.2d.3.0.a.21.31 >> inet 10.105.0.225 netmask 0xffffff00 broadcast 10.105.0.255 >> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> >> ping 10.105.0.15 >> PING 10.105.0.15 (10.105.0.15): 56 data bytes >> ping: sendto: No route to host >> ping: sendto: No route to host >> >> Might worth to mention that this host also holds opensm, and i actually >> need to run opensm first next unload/load the module. >> But i rather expect that the ib0 state changes along mlx4_core0 state. >> > > If you do: > > ifconfig ib0 down > ifconfig ib0 up > > Does it work then? > > --HPS >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55819992.2070207>