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"