Re: [PATCH v2 rdma-core 0/6] Common udev/systemd based module auto loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, den 09.08.2017, 14:00 -0600 schrieb Jason Gunthorpe:
> On Wed, Aug 09, 2017 at 01:54:30PM -0600, Jason Gunthorpe wrote:
> > On Wed, Aug 09, 2017 at 07:43:50PM +0200, Benjamin Drung wrote:
> > > 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
> > 
> > Looks fine to me, thanks
> 
> Actually, does it somehow get mlx4_en too?

Yes. mlx4_en.ko is in kernel/drivers/net/ethernet/mellanox/mlx4/ and
the whole kernel/drivers/net is included in the initrd (with some
specific excludes).

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.drung@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux