From owner-freebsd-infiniband@FreeBSD.ORG Wed Jun 17 16:00:21 2015 Return-Path: Delivered-To: freebsd-infiniband@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D09EABDA for ; Wed, 17 Jun 2015 16:00:21 +0000 (UTC) (envelope-from unixro@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F57FF53 for ; Wed, 17 Jun 2015 16:00:21 +0000 (UTC) (envelope-from unixro@gmail.com) Received: by wifx6 with SMTP id x6so58520087wif.0 for ; Wed, 17 Jun 2015 09:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=PbRGy0G6txGlZSPyuLdkioadQ4KiMAKF0eWhbfLjJXs=; b=yjOmb+I5vZNgZNy61PpdfKSwyElg+LT6r4kd4/AH8DYgRJUJI4stWlqI/64P80ur6i U6mHCjI/Dx/OyjywexzBVFXCxE5DZRluuvyW48QlxBR+Q1G20xVpW6lvMNTvDD2ci/go SWxrVvl7j/n4Y7ewdjrQmu6q1T2Iq+JGvzioK75NAQbzCu/PSJn96A8XFFd0rlGvInnh zzOf7b2Pi744ChDoiw+0VVfP1mIST+JOrfwszFekAOyy8OUOB5/vGdTTEdzNJ9EeW9qL LouoAGEFwrVbDy0fwf2rNDbm2d3mXQ27LhYjpfOPwOAOsBKylk0Re+4FSAcNFMEKi4gp XrJw== X-Received: by 10.180.188.48 with SMTP id fx16mr19064686wic.35.1434556820005; Wed, 17 Jun 2015 09:00:20 -0700 (PDT) Received: from [192.168.3.105] ([193.148.0.35]) by mx.google.com with ESMTPSA id ei8sm7509988wjd.32.2015.06.17.09.00.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 09:00:19 -0700 (PDT) Message-ID: <55819992.2070207@gmail.com> Date: Wed, 17 Jun 2015 19:00:18 +0300 From: Mihai Vintila User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Hans Petter Selasky , freebsd-infiniband@freebsd.org Subject: Re: Ib0 not working unless i unload ipoib and load it again. 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> In-Reply-To: <557DD869.3060806@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 16:00:21 -0000 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 metric 0 mtu 2044 >> options=8009b >> >> 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 >> >> 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 >