From owner-freebsd-infiniband@FreeBSD.ORG Wed Jun 5 17:37:15 2013 Return-Path: Delivered-To: freebsd-infiniband@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EA3C637C; Wed, 5 Jun 2013 17:37:15 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id B521516BB; Wed, 5 Jun 2013 17:37:15 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w16so2139879pde.9 for ; Wed, 05 Jun 2013 10:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=Elfjc8XLk8ZNXjpKJp4DQkktAwsvHwx4vvtjeOU+F6I=; b=qS8flcG+yFBcJyiDxWaWSGj3K9OJQGmTasmH6UXQ6hIfYjlaUsSfsPJW+C2CfiQwPN cjBjXwzzU86Xty8qNzuVLYLF/cqqjALsJ44O4FCcILlTAT3lMmZm/Tzn9c11BKLfbKAE ziVg88Yck+8VYAo1YtgINsgnmVuOwH4WEEo3FY5gffla49C+8ZvbBkQluR0VQUrNVa0L pva/eTPeYpKD5WHBKok2OBn8fUvdaICkZtS5TBYVmOCVSZVDZm5pTRVxHdpG4VAYh0D7 W5iBMsTuQWAndbYb+h65JyMKhVtkwzqtswHe0E+wsjw3BAILhIyfKo0d18/NQSPFTreJ hqVQ== X-Received: by 10.66.126.11 with SMTP id mu11mr34181878pab.81.1370453834995; Wed, 05 Jun 2013 10:37:14 -0700 (PDT) Received: from [192.168.20.5] (c-98-203-241-95.hsd1.wa.comcast.net. [98.203.241.95]) by mx.google.com with ESMTPSA id p2sm5008986pag.22.2013.06.05.10.37.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 10:37:14 -0700 (PDT) Subject: Re: How to compile ipoib module manually? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=ISO-8859-8-i From: Garrett Cooper In-Reply-To: <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> Date: Wed, 5 Jun 2013 10:34:51 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com>, <201306051109.57160.jhb@freebsd.org> <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> To: Alex Liptsin X-Mailer: Apple Mail (2.1283) Cc: John Baldwin , freebsd-net@freebsd.org, Regev Lev , freebsd-infiniband@freebsd.org, Meny Yossefi , freebsd-questions@freebsd.org X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 17:37:16 -0000 On Jun 5, 2013, at 10:22 AM, Alex Liptsin wrote: > Thanks a lot. >=20 > Alex L. >=20 >=20 > Sent from my iPhone >=20 > On 5 =E1=E9=E5=F0 2013, at 18:13, "John Baldwin" = > wrote: >=20 > On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote: > I commented on that lines, because I want to compile and load that = modules > manually. > I had succeed to compile and load mlx4, mlx4ib and mlxen from = /sys/modules: >=20 > [root@h-qa-033 mlxen]# kldstat > Id Refs Address Size Name > 1 14 0xffffffff80200000 13acbd8 kernel > 2 1 0xffffffff81612000 21e5 if_mos.ko > 3 3 0xffffffff81615000 124eb mlx4.ko > 4 1 0xffffffff81628000 e225 mlx4ib.ko > 5 1 0xffffffff81637000 ec60 mlxen.ko >=20 > The problem is that IPOIB module is missing in /sys/modules. >=20 > 1. Where can I find it? >=20 > 2. How can I compile ipoib support? >=20 > You will have to create one. You should be able to use the existing = module > Makefiles as a guide. (Please don't cross-post multiple mailing lists) See also: https://github.com/yaneurabeya/freebsd/tree/ib-modules = . Diff that branch and master to see what I've done so far to make the = IB stuff into modules (example: = https://github.com/yaneurabeya/freebsd/blob/ib-modules/sys/modules/ipoib/M= akefile ). It's not perfect, but it's a start. Something that I've = wanted to push into the Isilon IB branch for some time, but it's going = to take a while before that's committed back to FreeBSD proper I think. Please credit me and add sponsored-by: EMC Isilon for the = initial work if you push this elsewhere. Otherwise, it's all your's to = play with :). Cheers, -Garrett=