public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Nicolas Morey-Chaisemartin
	<NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org>
Cc: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core 1/2] suse: Add spec file for SUSE
Date: Mon, 28 Aug 2017 12:24:06 +0300	[thread overview]
Message-ID: <20170828092406.GH12880@mtr-leonro.local> (raw)
In-Reply-To: <0754696d-42d5-5083-8ed0-435ab3f189de-l3A5Bk7waGM@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3343 bytes --]

On Mon, Aug 28, 2017 at 11:13:07AM +0200, Nicolas Morey-Chaisemartin wrote:
>
>
> Le 28/08/2017 à 11:05, Leon Romanovsky a écrit :
> > On Mon, Aug 28, 2017 at 10:17:50AM +0200, Nicolas Morey-Chaisemartin wrote:
> >>
> >> Le 28/08/2017 à 08:07, Leon Romanovsky a écrit :
> >>> On Mon, Aug 28, 2017 at 07:59:29AM +0200, Nicolas Morey-Chaisemartin wrote: >> >> >> Le 27/08/2017 à 23:47, Jason Gunthorpe a écrit : >>> On Thu, Aug 24, 2017 at 04:49:54PM +0200, Nicolas Morey-Chaisemartin wrote: >>> >>>> +install -D -m0644 redhat/rdma.conf %{buildroot}/%{_sysconfdir}/rdma/rdma.conf >>>> +sed 's%/usr/libexec%/usr/lib%' redhat/rdma.service > %{buildroot}%{_unitdir}/rdma.service >>>> +chmod 0644 %{buildroot}%{_unitdir}/rdma.service >>>> +install -D -m0644 redhat/rdma.sriov-vfs %{buildroot}/%{_sysconfdir}/rdma/sriov-vfs >>>> +install -D -m0644 redhat/rdma.mlx4.conf %{buildroot}/%{_sysconfdir}/rdma/mlx4.conf >>>> +install -D -m0644 redhat/rdma.udev-ipoib-naming.rules %{buildroot}%{_udevrulesdir}/70-persistent-ipoib.rules >>>> +sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.modules-setup.sh > %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh >>>> +chmod 0755 %{buildroot}%{dracutlibdir}/modules.d/05rdma/module-setup.sh >>>> +install -D -m0644 redhat/rdma.udev-rules %{buildroot}%{_udevrulesdir}/98-rdma.rules >>>> +sed
> >> 's%/usr/libexec%/usr/lib%g' redhat/rdma.mlx4.sys.modprobe > %{buildroot}%{sysmodprobedir}/50-libmlx4.conf >>>> +chmod 0644 %{buildroot}%{sysmodprobedir}/50-libmlx4.conf >>>> +sed 's%/usr/libexec%/usr/lib%g' redhat/rdma.kernel-init > %{buildroot}%{_libexecdir}/rdma-init-kernel >>>> +chmod 0755 %{buildroot}%{_libexecdir}/rdma-init-kernel >>>> +install -D -m0755 redhat/rdma.sriov-init %{buildroot}%{_libexecdir}/rdma-set-sriov-vf >>>> +install -D -m0644 redhat/rdma.fixup-mtrr.awk %{buildroot}%{_libexecdir}/rdma-fixup-mtrr.awk >>>> +install -D -m0755 redhat/rdma.mlx4-setup.sh %{buildroot}%{_libexecdir}/mlx4-setup.sh >>> Going forward suse may not want to include this boot stuff from RH, >>> unless historical versions of suse used it or something similar. The >>> new cross-distro stuff in kernel-boot basically does the same thing. >>> >>> I'm hoping RH will discontinue their version in newer releases. >>> >>> Jason >> Do you mean that all these should not be used anymore? > > I
> >> think so, from the spotted immediately - "fixup-mtrr" - is not needed > for sure. > >> The udev rules and the few new services are now sufficient ? > > This was the intention. > > I tried dropping those files from the package and it does not seem to be fully functionnal yet.
> >> I'm running and a very old Mellanox card (mthca driver) and the rdma-load-modules@infiniband is not started. Thus ipoib and umad modules are missing.
> >>
> > Can you please resend?
> > It is not readable.
> >
> > Thanks
> >
> Sorry. The latest Thunderbird seems to screw up things regularly now :s
> The current udev system does not load the infiniband modules (ipoib, umad) for old mthca cards.

Among us, Doug is the last who has such cards.

>
> I've sent a PR that fixes this on github: https://github.com/linux-rdma/rdma-core/pull/193
> I've added a second patch for qib. On my system (and in kernel tree) the module is called ib_qib so I think the udev rule as a typo there.

Thanks

>
> Nicolas
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-08-28  9:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 14:49 [PATCH rdma-core 1/2] suse: Add spec file for SUSE Nicolas Morey-Chaisemartin
     [not found] ` <abf2bc82-824b-a1d9-bc6b-a3a77045d633-l3A5Bk7waGM@public.gmane.org>
2017-08-27 21:47   ` Jason Gunthorpe
     [not found]     ` <20170827214704.GC14542-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28  5:59       ` Nicolas Morey-Chaisemartin
     [not found]         ` <ecddc225-0dc5-c51f-535b-c2bee252d5ed-l3A5Bk7waGM@public.gmane.org>
2017-08-28  6:07           ` Leon Romanovsky
     [not found]             ` <20170828060758.GD12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28  8:17               ` Nicolas Morey-Chaisemartin
     [not found]                 ` <86a21008-c993-de29-2cb9-845af14c4cd5-l3A5Bk7waGM@public.gmane.org>
2017-08-28  9:05                   ` Leon Romanovsky
     [not found]                     ` <20170828090537.GG12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28  9:13                       ` Nicolas Morey-Chaisemartin
     [not found]                         ` <0754696d-42d5-5083-8ed0-435ab3f189de-l3A5Bk7waGM@public.gmane.org>
2017-08-28  9:24                           ` Leon Romanovsky [this message]
     [not found]                             ` <20170828092406.GH12880-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-28  9:36                               ` Nicolas Morey-Chaisemartin
2017-08-28 15:22                           ` Jason Gunthorpe
     [not found]                             ` <20170828152254.GB7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28 17:23                               ` Adit Ranadive
     [not found]                                 ` <ea729fa9-6f6e-9834-ff77-377b1e843f79-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2017-08-28 17:29                                   ` Jason Gunthorpe
     [not found]                                     ` <20170828172954.GA21341-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-30  0:31                                       ` Adit Ranadive
     [not found]                                         ` <32d85325-7aa0-edfe-eaca-213102ea14bd-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2017-08-30  1:24                                           ` Jason Gunthorpe
2017-08-28 15:05       ` [PATCH rdma-core] suse: switch fully to the new udev mechanism Nicolas Morey-Chaisemartin
     [not found]         ` <71835edf-cb2a-d4f8-627e-0f60ee772fb7-l3A5Bk7waGM@public.gmane.org>
2017-08-28 15:16           ` Jason Gunthorpe
     [not found]             ` <20170828151609.GA7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-28 15:23               ` Nicolas Morey-Chaisemartin
     [not found]                 ` <b4b35cf1-ed07-dbee-37cc-15c00480ad04-l3A5Bk7waGM@public.gmane.org>
2017-08-28 15:31                   ` Jason Gunthorpe
     [not found]                     ` <20170828153146.GC7867-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-29  7:59                       ` Nicolas Morey-Chaisemartin
     [not found]                         ` <84031eb6-9ae5-71c6-8ba3-252204c3688d-l3A5Bk7waGM@public.gmane.org>
2017-08-29 15:03                           ` Jason Gunthorpe
     [not found]                             ` <20170829150329.GA26051-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-29 15:20                               ` Doug Ledford
     [not found]                                 ` <1504020051.52034.51.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-29 17:12                                   ` Jason Gunthorpe
2017-08-29 15:38                               ` Nicolas Morey-Chaisemartin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170828092406.GH12880@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox