Use at your own risk, I do not take any responsibility if your stuff breaks. BACKUP YOUR DATA BEFORE!
To confirm this issue happens to you, look for the message Reset adapter unexpectedly
in /var/log/messages
:
Use the command cat /var/log/messages | grep "Reset adapter unexpectedly"
If no messages show up, do the command again once you notice huge packet loss, if still nothing shows up - you're having a different issue.
If messages do show up, it means you are most likely having the same issue, or a physical issue with the network cable connected to the machine.
To confirm you are using the driver e1000e use sudo ethtool -i INTERFACE_NAME
.
Example output:
driver: e1000e
version: 3.2.6-k
firmware-version: 0.4-4
Now, after confirming that you are using the same driver and having the same issue, install the 'lspci' command: dnf install pciutils
Get the model of your network interface: lspci | grep Ethernet
Example output:
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
Before continuing, open the driver website and validate the following:
- Your e1000e version (from the
ethtool
command, exversion: 3.2.6-k
) is not the latest version shown on the website (aka you're not using the latest version) - Your network interface model (from the
lspci
command, exI219-LM
) is listed in the supported interfaces list
After verifying said things, start the installation:
- Install dependencies:
dnf install gcc make kernel-devel elfutils-libelf-devel
-
Download the driver source from https://downloadcenter.intel.com/download/15817
-
Extract the driver source:
tar -xzvf e1000e-VERSION.tar.gz
-
Compile:
cd e1000e-VERSION/src && sudo make install
Make sure there are no errors before continuing to the next step
- Load the updated driver version:
rmmod e1000e; modprobe e1000e
Note that your connection might drop for a few seconds! If the connection does not come back, it means that the update failed, you should reboot the server and rollback to an older version of the driver.
- Confirm that the update was successful:
sudo ethtool -i INTERFACE_NAME
(check that the version field was updated)
If it didn't, do not continue!
-
Make a backup of your old initramfs image:
mv /boot/initramfs-$(uname -r).img{,.bck}
-
Rebuild a new initramfs image with the updated driver:
dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
-
Reboot the system