RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1940934 - RFE: need kernel command line options to configure NICs with autoneg=off speed=1000
Summary: RFE: need kernel command line options to configure NICs with autoneg=off spee...
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Ana Cabral
QA Contact: Vladimir Benes
Depends On:
TreeView+ depends on / blocked
Reported: 2021-03-19 15:11 UTC by Renaud Métrich
Modified: 2021-11-20 08:35 UTC (History)
13 users (show)

Fixed In Version: NetworkManager-1.32.10-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-11-09 19:29:51 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4361 0 None None None 2021-11-09 19:30:15 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 941 0 None merged nm-initrd-generator: add kernel command line options ethtool.autoneg and... 2021-11-20 08:29:13 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 960 0 None merged nm-initrd-generator: remove duplex option, include man entry 2021-11-20 08:29:16 UTC

Description Renaud Métrich 2021-03-19 15:11:10 UTC
Description of problem:

A customer using HP Ethernet 10Gb 2-port 530SFP+ Adapter cannot install systems through the network, because the NIC doesn't manage to auto-negotiate the speed.
On RHEL7.9, I gave him a custom initrd including ethtool and associated code to read new kernel parameters that get processed by ethtool just after setting the link up:


    ethtool.eth0=autoneg:off,speed:1000 ethtool.eth1=autoneg:off,speed:1000

On RHEL8, NetworkManager is used, so we need a similar enhancement. Of course the syntax above is just a proposal, maybe NM-like settings would be preferred here.

Version-Release number of selected component (if applicable):

RHEL8.x x>=0

How reproducible:

Always on customer hardware (no way to boot).

Comment 2 Thomas Haller 2021-03-19 15:51:51 UTC
NetworkManager uses nm-initrd-generator which parses the command line. 
That basically implements some parts of `man dracut.cmdline`.

The command line options we add should also be agreed upon with dracut (and documented in dracut.cmdline).

It may not be required that dracut's "network" module also implements this API (as I think it's unavoidable that certain features only work with certain modules). But in principle that should be possible and would be nice to have.

CC-ing Lukas [FYI]

Comment 3 Lukáš Nykrýn 2021-03-23 14:34:47 UTC
I am fine with that. And as you mention, I don't think we need this in the legacy network.

Comment 12 Vladimir Benes 2021-08-30 08:05:34 UTC
NM unit test added.

Comment 14 errata-xmlrpc 2021-11-09 19:29:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: NetworkManager security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.