View Issue Details

IDProjectCategoryView StatusLast Update
0001004channel: elrepo/el8--elrepo--request-for-enhancement--public2020-08-18 16:30
Reportergladroger Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0001004: Chelsio Communications Inc T320 10GbE Dual Port Adapter [1425:0031] driver support
DescriptionI upgraded my Centos system from 7 to 8 yesterday and did not think to check for removed drivers in Centos 8, have tried to install legacy linux drivers from https://www.chelsio.com/linux/ but have not able to install them from source because a error during make.

Can you please add driver for this network card to your repo, I would be very happy. I only use it internally to a NAS.
TagsNo tags attached.

Activities

toracat

2020-04-24 03:10

administrator   ~0006920

Sure. Your device is supported by the cxgb3 driver.

toracat

2020-04-24 12:39

administrator   ~0006924

The following packages will appear on our mirrors shortly.

elrepo-testing repo:

kmod-cxgb3-1.1.5-1.el8_1.elrepo.x86_64.rpm
kmod-cxgb3-1.1.5-1.el8_1.elrepo.src.rpm

Feedback welcome.

gladroger

2020-04-25 00:16

reporter   ~0006925

Can confirm working very well.

[ 6.409194] cxgb3 0000:03:00.0: Port 0 using 4 queue sets.
[ 6.409195] cxgb3 0000:03:00.0: Port 1 using 4 queue sets.
[ 6.409199] cxgb3 0000:03:00.0 eth0: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
[ 6.409201] cxgb3: eth0: 64MB CM, 0MB PMTX, 0MB PMRX, S/N: PT15120185
[ 6.409202] cxgb3 0000:03:00.0 eth1: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
[ 6.416120] cxgb3 0000:03:00.0 ens4: renamed from eth0
[ 6.489803] mgag200 0000:09:00.0: fb0: mgadrmfb frame buffer device

Thank you so much!!

gladroger

2020-04-25 00:27

reporter   ~0006926

Very thankful

Can I buy you a beer through any cryptocurrency or donate to elrepo?

toracat

2020-04-25 00:47

administrator   ~0006927

Great to hear it worked. Will move the packages to the main repository.

Hearing success stories is our best reward. :)

gladroger

2020-04-25 01:25

reporter   ~0006928

Sorry, might have spoken to soon.

I thought it worked, when I tested connecting to a nfs share on nas and it showed up but after a reboot the uplink is not detected. Could it be a driver issue? I know one cable is connected though I'm not on physical site.

4: ens4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:07:43:08:c0:b6 brd ff:ff:ff:ff:ff:ff
5: ens4d1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:07:43:08:c0:b7 brd ff:ff:ff:ff:ff:ff

ethtool ens4
Settings for ens4:
        Supported ports: [ AUI FIBRE ]
        Supported link modes: 10000baseT/Full
                                40000baseCR4/Full
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes: Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err

gladroger

2020-04-25 01:46

reporter   ~0006929

NAME UUID TYPE DEVICE
enp7s0f0 69f67a0e-98d0-4f9a-9d51-f5cfc91eb413 ethernet enp7s0f0
docker0 5c28b50c-1552-43cd-ab38-880384e793ae bridge docker0
ens4 7bfa7a3e-2582-4b83-9733-bad9e5695f40 ethernet ens4
virbr0 57925666-3ed2-47de-ad8c-c0e78256ef1d bridge virbr0
enp7s0f1 0b543056-ba26-4b9e-bdbd-de7740d35387 ethernet --
ens4dl 490c07f8-ece6-499b-bb07-7855cee4c34a ethernet --

naveen-elrepo

2020-08-11 09:57

reporter   ~0007121

Hi Team,

I need cxgb3 driver for kernel version 4.18.0-193.el8, since the current driver available on EL repo has been build for Centos 8.1 kernel (4.18.0-147.el8).

toracat

2020-08-11 10:02

administrator   ~0007122

Will do.

toracat

2020-08-11 12:05

administrator   ~0007123

The following packages will be released to the main repository shortly:

x86_64:
kmod-cxgb3-1.1.5-2.el8_2.elrepo.x86_64.rpm

src:
kmod-cxgb3-1.1.5-2.el8_2.elrepo.src.rpm

naveen-elrepo

2020-08-12 12:09

reporter   ~0007125

Thanks for the build, driver gets installed successfully and I can see link comes up and then goes down again on eth2 (this port has fiber connected).

kernel: cxgb3: module verification failed: signature and/or required key missing - tainting kernel
kernel: cxgb3: Chelsio T3 Network Driver - version 1.1.5-ko
kernel: cxgb3 0000:84:00.0: Port 0 using 4 queue sets.
kernel: cxgb3 0000:84:00.0: Port 1 using 4 queue sets.
kernel: cxgb3 0000:84:00.0 eth2: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
kernel: cxgb3: eth2: 64MB CM, 0MB PMTX, 0MB PMRX, S/N: PT35130415
kernel: cxgb3 0000:84:00.0 eth3: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
kernel: cxgb3 0000:84:00.0: Direct firmware load for cxgb3/ael2005_opt_edc.bin failed with error -2
kernel: cxgb3 0000:84:00.0: could not upgrade firmware: unable to load cxgb3/ael2005_opt_edc.bin
kernel: cxgb3 0000:84:00.0 eth2: link up, 10Gbps, full-duplex
kernel: cxgb3 0000:84:00.0: Direct firmware load for cxgb3/ael2005_opt_edc.bin failed with error -2
kernel: cxgb3 0000:84:00.0: could not upgrade firmware: unable to load cxgb3/ael2005_opt_edc.bin
kernel: cxgb3 0000:84:00.0: Direct firmware load for cxgb3/ael2005_opt_edc.bin failed with error -2
kernel: cxgb3 0000:84:00.0: could not upgrade firmware: unable to load cxgb3/ael2005_opt_edc.bin
kernel: cxgb3 0000:84:00.0 eth2: link down

pperry

2020-08-12 15:32

administrator   ~0007126

Looks like it's failing to load the required firmware, Do you have the linux-firmware package installed that provides the firmware?

$ rpm -q linux-firmware
linux-firmware-20191202-97.gite8a0f4c9.el8.noarch

pperry

2020-08-12 15:39

administrator   ~0007127

OK, I take that back. Apparently the latest linux-firmware version does not provide the required firmware.

It is present in linux-firmware-20190111-92.gitd9fb2ee6.el8.noarch so I would suggest downgrading to that version, grab a backup copy of the binary firmware, update the firmware package again and manually copy the firmware file in place.

See if that works, and if it does we can see about rectifying the situation, if we need to ship the binary firmware too.

naveen-elrepo

2020-08-13 11:25

reporter   ~0007128

Yes on Centos 8.2 i had firmware linux-firmware-20191202-97.gite8a0f4c9.el8.noarch.

I made downgrade to linux-firmware-20190111-92.gitd9fb2ee6.el8.noarch and took backup of /usr/lib/firmware/cxgb3/ and restored it after upgrade again to latest firmware.

Now link is up and stable, please let me know if this can be included on latest linux-firmware and also just curious to know why this driver has been removed on latest releases of Centos 8 :-)

kernel: cxgb3: loading out-of-tree module taints kernel.
kernel: cxgb3: module verification failed: signature and/or required key missing - tainting kernel
kernel: cxgb3: Chelsio T3 Network Driver - version 1.1.5-ko
kernel: cxgb3 0000:84:00.0: Port 0 using 4 queue sets.
kernel: cxgb3 0000:84:00.0: Port 1 using 4 queue sets.
kernel: cxgb3 0000:84:00.0 eth2: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
kernel: cxgb3: eth2: 64MB CM, 0MB PMTX, 0MB PMRX, S/N: PT35130415
kernel: cxgb3 0000:84:00.0 eth3: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
kernel: cxgb3 0000:84:00.0 eth2: link up, 10Gbps, full-duplex

pperry

2020-08-13 15:07

administrator   ~0007129

Thank you for the testing and confirmation. We will make a package to provide the necessary firmware(s) and add a Requires to the kmod driver package to make sure the firmware is installed.

I'll post back here once we have an update, hopefully over the weekend.

naveen-elrepo

2020-08-14 00:17

reporter   ~0007130

Sure, Thanks for the update.

naveen-elrepo

2020-08-17 06:47

reporter   ~0007134

Hi Team,

Can you provided us updated package, so that i can do a final test and confirm.

pperry

2020-08-17 09:28

administrator   ~0007135

Hi,

Updated packages for you to test have just been uploaded to the main elrepo repository. They should be available on mirror sites shortly:

kmod-cxgb3-1.1.5-3.el8_2.elrepo.x86_64.rpm
cxgb3-firmware-1.1.5-20200721.1.el8.elrepo.noarch.rpm

To test, please update kmod-cxgb3 which should now install cxgb3-firmware as a dependency. cxgb3-firmware contains the necessary firmwares for the cxgb3 driver.

Please note that cxgb3-firmware will conflict with older versions of the linux-firmware package that still contained the cxgb3 firmware files. If this is the case, please update linux-firmware to the latest version before updating kmod-cxgb3 or trying to install cxgb3-firmware.

Please could you let us know if this package combination now works as expected.

Thank you

naveen-elrepo

2020-08-18 13:32

reporter   ~0007136

Thanks for the Packages, i had latest linux-firmware ( linux-firmware-20191202-97.gite8a0f4c9.el8.noarch) installed with no cxgb3 drivers, then installed kmod-cxgb3-1.1.5-3.el8_2.elrepo.x86_64.rpm and cxgb3-firmware-1.1.5-20200721.1.el8.elrepo.noarch.rpm packages.

After this took reboot of the server and network link has come up for 10G link connected to Chelsio adaptor.

cxgb3: loading out-of-tree module taints kernel.
cxgb3: module verification failed: signature and/or required key missing - tainting kernel
cxgb3: Chelsio T3 Network Driver - version 1.1.5-ko
cxgb3 0000:84:00.0: Port 0 using 4 queue sets.
cxgb3 0000:84:00.0: Port 1 using 4 queue sets.
cxgb3 0000:84:00.0 eth1: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
cxgb3: eth1: 64MB CM, 0MB PMTX, 0MB PMRX, S/N: PT35130415
cxgb3 0000:84:00.0 eth2: Chelsio T320 10GBASE-R NIC (rev 4) PCI Express x8 MSI-X
cxgb3 0000:84:00.0 enp132s0: renamed from eth1
cxgb3 0000:84:00.0 enp132s0d1: renamed from eth2
cxgb3 0000:84:00.0 enp132s0: link up, 10Gbps, full-duplex

pperry

2020-08-18 16:30

administrator   ~0007137

Thank you for the feedback.

I'll mark the bug resolved. If you have any issues, please open a new bug report.

Issue History

Date Modified Username Field Change
2020-04-24 03:02 gladroger New Issue
2020-04-24 03:02 gladroger Status new => assigned
2020-04-24 03:02 gladroger Assigned To => toracat
2020-04-24 03:10 toracat Note Added: 0006920
2020-04-24 12:39 toracat Note Added: 0006924
2020-04-24 12:41 toracat Status assigned => feedback
2020-04-25 00:16 gladroger Note Added: 0006925
2020-04-25 00:27 gladroger Note Added: 0006926
2020-04-25 00:47 toracat Note Added: 0006927
2020-04-25 00:47 toracat Status feedback => resolved
2020-04-25 00:47 toracat Resolution open => fixed
2020-04-25 01:25 gladroger Note Added: 0006928
2020-04-25 01:25 gladroger Status resolved => assigned
2020-04-25 01:25 gladroger Resolution fixed => reopened
2020-04-25 01:46 gladroger Note Added: 0006929
2020-08-11 09:57 naveen-elrepo Note Added: 0007121
2020-08-11 10:02 toracat Note Added: 0007122
2020-08-11 12:05 toracat Note Added: 0007123
2020-08-12 12:09 naveen-elrepo Note Added: 0007125
2020-08-12 15:32 pperry Note Added: 0007126
2020-08-12 15:39 pperry Note Added: 0007127
2020-08-13 11:25 naveen-elrepo Note Added: 0007128
2020-08-13 15:07 pperry Note Added: 0007129
2020-08-14 00:17 naveen-elrepo Note Added: 0007130
2020-08-17 06:47 naveen-elrepo Note Added: 0007134
2020-08-17 09:28 pperry Note Added: 0007135
2020-08-18 13:32 naveen-elrepo Note Added: 0007136
2020-08-18 16:30 pperry Note Added: 0007137
2020-08-18 16:30 pperry Status assigned => resolved
2020-08-18 16:30 pperry Resolution reopened => fixed