{"id":2660,"date":"2020-01-13T13:25:31","date_gmt":"2020-01-13T21:25:31","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2660"},"modified":"2020-01-13T13:25:31","modified_gmt":"2020-01-13T21:25:31","slug":"ethernet-e1000e-the-saga-continues","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2660","title":{"rendered":"Ethernet &#8211; e1000e &#8211; The Saga Continues.."},"content":{"rendered":"<p>After more testing, it appears that there is still a problem with the Intel <strong>e1000e<\/strong> driver and some &#8211; but not all &#8211; supported NICs..<\/p>\n<p>I have several ex-HP systems that have Intel NICs, and some have more than one.\u00a0\u00a0 The HP <strong>Z820<\/strong> has two (different models..):<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">$ lspci |grep Eth<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 05)<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection<\/span><\/strong><\/code><\/p>\n<p>I also have an HP <strong>Z220CMT<\/strong>, with the same two (different) NICs, and this exhibits the same behaviour..<\/p>\n<p>With the latest kernels (tested with <strong>5.5-rc6<\/strong> and <strong>5.4.11<\/strong>) the 82574L works correctly, but the 82579LM (<span style=\"font-family: Courier New, Courier, monospace;\"><strong>eth0<\/strong><\/span>) fails, with constant up\/down:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">.................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx\/Tx<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx\/Tx<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link down event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">userif-2: sent link up event.<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">........ repeated ..............<\/span><\/strong><\/code><\/p>\n<p>And, ethtool reports:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Speed: Unknown!<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Duplex: Unknown! (255)<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">..................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Current message level: 0x00000007 (7)<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">drv probe link<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">Link detected: no<\/span><\/strong><\/code><\/p>\n<p>I found that &#8211; <em>sometimes<\/em> &#8211; after some minutes of up\/down messages, the link eventually works..<\/p>\n<p>I had also previously tested this with an official Fedora 31 kernel <strong>5.4.5-300.fc31.x86_64<\/strong>, and the problem was the same.<\/p>\n<p>The fix, is to <span style=\"text-decoration: underline;\">revert<\/span> the patch to <strong><span style=\"font-family: Courier New, Courier, monospace;\">netdev.c<\/span><\/strong>, as mentioned in a previous article:\u00a0 <a href=\"https:\/\/rglinuxtech.com\/?p=2632\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/rglinuxtech.com\/?p=2632<\/a><\/p>\n<p><em>Robert Gadsdon.\u00a0 January 13th 2020.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After more testing, it appears that there is still a problem with the Intel e1000e driver and some &#8211; but not all &#8211; supported NICs.. I have several ex-HP systems that have Intel NICs, and some have more than one.\u00a0\u00a0 The HP Z820 has two (different models..): $ lspci |grep Eth 00:19.0 Ethernet controller: Intel Corporation 82579LM <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2660\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1494,10,1298,1323,14,15,1437,19,1239],"tags":[2148,2146,1486,205,306,2119,2147,418],"class_list":["post-2660","post","type-post","status-publish","format-standard","hentry","category-ethernet","category-fedora","category-hardware","category-intel","category-kernel","category-linux-2","category-network","category-opinion","category-some-systems-ok","tag-constant-up-down","tag-e1000e","tag-ethernet","tag-intel","tag-problems","tag-revert-patch","tag-some-nics-ok","tag-workaround"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2660"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2660\/revisions"}],"predecessor-version":[{"id":2663,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2660\/revisions\/2663"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}