Chelsio NIC drivers (cxgb3) support for Centos 8

Issues related to configuring your network
naveen.centos
Posts: 3
Joined: 2019/02/04 13:27:09

Chelsio NIC drivers (cxgb3) support for Centos 8

Post by naveen.centos » 2020/08/04 02:58:28

Hi Team,

I can see Chelsio NIC drivers (cxgb3) are no logger added with Centos 8 repo, but i need some older hardware servers to run with Centos 8.

Please support us with cxgb3 driver for Centos 8, so that we can upgrade to Centos 8.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by TrevorH » 2020/08/04 08:16:44

ELRepo provide a kmod-cxgb3 that you can use.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
vadim.cojuhar
Posts: 3
Joined: 2020/08/06 15:10:05

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by vadim.cojuhar » 2020/08/06 15:33:55

Hmm, I get this error during installation:

Code: Select all

conflicting requests
  - nothing provides kernel(dma_alloc_attrs) = 0xd97655d6 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_free_attrs) = 0x83e0ea3f needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_set_mask) = 0x5fdebff5 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(_dev_info) = 0xaedd3d2c needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_ops) = 0x7a647762 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_set_coherent_mask) = 0x8057466b needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_err) = 0x0a8bd80f needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_warn) = 0x4b2747e8 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(__dynamic_dev_dbg) = 0x911c8679 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_alert) = 0xf76907a9 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by TrevorH » 2020/08/06 16:33:52

You need to be on CentOS 8.2 with the 8.2 kernel in use before you can use that particular version of the kmod. Currently that means uname -r should report 4.18.0-193.14.2.el8_2.x86_64 though it should work with any 4.18.0-193* kernel.

Try yum update first.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
vadim.cojuhar
Posts: 3
Joined: 2020/08/06 15:10:05

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by vadim.cojuhar » 2020/08/07 08:51:52

On a freshly installed system with all updates I get the same error:

Code: Select all

[vadimco@test ~]$ sudo yum install kmod-cxgb3
Failed to set locale, defaulting to C.UTF-8
Error: 
 Problem: conflicting requests
  - nothing provides kernel(dma_alloc_attrs) = 0xd97655d6 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_free_attrs) = 0x83e0ea3f needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_set_mask) = 0x5fdebff5 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(_dev_info) = 0xaedd3d2c needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_ops) = 0x7a647762 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dma_set_coherent_mask) = 0x8057466b needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_err) = 0x0a8bd80f needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_warn) = 0x4b2747e8 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(__dynamic_dev_dbg) = 0x911c8679 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
  - nothing provides kernel(dev_alert) = 0xf76907a9 needed by kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[vadimco@test ~]$ uname -r
4.18.0-193.14.2.el8_2.x86_64
I downloaded src.rpm from elrepo, replaced kmod_kernel_version to 4.18.0-193.14.2.el8_2 in spec file and rebuilt the package. The network card is working now.
But maybe I did something wrong, because I get the same error when try yum update command after.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by TrevorH » 2020/08/07 09:47:22

What's the output from rpm -qa kernel\* | sort ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
vadim.cojuhar
Posts: 3
Joined: 2020/08/06 15:10:05

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by vadim.cojuhar » 2020/08/07 10:02:50

Code: Select all

[vadimco@test ~]$ rpm -qa kernel\* | sort
kernel-4.18.0-193.14.2.el8_2.x86_64
kernel-4.18.0-193.el8.x86_64
kernel-core-4.18.0-193.14.2.el8_2.x86_64
kernel-core-4.18.0-193.el8.x86_64
kernel-modules-4.18.0-193.14.2.el8_2.x86_64
kernel-modules-4.18.0-193.el8.x86_64
kernel-tools-4.18.0-193.14.2.el8_2.x86_64
kernel-tools-libs-4.18.0-193.14.2.el8_2.x86_64

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by TrevorH » 2020/08/07 11:43:03

Ah, OK, I see the problem, It needs a rebuild for 8.2. If you head to the ELRepo bugtracker and raise a ticket there, they should be able to do that and make it available. It depends on symbols that are only in the 8.1 kernel series and I had one of those installed - the split of the "kernel" package into different bits like kernel-core/kernel-modules still catches me out...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

naveen.centos
Posts: 3
Joined: 2019/02/04 13:27:09

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by naveen.centos » 2020/08/11 11:44:40

Thanks for the update, i tried rpmbuild locally using source rpm (kmod-cxgb3-1.1.5-1.el8_1.elrepo.src.rpm) with kernel 4.18.0-193.el8.x86_64, but that driver doesn't seems to work.

I can see a ticket on ELrepo bugtracker regarding this issue, will followup on that.

https://elrepo.org/bugs/bug_view_advanc ... ug_id=1004

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Chelsio NIC drivers (cxgb3) support for Centos 8

Post by TrevorH » 2020/08/11 11:56:28

That's the ticket that asked for the driver package for 8.1. You need to ask them to rebuild it now for 8.2.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply