From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Drung Subject: Re: [PATCH v2 rdma-core 0/6] Common udev/systemd based module auto loading Date: Wed, 09 Aug 2017 19:43:50 +0200 Message-ID: <1502300630.1259.4.camel@profitbricks.com> References: <1501194685-9447-1-git-send-email-jgunthorpe@obsidianresearch.com> <1501256525.4572.44.camel@profitbricks.com> <20170728154749.GA9646@obsidianresearch.com> <1501260065.4572.47.camel@profitbricks.com> <20170728165614.GA14302@obsidianresearch.com> <1501761659.3581.2.camel@profitbricks.com> <20170803175242.GA31628@obsidianresearch.com> <1501863751.3581.19.camel@profitbricks.com> <20170808223851.GE29372@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20170808223851.GE29372-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Leon Romanovsky , Doug Ledford , Ram Amrani , Steve Wise , Ira Weiny , Jarod Wilson List-Id: linux-rdma@vger.kernel.org Am Dienstag, den 08.08.2017, 16:38 -0600 schrieb Jason Gunthorpe: > On Fri, Aug 04, 2017 at 06:22:31PM +0200, Benjamin Drung wrote: > > > By default, nothing from the infiniband directory is included. The > > question is: What is the right thing to do? Should everything from > > kernel/drivers/infiniband/hw be included in the initrd by default? > > No, only modules that can be request_module'd from the initrd should > be included in the initrd. > > AFAIK only the two mellanox drivers do request module, so only those > two or three modules (mlx4_ib, mlx4_en, mlx5_ib?) should be included. > > That sounds like something that should be fixed in the initd package? > Or should rdma-core be dropping some kind of hook in a .d directory? Yes. I opened a bug report against initramfs-tools with a patch attached: https://bugs.debian.org/871595 -- Benjamin Drung System Developer Debian & Ubuntu Developer ProfitBricks GmbH Greifswalder Str. 207 D - 10405 Berlin Email: benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org Web: https://www.profitbricks.com Sitz der Gesellschaft: Berlin. Registergericht: Amtsgericht Charlottenburg, HRB 125506B. Geschäftsführer: Achim Weiss. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html