Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #58625 > unrolled thread

Bug#871595: initramfs-tools: Include mlx4 and mlx5 InfiniBand modules

Started byBenjamin Drung <benjamin.drung@profitbricks.com>
First post2017-08-09 19:40 +0200
Last post2017-08-09 19:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel


Contents

  Bug#871595: initramfs-tools: Include mlx4 and mlx5 InfiniBand modules Benjamin Drung <benjamin.drung@profitbricks.com> - 2017-08-09 19:40 +0200

#58625 — Bug#871595: initramfs-tools: Include mlx4 and mlx5 InfiniBand modules

FromBenjamin Drung <benjamin.drung@profitbricks.com>
Date2017-08-09 19:40 +0200
SubjectBug#871595: initramfs-tools: Include mlx4 and mlx5 InfiniBand modules
Message-ID<ucD7z-1Xn-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: initramfs-tools
Version: 0.130
Severity: normal
Tags: patch

Hi,

Mellanox ConnectX architecture is:  mlx4_core is the lower level
PCI driver which register on the PCI id, and protocol specific drivers
are depended on it: mlx4_en - for Ethernet and mlx4_ib for Infiniband.
NIC could have multiple ports which can change their type dynamically.
We use the request_module() call to load the relevant protocol driver
when needed: on loading time or at port type change event.

The mlx4_core and mlx5_core modules are included in the initrd, but not
mlx4_ib and mlx5_ib. Thus the request_module() call will not find these
modules and fail load them. The mlx*_ib module loading will not be
retried.

Therefore also include mlx4_ib and mlx5_ib in the initrd to make
autoloading them work. The patch for that is attached.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.drung@profitbricks.com
Web: https://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Achim Weiss.

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web