![]() ![]() ![]() Sep 11 15:35:31 phoenix NetworkManager: dhcp4 (enp0s31f6): state changed bound -> done Sep 11 15:35:31 phoenix NetworkManager: dhcp4 (enp0s31f6): canceled DHCP transaction, DHCP client pid 12266 Sep 11 15:35:31 phoenix NetworkManager: device (enp0s31f6): DHCPv4 lease renewal requested Sep 11 15:35:31 phoenix kernel: e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx Sep 11 15:35:31 phoenix NetworkManager: device (enp0s31f6): carrier: link connected When I run "ethtool -r enp0s31f6", I see this in the journal: Sep 11 15:34:58 phoenix NetworkManager: device (enp0s31f6): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed') Sep 11 15:34:58 phoenix kernel: e1000e: enp0s31f6 NIC Link is Up 10 Mbps Full Duplex, Flow Control: Rx/Tx Sep 11 15:34:58 phoenix NetworkManager: device (enp0s31f6): carrier: link connected When I connect the cable, I see these messages in the journal: The problem affects just that internal laptop port displayed above. I also have a network card on a thunderbolt dock, and everything works fine there. If the connection is made outside of NM (during boot or using ifup), the negotiation works fine.Ġ0:1f.6 Ethernet controller : Intel Corporation Ethernet Connection (4) I219-LM (rev 21) So it seems that NM somehow breaks speed negotiation. * This problem can be fixed while NM is running when I execute "ethtool -r device". * This problem doesn't occur when NetworkManager service is stopped and I use ifup/ifdown scripts to manage my ethernet port connection. * This problem occurs even with selinux in permissive mode, so it's probably not selinux related. * This problem occurs when I boot the Fedora 28(!) Workstation Live, so it's not brand new. * This problem occurs in all kernel version available in Fedora 29. * This is not a hardware/firmware fault of this laptop family, because this problem doesn't happen on Windows 10 (always runs at 1Gb/s). * This is not a single hardware failure, because it occurs on a colleague's T480s as well (so it probably affects this whole laptop family). I have debugged this problem for a long time and finally traced it down to NetworkManager (or kernel, but NM is definitely affecting it somehow). The same problem happens when I boot the laptop with the cable unplugged, and plug it in after boot. This only affects the download speed, I can still upload with 1Gb/s speeds. This is nicely visible in gnome control center, the initial "Connected - 1000Mb/s" gets replaced by "Connected - 10Mb/s". But once I detach and re-attach the cable, it suddenly works with just 10Mb/s. ![]() If I boot the laptop with ethernet cable attached, it works with 1Gb/s speeds. I have a Thinkpad T480s laptop and it has a 1Gb/s ethernet port. ![]()
0 Comments
Leave a Reply. |