From owner-freebsd-stable@FreeBSD.ORG Fri Jun 12 16:57:26 2015 Return-Path: Delivered-To: freebsd-stable@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02B8885B for ; Fri, 12 Jun 2015 16:57:26 +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 8EE75374 for ; Fri, 12 Jun 2015 16:57:25 +0000 (UTC) (envelope-from unixro@gmail.com) Received: by wigg3 with SMTP id g3so22373841wig.1 for ; Fri, 12 Jun 2015 09:57:24 -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 :content-type:content-transfer-encoding; bh=xE2zKP9PbM12Q2SoTcBxdu3ORCA1zSxrv/5IOYB1BQ8=; b=svtPcjg0O0bORA0+7WpBcQ9iZXz0B9P9n5PnKmDh5quYpN0oeHn3nimBw+Qy+mHc5m /qdp93vu6cJr7V98PzoNcbJXGKHL22skVn8M44w7kzIKnsPkamcB0cEMhpnxOKmwR0y2 glFKJF0gkfQJ+FxPNAAB8zAy2VUukDFPs94iPZPcfRb5pnSpiCvqt20Q2RAUJ2Ns1LYQ NyPMK8A/qZoy4qx9o4mX+fbuX4cO37Rwlh/UGK1N0C7CoZg3VbB+Fe39Dn0DZKhvFBeW 3Y+GBJxKl6U5/snUa+FoGkplMGAG237K9bGW29OKSO89QD+tIcIu+yOTiF+jD0sv0WX2 R6tg== X-Received: by 10.180.85.42 with SMTP id e10mr8556668wiz.17.1434128244067; Fri, 12 Jun 2015 09:57:24 -0700 (PDT) Received: from [192.168.3.105] ([193.148.0.35]) by mx.google.com with ESMTPSA id d3sm6650074wjs.21.2015.06.12.09.57.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jun 2015 09:57:23 -0700 (PDT) Message-ID: <557B0F72.8070403@gmail.com> Date: Fri, 12 Jun 2015 19:57:22 +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: "freebsd-stable@freebsd.org" Subject: MLNX subnet manager issue on FBSD 10.1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 16:57:26 -0000 Hi, I'm having issues starting opensm under FBSD 10.1 . Used to work some time ago, but i had to rebuild the system: Any help to what i'm doing wrong would be appreciated. Drivers used are the ones from Mellanox (i've tried it with 2.1.5 and 2.1.6 as well), as the one from kernel are from 2008. opensm is built like this: svnlite checkout https://svn0.eu.freebsd.org/base/releng/10.1 /usr/src cd /usr/src/contrib/ofed && make includes cd /usr/src/contrib/ofed/usr.lib && make depend all install cd /usr/src/contrib/ofed/usr.bin && make depend all install mlx4_core0: mem 0xc7400000-0xc74fffff,0xc5000000-0xc57fffff irq 32 at device 0.0 on pci2 mlx4_core: Initializing mlx4_core: Mellanox ConnectX VPI driver v2.1.6 (Jun 12 2015) mlx4_core0: mlx4_ib_add: allocated counter index 1 for port 1 mlx4_en mlx4_core0: Activating port:1 mlxen0: Ethernet address: e4:1d:2d:0a:21:30 mlx4_en: mlx4_core0: Port 1: Using 12 TX rings mlxen0: link state changed to DOWN mlx4_en: mlx4_core0: Port 1: Using 8 RX rings mlx4_en: mlxen0: Using 12 TX rings mlx4_en: mlxen0: Using 8 RX rings mlx4_en: mlxen0: Initializing port root@nvme:~ # kldstat Id Refs Address Size Name 1 27 0xffffffff80200000 1756638 kernel 2 1 0xffffffff81957000 2681e8 zfs.ko 3 2 0xffffffff81bc0000 6780 opensolaris.ko 4 2 0xffffffff81bc7000 17d60 nvme.ko 5 1 0xffffffff81bdf000 4210 nvd.ko 6 1 0xffffffff81e11000 357f ums.ko 7 3 0xffffffff81e15000 37656 mlx4.ko 8 2 0xffffffff81e4d000 4e348 ibcore.ko 9 1 0xffffffff81e9c000 2f72 toecore.ko 10 1 0xffffffff81e9f000 238fa mlx4ib.ko 11 1 0xffffffff81ec3000 12482 mlxen.ko root@nvme:~ # uname -a FreeBSD nvme.intern.pch 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 root@nvme:~ # opensm ------------------------------------------------- OpenSM 3.3.1 Reading Cached Option File: /etc/opensm/opensm.conf Command Line Arguments: Log File: /var/log/opensm.log ------------------------------------------------- OpenSM 3.3.1 Entering DISCOVERING state Using default GUID 0x0 Error from osm_opensm_bind (0x2A) Perhaps another instance of OpenSM is already running Exiting SM ibportstate -G 0xe61d2dfffe0a2130 1 enable ibpanic: [868] madrpc_init: can't open UMAD port ((null):0): (m) -- Best regards, Vintila Mihai Alexandru