Bug 26820 - ethtool 5.7 update for kernel 5.7
Summary: ethtool 5.7 update for kernel 5.7
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-06-18 23:04 CEST by David Walser
Modified: 2020-06-21 00:46 CEST (History)
4 users (show)

See Also:
Source RPM: ethtool-5.6-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2020-06-18 23:04:54 CEST
Advisory:
----------------------------------------

The ethtool package has been updated to version 5.7 to support the newest
features in the 5.7 kernel and fix a bug.

References:
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/tree/NEWS?h=v5.7
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
ethtool-5.7-1.mga7

from ethtool-5.7-1.mga7.src.rpm
Comment 1 Len Lawrence 2020-06-19 09:07:40 CEST
mga7, x86_64

Updated the package.  Consulted man page and https://www.thegeekstuff.com/2010/10/ethtool-command/

$ su -
# ethtool --version
ethtool version 5.7
# ethtool -i enp3s0
driver: r8169
version: 5.6.14-desktop-2.mga7
firmware-version: rtl8168e-3_0.0.4 03/27/12
expansion-rom-version: 
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

# ifdown enp3s0

Switch off auto-negotiation (for duplex or half-duplex mode).
# ethtool -s enp3s0 autoneg off
Check settings:
# ethtool enp3s0
Settings for enp3s0:
	Supported ports: [ TP	 MII ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Half 1000baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Half 1000baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: No
[...]

Logged statistics:
# ethtool -S enp3s0
NIC statistics:
     tx_packets: 773058
     rx_packets: 892513
     tx_errors: 0
     rx_errors: 0
[...]

Note that after a reboot any changes would be lost unless a configuration file is edited, not sure which; might be /etc/sysconfig/network-scripts/ifcfg-<eth0>.

Cancel change:
# ethtool -s enp3s0 autoneg on
# ifup enp3s0

That was a safe test.  Leaving it there.  It works anyway.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => tarazed25

Comment 2 Thomas Andrews 2020-06-20 01:23:44 CEST
Validating. Advisory in Comment 0.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Nicolas Lécureuil 2020-06-21 00:07:16 CEST

CC: (none) => mageia
Keywords: (none) => advisory

Comment 3 Mageia Robot 2020-06-21 00:46:16 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0150.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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