From owner-freebsd-infiniband@FreeBSD.ORG Tue Mar 24 18:36:21 2015 Return-Path: Delivered-To: freebsd-infiniband@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 495BC125 for ; Tue, 24 Mar 2015 18:36:21 +0000 (UTC) Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CB912B6 for ; Tue, 24 Mar 2015 18:36:17 +0000 (UTC) Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-08v.sys.comcast.net with comcast id 7Wbq1q0012Bo0NV01WcF5b; Tue, 24 Mar 2015 18:36:15 +0000 Received: from resmail-ch2-217v.sys.comcast.net ([162.150.48.251]) by resomta-ch2-05v.sys.comcast.net with comcast id 7WcF1q00J5RAVJS01WcFjM; Tue, 24 Mar 2015 18:36:15 +0000 Date: Tue, 24 Mar 2015 18:36:14 +0000 (UTC) From: rondzierwa@comcast.net To: freebsd-infiniband@freebsd.org Message-ID: <2047411187.14848489.1427222174378.JavaMail.zimbra@comcast.net> In-Reply-To: <1056469494.13922504.1427133730132.JavaMail.zimbra@comcast.net> Subject: Mellanox MHET2X-1TC MIME-Version: 1.0 X-Originating-IP: [::ffff:50.241.136.195] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF28 (Win)/8.0.7_GA_6031) Thread-Topic: Mellanox MHET2X-1TC Thread-Index: 2l6fK1RKGK2Ss40OiyumaV4e3uyAdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1427222175; bh=TlYdNQTqFcKOCGkUVxa5KPCrbDXwSG1uW5na5UvD800=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=hCE3fV4AT9FSgBZP8zXujG7mUsuaWCiJyqEqKU2atwgezWACtOAECIOXEqOrdNXpm L85VGxajxrZDAfpMcQYwstFk86NGrW4Sg/mgVXTBDTxzHrvA6V0vAcJGuRTDcstEAq Avt0ciMO9w4nd7XBoAqxQPpOSz1Pk9xvLcN/hteER2JmXoJufJJ5CmTLCwb4fYrib8 yCmhoq8ET5lURUIhN11RUFPIuSb6ExYund0wPzlmWTvALS596kIyAavvoIMrFkoaK/ 74YKAGkgvXR1btZFXE3EYibDRakI8rVdwcP9/cHB7FqPwviVqDwoVRF497VTkn1lyf eIufnZiXWfg3w== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 18:36:21 -0000 Hello All, I am trying to use an MHET2x-1TC in a Sun X4500 running 10.1-RELEASE, but cannot seem to get the device to show up anywhere. Has anybody had any success using this adapter on 10.1? If so what did you have to do to get it to work? I've downloaded two versions of the driver from the Mellanox site, MLNX_EN_FreeBSD_v2.1.tgz and the newer MLNX_OFED_FREEBSD_V2.1.5.tar.gz. both built and installed. I downloaded and installed mft-3.8.0-56 tools and installed them. I've tried loading the old and the new modules from loader.conf with a reboot, and get the same results - no new devices in either /dev or ifconfig pciconf sees the device: # pciconf -lv | grep Mellanox -C 3 class = network subclass = ethernet pcib7@pci0:6:2:0: class=0x060400 card=0x00000000 chip=0x5a4615b3 rev=0xa1 hdr=0x01 vendor = 'Mellanox Technologies' device = 'MT23108 PCI Bridge' class = bridge subclass = PCI-PCI -- class = mass storage subclass = SCSI none2@pci0:7:0:0: class=0x0c0600 card=0x5a4415b3 chip=0x5a4415b3 rev=0xa1 hdr=0x00 vendor = 'Mellanox Technologies' device = 'MT23108 InfiniHost' class = serial bus none3@pci0:128:0:0: class=0x058000 card=0x00000000 chip=0x005e10de rev=0xa4 hdr=0x00 and mst sees it as well: # mst status MST devices: ------------ pci0:6:2:0 - MT23108 PCI Bridge pci0:7:0:0 - MT23108 InfiniHost When I ran flint it told me the device was too old: flint -d pci0:6:2:0 q -E- Cannot open Device: pci0:6:2:0. No such file or directory. MFE_OLD_DEVICE_TYPE Although I can see the modules in kldstat, the driver never shows up on dmesg, and there are no additional network devices in ifconfig. any ideas or suggestions are greatly appreciated! thanks, ron. From owner-freebsd-infiniband@FreeBSD.ORG Tue Mar 24 21:02:05 2015 Return-Path: Delivered-To: freebsd-infiniband@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 7DBD470B for ; Tue, 24 Mar 2015 21:02:05 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FDE87F9 for ; Tue, 24 Mar 2015 21:02:05 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5F4C11FE022; Tue, 24 Mar 2015 22:02:02 +0100 (CET) Message-ID: <5511D0F9.1040007@selasky.org> Date: Tue, 24 Mar 2015 22:02:49 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: rondzierwa@comcast.net, freebsd-infiniband@freebsd.org, Oded Shanoon Subject: Re: Mellanox MHET2X-1TC References: <2047411187.14848489.1427222174378.JavaMail.zimbra@comcast.net> In-Reply-To: <2047411187.14848489.1427222174378.JavaMail.zimbra@comcast.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 21:02:05 -0000 On 03/24/15 19:36, rondzierwa@comcast.net wrote: > Hello All, > > I am trying to use an MHET2x-1TC in a Sun X4500 running 10.1-RELEASE, but cannot seem to get the device to show up anywhere. > > Has anybody had any success using this adapter on 10.1? If so what did you have to do to get it to work? > > I've downloaded two versions of the driver from the Mellanox site, MLNX_EN_FreeBSD_v2.1.tgz and the newer MLNX_OFED_FREEBSD_V2.1.5.tar.gz. > both built and installed. I downloaded and installed mft-3.8.0-56 tools and installed them. I've tried loading the old and the new modules from loader.conf with a reboot, and get the same results - no new devices in either /dev or ifconfig > > pciconf sees the device: > > # pciconf -lv | grep Mellanox -C 3 > class = network > subclass = ethernet > pcib7@pci0:6:2:0: class=0x060400 card=0x00000000 chip=0x5a4615b3 rev=0xa1 hdr=0x01 > vendor = 'Mellanox Technologies' > device = 'MT23108 PCI Bridge' > class = bridge > subclass = PCI-PCI > The PCI ID of your device is listed, but not in any drivers. #define PCI_DEVICE_ID_MELLANOX_TAVOR_BRIDGE 0x5a46 --HPS From owner-freebsd-infiniband@FreeBSD.ORG Wed Mar 25 18:33:32 2015 Return-Path: Delivered-To: freebsd-infiniband@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 00DEEF68 for ; Wed, 25 Mar 2015 18:33:31 +0000 (UTC) Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B7942F7B for ; Wed, 25 Mar 2015 18:33:31 +0000 (UTC) Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-02v.sys.comcast.net with comcast id 7uXr1q0062Udklx01uZUy1; Wed, 25 Mar 2015 18:33:28 +0000 Received: from resmail-ch2-217v.sys.comcast.net ([162.150.48.251]) by resomta-ch2-18v.sys.comcast.net with comcast id 7uZT1q00Q5RAVJS01uZTRU; Wed, 25 Mar 2015 18:33:28 +0000 Date: Wed, 25 Mar 2015 18:33:27 +0000 (UTC) From: rondzierwa@comcast.net To: Hans Petter Selasky Message-ID: <914105862.15784341.1427308407435.JavaMail.zimbra@comcast.net> In-Reply-To: <5511D0F9.1040007@selasky.org> References: <2047411187.14848489.1427222174378.JavaMail.zimbra@comcast.net> <5511D0F9.1040007@selasky.org> Subject: Re: Mellanox MHET2X-1TC MIME-Version: 1.0 X-Originating-IP: [::ffff:50.241.136.195] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF28 (Win)/8.0.7_GA_6031) Thread-Topic: Mellanox MHET2X-1TC Thread-Index: GbxRcvotyOVv7HaI3cvhi/ct3mkI7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1427308408; bh=YrBGZbClJiA9NmzbbKURBvhlgfy2Voo9eMSrWT2cWp8=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=FOqT2hRloa90v2folSSIskuzQJtWxwN37tDtsrsIktWaQXBibEaljNUtLILvzVMRd FxdMXAQUkVJq1XqYRHbPz+Bdo1qJlp9GxQldLfJ+F/nEzQguECCh1tJ81DOSqqe5SG /Gqq/KoiilkdRIx4xiiqdkfWVYwtcolPzVvxizROGnMBmN1iGUIcA2gOEnM9icgedQ 83TaI3yy1ilsVudcI6UsnE/SCGbFqyrTnF+waDnw3MVO0ZIJTQxjmEzgJvCGtbPgHG ec3tLFpsyd1fGQ4Y/IsgtlVdnwyNuTpkqw7lIOQ8KExU9ozzZ4FFtjSPA9BVfjpIWf UAPSkpYIr9m2g== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-infiniband@freebsd.org X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 18:33:32 -0000 Hans, Thanks for your hint. but I'm a little unclear where this should be defined. I found it in the pci.h in the kernel source (/usr/src/sys/ofed/include/linux/pci.h), and in the pci.h file in the Mellanox source tree. At the risk of sounding like a total newb, does it have to be added somewhere else for FreeBSD? thanks, ron. ----- Original Message ----- From: "Hans Petter Selasky" To: rondzierwa@comcast.net, freebsd-infiniband@freebsd.org, "Oded Shanoon" Sent: Tuesday, March 24, 2015 5:02:49 PM Subject: Re: Mellanox MHET2X-1TC On 03/24/15 19:36, rondzierwa@comcast.net wrote: > Hello All, > > I am trying to use an MHET2x-1TC in a Sun X4500 running 10.1-RELEASE, but cannot seem to get the device to show up anywhere. > > Has anybody had any success using this adapter on 10.1? If so what did you have to do to get it to work? > > I've downloaded two versions of the driver from the Mellanox site, MLNX_EN_FreeBSD_v2.1.tgz and the newer MLNX_OFED_FREEBSD_V2.1.5.tar.gz. > both built and installed. I downloaded and installed mft-3.8.0-56 tools and installed them. I've tried loading the old and the new modules from loader.conf with a reboot, and get the same results - no new devices in either /dev or ifconfig > > pciconf sees the device: > > # pciconf -lv | grep Mellanox -C 3 > class = network > subclass = ethernet > pcib7@pci0:6:2:0: class=0x060400 card=0x00000000 chip=0x5a4615b3 rev=0xa1 hdr=0x01 > vendor = 'Mellanox Technologies' > device = 'MT23108 PCI Bridge' > class = bridge > subclass = PCI-PCI > The PCI ID of your device is listed, but not in any drivers. #define PCI_DEVICE_ID_MELLANOX_TAVOR_BRIDGE 0x5a46 --HPS From owner-freebsd-infiniband@FreeBSD.ORG Thu Mar 26 18:43:04 2015 Return-Path: Delivered-To: freebsd-infiniband@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 A1159C1 for ; Thu, 26 Mar 2015 18:43:04 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69DA07BE for ; Thu, 26 Mar 2015 18:43:04 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 44D42208B1 for ; Thu, 26 Mar 2015 14:34:50 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute1.internal (MEProxy); Thu, 26 Mar 2015 14:34:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=sVKRKTdo2hX6REMX+fwUwI36n70=; b=C9F2 +f3jgNOUKo7QSYuOrFBTQG9Pnfpi9AMhrvQTTAwmVMXp83G99EFlV4gwkTZh5+J0 GOkADwIYdH7KaXnI+Z0BmMlxeZbP0XrB0Y5s7Kt+5DV27WwZEyaLwTpcHq2jUx3D PpiGD2C+WsirAs1hI4kLugMgcz3K0s381IT7RQw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=sVKRKTdo2hX6REMX+fwUwI36 n70=; b=f5wc9PNDZxmYCHpfVA29ro20DO+vZmBTRlaYNkEgYjo9dSMo7ogZ5lUb FIaou3L2YAEwXUtbAtEn19DJY1Zgxuz0BE1tMDWIktN9vd4fgV2LZqKK6CIGzQgy uuYemHlMycP72q/EXeknGF0q4dA5Vab5KCELz0qJaURJ0ZbP1pM= Received: by web2.nyi.internal (Postfix, from userid 99) id DB571541238; Thu, 26 Mar 2015 14:34:52 -0400 (EDT) Message-Id: <1427394892.2064990.245689489.75C56100@webmail.messagingengine.com> X-Sasl-Enc: IZXYkIau3QV1upz2tMLpI6vkyUJYA/LCdss/1uGjfDj9 1427394892 From: Anthony Cornehl To: freebsd-infiniband@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-f437beda In-Reply-To: <914105862.15784341.1427308407435.JavaMail.zimbra@comcast.net> References: <2047411187.14848489.1427222174378.JavaMail.zimbra@comcast.net> <5511D0F9.1040007@selasky.org> <914105862.15784341.1427308407435.JavaMail.zimbra@comcast.net> Subject: Re: Mellanox MHET2X-1TC Date: Thu, 26 Mar 2015 11:34:52 -0700 X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 18:43:04 -0000 You'll want to add it to the devices table in mthca_main.c as well, to register the driver with that device. Cheers! -- Anthony Cornehl accornehl@fastmail.fm On Wed, Mar 25, 2015, at 11:33 AM, rondzierwa@comcast.net wrote: > Hans, > > Thanks for your hint. but I'm a little unclear where this should be > defined. I found it in the pci.h in the kernel source > (/usr/src/sys/ofed/include/linux/pci.h), and in the pci.h file in the > Mellanox source tree. At the risk of sounding like a total newb, does it > have to be added somewhere else for FreeBSD? > > thanks, > ron. > > ----- Original Message ----- > > From: "Hans Petter Selasky" > To: rondzierwa@comcast.net, freebsd-infiniband@freebsd.org, "Oded > Shanoon" > Sent: Tuesday, March 24, 2015 5:02:49 PM > Subject: Re: Mellanox MHET2X-1TC > > On 03/24/15 19:36, rondzierwa@comcast.net wrote: > > Hello All, > > > > I am trying to use an MHET2x-1TC in a Sun X4500 running 10.1-RELEASE, but cannot seem to get the device to show up anywhere. > > > > Has anybody had any success using this adapter on 10.1? If so what did you have to do to get it to work? > > > > I've downloaded two versions of the driver from the Mellanox site, MLNX_EN_FreeBSD_v2.1.tgz and the newer MLNX_OFED_FREEBSD_V2.1.5.tar.gz. > > both built and installed. I downloaded and installed mft-3.8.0-56 tools and installed them. I've tried loading the old and the new modules from loader.conf with a reboot, and get the same results - no new devices in either /dev or ifconfig > > > > pciconf sees the device: > > > > # pciconf -lv | grep Mellanox -C 3 > > class = network > > subclass = ethernet > > pcib7@pci0:6:2:0: class=0x060400 card=0x00000000 chip=0x5a4615b3 rev=0xa1 hdr=0x01 > > vendor = 'Mellanox Technologies' > > device = 'MT23108 PCI Bridge' > > class = bridge > > subclass = PCI-PCI > > > > The PCI ID of your device is listed, but not in any drivers. > > #define PCI_DEVICE_ID_MELLANOX_TAVOR_BRIDGE 0x5a46 > > --HPS > > _______________________________________________ > freebsd-infiniband@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-infiniband > To unsubscribe, send any mail to > "freebsd-infiniband-unsubscribe@freebsd.org"