Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-106540

[rhel9.7] ethtool missing headers in channel output

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.7
    • rhel-9.7
    • ethtool
    • None
    • ethtool-6.15-2.el9
    • No
    • Important
    • ZStream
    • 2
    • rhel-net-drivers-1
    • 0.001
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CNB,RDMA,Wireless 3, CNB, RDMA, Wireless 4
    • Regression Exception
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Trying to parse the output of the ethtool -l command I notice a difference in missing "headers" in the text output:

      [root@wsfd-advnetlab55 ~]# yum install https://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/vol/rhel-9/packages/ethtool/6.11/1.el9/x86_64/ethtool-6.11-1.el9.x86_64.rpm
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
      
      Last metadata expiration check: 3:30:35 ago on Wed 30 Jul 2025 03:53:47 AM EDT.
      ethtool-6.11-1.el9.x86_64.rpm                                                                                                                                                                                                                    3.0 MB/s | 248 kB     00:00
      Dependencies resolved.
      =================================================================================================================================================================================================================================================================================
       Package                                                         Architecture                                                   Version                                                               Repository                                                            Size
      =================================================================================================================================================================================================================================================================================
      Downgrading:
       ethtool                                                         x86_64                                                         2:6.11-1.el9                                                          @commandline                                                         248 k
      
      Transaction Summary
      =================================================================================================================================================================================================================================================================================
      Downgrade  1 Package
      
      Total size: 248 k
      Is this ok [y/N]: y
      Downloading Packages:
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                                                                                                                                                                                                                         1/1
        Downgrading      : ethtool-2:6.11-1.el9.x86_64                                                                                                                                                                                                                             1/2
        Cleanup          : ethtool-2:6.15-1.el9.x86_64                                                                                                                                                                                                                             2/2
        Running scriptlet: ethtool-2:6.15-1.el9.x86_64                                                                                                                                                                                                                             2/2
        Verifying        : ethtool-2:6.11-1.el9.x86_64                                                                                                                                                                                                                             1/2
        Verifying        : ethtool-2:6.15-1.el9.x86_64                                                                                                                                                                                                                             2/2
      Installed products updated.
      
      Downgraded:
        ethtool-2:6.11-1.el9.x86_64
      
      Complete!
      [root@wsfd-advnetlab55 ~]# ethtool --version
      ethtool version 6.11
      [root@wsfd-advnetlab55 ~]# ethtool -l ens7f1np1
      Channel parameters for ens7f1np1:
      Pre-set maximums:
      RX:             n/a
      TX:             n/a
      Other:          n/a
      Combined:       32
      Current hardware settings:
      RX:             n/a
      TX:             n/a
      Other:          n/a
      Combined:       32
      [root@wsfd-advnetlab55 ~]# yum install https://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/vol/rhel-9/packages/ethtool/6.15/1.el9/x86_64/ethtool-6.15-1.el9.x86_64.rpm
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
      
      Last metadata expiration check: 3:31:11 ago on Wed 30 Jul 2025 03:53:47 AM EDT.
      ethtool-6.15-1.el9.x86_64.rpm                                                                                                                                                                                                                    3.8 MB/s | 330 kB     00:00
      Dependencies resolved.
      =================================================================================================================================================================================================================================================================================
       Package                                                         Architecture                                                   Version                                                               Repository                                                            Size
      =================================================================================================================================================================================================================================================================================
      Upgrading:
       ethtool                                                         x86_64                                                         2:6.15-1.el9                                                          @commandline                                                         330 k
      
      Transaction Summary
      =================================================================================================================================================================================================================================================================================
      Upgrade  1 Package
      
      Total size: 330 k
      Is this ok [y/N]: y
      Downloading Packages:
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                                                                                                                                                                                                                         1/1
        Upgrading        : ethtool-2:6.15-1.el9.x86_64                                                                                                                                                                                                                             1/2
        Cleanup          : ethtool-2:6.11-1.el9.x86_64                                                                                                                                                                                                                             2/2
        Running scriptlet: ethtool-2:6.11-1.el9.x86_64                                                                                                                                                                                                                             2/2
        Verifying        : ethtool-2:6.15-1.el9.x86_64                                                                                                                                                                                                                             1/2
        Verifying        : ethtool-2:6.11-1.el9.x86_64                                                                                                                                                                                                                             2/2
      Installed products updated.
      
      Upgraded:
        ethtool-2:6.15-1.el9.x86_64
      
      Complete!
      [root@wsfd-advnetlab55 ~]# ethtool --version
      ethtool version 6.15
      [root@wsfd-advnetlab55 ~]# ethtool -l ens7f1np1
      Channel parameters for ens7f1np1:
      RX:             n/a
      TX:             n/a
      Other:          n/a
      Combined:       32
      RX:             n/a
      TX:             n/a
      Other:          n/a
      Combined:       32 

      It seems this has been fixed in upstream in this commit: https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=b70c928661024cd07914feb49122275daab904ea 

      What is the impact of this issue to you?

      Our test scripts parse this output to ensure proper configuration and deconfiguration, with this change we're unable to run them and would have to implement parsing workarounds for specific versions of ethtool.

      Please provide the package NVR for which the bug is seen:

      ethtool-2:6.15-1.el9.x86_64

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. install old ethtool
      2. run ethtool -l any_device
      3. install new ethtool
      4. run ethtool -l same_device
      5. compare outputs

      Expected results

      included header lines

      Actual results

      no header lines in output

              mheib@redhat.com Mohammad Heib
              olichtne@redhat.com Ondrej Lichtner
              Ivan Vecera Ivan Vecera
              Tianhao Zhao Tianhao Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: