Date: Wed, 5 Jun 2013 10:34:51 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Alex Liptsin <alexl@mellanox.com> Cc: John Baldwin <jhb@freebsd.org>, freebsd-net@freebsd.org, Regev Lev <regevl@mellanox.com>, freebsd-infiniband@freebsd.org, Meny Yossefi <menyy@mellanox.com>, freebsd-questions@freebsd.org Subject: Re: How to compile ipoib module manually? Message-ID: <F98E14CC-4C7B-41AD-A51A-AA3829FF961B@gmail.com> In-Reply-To: <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> References: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com>, <201306051109.57160.jhb@freebsd.org> <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" = <jhb@freebsd.org<mailto:jhb@freebsd.org>> 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F98E14CC-4C7B-41AD-A51A-AA3829FF961B>