• [6.8.0 RC5] missing chelsio cxgb4 drivers


    BoarAnt
    • Solved Minor

    Hi,

    I'm have a Chelsio T6225-OCP nic that is currently experiencing errors when I try to bring it up:

     

    Nov 14 02:37:13 kernel: cxgb4 0000:81:00.4: Can't allocate queues, err=6

    Nov 14 02:37:46 kernel: cxgb4 0000:81:00.4: Can't allocate queues, err=6

    Nov 14 02:38:02 kernel: cxgb4 0000:81:00.4: Can't allocate queues, err=6

    Nov 14 02:39:58 kernel: cxgb4 0000:81:00.4: Can't allocate queues, err=6

    Nov 14 02:40:10 kernel: cxgb4 0000:81:00.4: Can't allocate queues, err=6

     

    The boot log mentions that the drivers are failing to load:

    cxgb4 0000:81:00.4: Direct firmware load for cxgb4/t6fw.bin failed with error -2

    cxgb4 0000:81:00.4: unable to load firmware image cxgb4/t6fw.bin, error -2

     

    And upon further digging, there are no T5 & T6 drivers present in /lib/firmware/cxgb4 (/lib/firmware/cxgb3 drivers are present though).

    Hopefully it can be added soon (RC6 maybe?) :)

     

    Thanks.




    User Feedback

    Recommended Comments

    This is a little odd.  Here is the Linux firmware repo for that device:

    https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/cxgb4

     

    Looking at driver, it looks for firmware name without version suffix.  Looking at other distro repos for firmware, some add a symlink to latest f/w, some copy latest f/w to file without suffix, some don't do anything.  If driver can't find firmware it's supposed to just use f/w that's already on the card.  But for -rc6 we went ahead and made a copy of the latest f/w to file driver expects.

    • Thanks 1
    Link to comment
    3 hours ago, limetech said:

    Shouldn't change to solve unless my fix actually works :)

    Sorry. Too eager to move on to the next issue. 😅

    Link to comment

    I just booted up RC6, and I'm happy to report the card is working correctly now:

     

    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Reserved 92MB host memory for HMA
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Successfully enabled ppod edram feature
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Successfully configured using Firmware Configuration File "Firmware Default", version 0x0, computed checksum 0x0
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: max_ordird_qp 21 max_ird_adapter 5376
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: ppod edram start 0x0 end 0x0 size 0x1
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Current filter mode/mask 0x632b:0x21
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: 130 MSI-X vectors allocated, nic 16 per uld 16
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: 63.008 Gb/s available PCIe bandwidth (8 GT/s x8 link)
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4 eth2: eth2: Chelsio T6225-OCP-SO (0000:81:00.4) 1G/10GBASE-SFP28
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4 eth3: eth3: Chelsio T6225-OCP-SO (0000:81:00.4) 1G/10G/25GBASE-SFP28
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Chelsio T6225-OCP-SO rev 0
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: S/N: XXXXXXX, P/N: YYYYYYYY
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Firmware version: 1.24.3.0
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Bootstrap version: 255.255.255.255
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: TP Microcode version: 0.1.23.2
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: No Expansion ROM loaded
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Serial Configuration version: 0x2001000
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: VPD version: 0x83
    Nov 16 02:04:13 kernel: cxgb4 0000:81:00.4: Configuration: RNIC MSI-X, Offload capable
    Nov 16 02:04:14 kernel: Chelsio T4/T5/T6 Network Driver - version 2.0.0-ko
    Nov 16 02:04:14 kernel: cxgb4 0000:81:00.4: Coming up as MASTER: Initializing adapter
    Nov 16 02:04:14 kernel: cxgb4 0000:81:00.4: Direct firmware load for cxgb4/t6-config.txt failed with error -2
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Reserved 92MB host memory for HMA
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Successfully enabled ppod edram feature
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Successfully configured using Firmware Configuration File "Firmware Default", version 0x0, computed checksum 0x0
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: max_ordird_qp 21 max_ird_adapter 5376
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: ppod edram start 0x0 end 0x0 size 0x1
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Current filter mode/mask 0x632b:0x21
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: 130 MSI-X vectors allocated, nic 16 per uld 16
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: 63.008 Gb/s available PCIe bandwidth (8 GT/s x8 link)
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4 eth2: eth2: Chelsio T6225-OCP-SO (0000:81:00.4) 1G/10GBASE-SFP28
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4 eth3: eth3: Chelsio T6225-OCP-SO (0000:81:00.4) 1G/10G/25GBASE-SFP28
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Chelsio T6225-OCP-SO rev 0
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: S/N: XXXXXXX, P/N: YYYYYYYY
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Firmware version: 1.24.3.0
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Bootstrap version: 255.255.255.255
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: TP Microcode version: 0.1.23.2
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: No Expansion ROM loaded
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Serial Configuration version: 0x2001000
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: VPD version: 0x83
    Nov 16 02:04:18 kernel: cxgb4 0000:81:00.4: Configuration: RNIC MSI-X, Offload capable

     

     

    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 10.0.1.3  netmask 255.255.255.0  broadcast 10.0.1.255
            inet6 fe80::207:43ff:fe04:c1c0  prefixlen 64  scopeid 0x20<link>
            ether 00:07:43:04:c1:c4  txqueuelen 1000  (Ethernet)
            RX packets 2901  bytes 990553 (967.3 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 246  bytes 42687 (41.6 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 117  

    eth3: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 00:07:43:04:c1:c6  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 117  

     

    In this case, I just put in a transceiver in one port just as a test, and it got an IP without issues. The syslog is still complaining about a missing config file (cxgb4/t6-config.txt), but that's most likely user specific and shouldn't be in the image anyways.

     

    I believe this can be marked Solved now. ;) Thanks!

    • Thanks 1
    Link to comment

    Just an update: I'm on RC7, and everything still is working well. Server logs still produce the same results even after multiple reboots, so everything's looking great. :)

     

    Thanks!

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.