FYI a kernel bisection may be outside the skill set of your average user
and chances are much lower without detailed instructions. Please don't
shoot the messenger.

I too have a Asrock motherboard but a ASRock Z370M-ITX/ac. I had a lot
off trouble getting my I219-V NICs to behave on Ubuntu.

I started on 18.04 and eventually went to 19.10 with the Intel e1000e
3.6.0-NAPI driver and a bunch of commands to get good performance.

File transfers were severely impacted but it is immediately obvious in iperf3 
when the card is not performing properly. 
Tweaking several of these options added several hundred Mbps to transfers 
giving a consistent 60MB/s over SMB but I'm still getting half the throughput 
of my Windows 10 workstation when talking to the same Ubuntu server. Given my 
Ubuntu client storage is 5X faster the cause is unknown.

I'm curious if anyone has figured out if the firmware version on the
I219-V NIC is updateable and how. It's odd the same chip users different
drivers and shows different firmware revisions.

$ ethtool -i enp2s0
driver: igb
version: 5.6.0-k
firmware-version:  0. 4-1
$ ethtool -i eno1
driver: e1000e
version: 3.6.0-NAPI
firmware-version: 0.2-4

It's really odd to be using two different drivers for the same NIC:
sudo lspci -v | grep -i ether
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
        DeviceName: Onboard - Ethernet
        Subsystem: ASRock Incorporation Ethernet Connection (2) I219-V
02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection 
(rev 03)

I have this in my rc.local now:
ethtool -A eno1 autoneg off tx off rx off 2> /dev/null || :
ethtool -K eno1 gso off tso off 2> /dev/null || :
ethtool -A enp2s0 autoneg off tx off rx off 2> /dev/null || :
ethtool --set-eee eno1 eee off 2> /dev/null || :
ethtool --set-eee enp2s0 eee off 2> /dev/null || :

1st line turns off flow control, 2nd turns off offloading specifically gso and 
tso, the last ones turn off a energy efficient Ethernet option.
Post tweaks I consistently get 935-958Mbit/s in perf3.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785171

Title:
  Intel I219-V Ethernet Interface on Ubuntu Linux Using e1000e Driver
  keeps Dropping Internet Connection

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  Confirmed

Bug description:
  I've turned up many, many new server and workstation systems over the
  years on both Linux and Windows. Never seen anything like this
  behaviour I'm witnessing on Ubuntu Server 18.04 before where I simply
  lose Internet connectivity while using a browser.  Ethernet interfaces
  usually either work or they don't work.

  I've configured the Intel I219-V Ethernet interface (wired Ethernet
  connection, there is no wifi on this system) using the e1000e driver
  for Ubuntu.  The Ethernet connection is configured to use
  NetworkManager via Netplan on Ubuntu 18.04 LTS Server version.  ASRock
  Z370m Pro4 motherboard.

  The Ethernet interface will drop the Internet connectivity when I'm
  using either the Firefox or Chrome browser.  It usually happens when
  I'm using the search features of the browser. I can't figure out what
  would cause this type of behaviour.  When the Internet connection
  drops, the only way to get back Internet connectivity is to disconnect
  the wired connection using the Ubuntu features and then re-connect
  (this restarts the NetworkManager service I notice).

  In the NetworkManager logs I do notice an "auth" error about a file or
  directory not found. I've never seen that before.

  Note:  The auth error does not coincide with the loss of Internet
  connectivity, but it does proceed it.  Often there can be many hours
  between the auth error and the actual loss of Internet connectivity.

  After I reconnect the connection (via re-starting the NetworkManager
  service) all will be fine for up to a day or so, but then I stress
  test it with a bunch of searches using the browser and usually I can
  get the Internet connectivity to drop again.  Repeat the disconnect
  and reconnect process again (aka re-start NetworkManager) and the
  Internet connectivity will be fine again.  The longest I've seen it go
  without an "Internet connectivity drop" issue is about 36 hours.

  I notice that the e1000e driver does not list the I219-V as a
  supported Ethernet interface in the Intel documentation for the Linux
  version of the driver.  I'm not sure why that is.  The I219-V is
  supposed to used another driver, but it's not clear there's a Linux
  version for of the driver for the I219-V.

  I'm really disappointed that I've run into this issue with Ubuntu
  Server LTS 18.04 on this motherboard.  I had CentOS Server 7.4 (my
  standard server OS, a great Linux distro) on this same motherboard for
  a week with no issues, so I know the motherboard and the I219-V
  Ethernet interface are 100% good hardware wise and can work properly.
  CentOS 7.4 uses NetworkManager as the default for managing the
  Ethernet interface.

  The only reason I'm using Ubuntu Server 18.04 on this motherboard is
  because of a specific package that Ubuntu has a newer packaged version
  than CentOS. CentOS is extremely stable when it comes to basic server
  functionality.

  Hopefully, this bug with the I219-V Ethernet interface using the
  e1000e drive for Linux can be verified and a fix rolled out.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1785171/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to