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


Groups > linux.debian.kernel > #58625

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

From Benjamin Drung <benjamin.drung@profitbricks.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#871595: initramfs-tools: Include mlx4 and mlx5 InfiniBand modules
Date 2017-08-09 19:40 +0200
Message-ID <ucD7z-1Xn-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[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.

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web