[elrepo] Support for older Mellanox network cards in RHEL 8.

Phil Perry phil at elrepo.org
Fri Apr 17 15:23:11 EDT 2020


On 17/04/2020 18:18, Phil Perry wrote:
> On 17/04/2020 00:33, Jeremy Reben wrote:
>> It appears that didn't work. I don't suppose there is a GEN1 option is 
>> there?
>> That device still doesn't show a kernel device driver after rebooting.
>> lsmod shows the elrepo mlx drivers, but nothing loaded, no dmesg, no 
>> nothing.
>> Is that driver supporting those device ids?
>> Did I need to do something else to enable it loading beyond dnf install?
>>
>>
> 
> Hi Jeremy,
> 
> Thanks for the feedback. Obviously something more is required. Let me 
> have a more in depth look at what Red Hat did to disable your device and 
> I'll have another go for you. I'll post back here when I have another 
> version for you to test.
> 
> Regards,
> 
> Phil
> 

Fixed version uploaded to testing repository for you to try:

kmod-mlx4-4.0-2.el8_1.elrepo.x86_64.rpm

Should be available on the mirror sites shortly.

For some reason I've not yet fathomed out, the definition of 
MLX4_CORE_GEN2 in the Makefile did not/is not working, so for now I've 
just commented out the #ifdef statement in the source code.

I've performed a quick test install, and modinfo now lists your pci_id 
so we should be good to go:


$ modinfo mlx4_core
filename: 
/lib/modules/4.18.0-147.8.1.el8_1.x86_64/weak-updates/mlx4/mlx4_core.ko
version:        4.0-0
license:        Dual BSD/GPL
description:    Mellanox ConnectX HCA low-level driver
author:         Roland Dreier
rhelversion:    8.1
srcversion:     7C614DAF883104426BEE53E
alias:          pci:v000015B3d00001010sv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Fsv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Esv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Dsv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Csv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Bsv*sd*bc*sc*i*
alias:          pci:v000015B3d0000100Asv*sd*bc*sc*i*
alias:          pci:v000015B3d00001009sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001008sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001007sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001006sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001005sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001004sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001003sv*sd*bc*sc*i*
alias:          pci:v000015B3d00001002sv*sd*bc*sc*i*
alias:          pci:v000015B3d0000676Esv*sd*bc*sc*i*
alias:          pci:v000015B3d00006746sv*sd*bc*sc*i*
alias:          pci:v000015B3d00006764sv*sd*bc*sc*i*
alias:          pci:v000015B3d0000675Asv*sd*bc*sc*i*
alias:          pci:v000015B3d00006372sv*sd*bc*sc*i*
alias:          pci:v000015B3d00006750sv*sd*bc*sc*i*
alias:          pci:v000015B3d00006368sv*sd*bc*sc*i*
alias:          pci:v000015B3d0000673Csv*sd*bc*sc*i*
alias:          pci:v000015B3d00006732sv*sd*bc*sc*i*
alias:          pci:v000015B3d00006354sv*sd*bc*sc*i*
alias:          pci:v000015B3d0000634Asv*sd*bc*sc*i*
alias:          pci:v000015B3d00006340sv*sd*bc*sc*i*



More information about the elrepo mailing list