You are not logged in.
I noticed last week a slow down in my internet speed. After analyzing, it seems that my Gigabit ethernet card runs at 10 Mb/s on startup ...
'sudo ethtool eth0' gives :
Settings for eth0:
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: 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
After executing the following commands :
chris@Megatron ~ $ sudo ip link set eth0 down
chris@Megatron ~ $ sudo ip link set eth0 up
chris@Megatron ~ $ sudo ethtool -s eth0 duplex full speed 1000
I get full speed again, here is then the output of ethtool :
Settings for eth0:
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: 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
I just installed the 5.0 kernel but the only thing that is better now is that the initial speed is at 100 Mb/s but still not 1000 Mb/s
Last edited by Strider (2020-02-23 20:47:48)
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline
Hey there,
To rule out cabling issue, have you change cables, use a different port on the router? Also, your boot log might useful here, when the issue occurs?
Regards
Offline
There's initially no response from the link partner. Is there w/ 5.0?
Do you actually have to ethtool duplex/speed or is it sufficient to bring the interface down and up again?
Offline
@bugsmanagment : I did not change cables, but they are brand new and I did not have the issue previously with these cables.
@seth : this is the output of 5.0. But since 5.0 it is sufficient to bring the interface down and up again.
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline
(You said 5.0 would initially get you 100MB…)
Anyway, check your journal. Whether, which and when which firmware is loaded and compare that to the initial activation of the interface.
I's suggest to disable the automatic network config (dhcpcd.service or whatever you're using) and only establish a connection at runtime by hand (as this smells like a race condition of some sort)
Offline
Hey @seth,
Out of curiosity, you mention early link partner. I couldn't figure out how you determined that when Auto Negation 10Mbps, why do you believe it's a firmware problem, when you don't know what hardware he is using?
regards
Last edited by bugsmanagement (2019-03-08 04:35:27)
Offline
The HW is mentioned in the thread title and the first ethtool output lacks lines w/ "Link partner".
The firmware issue is a mere guess since atm. this seems to be a timing issue (w/ early connections apparently retrieving less and bad data from the carrier - possibly because the HW is not fully initilized)
My next guess would btw. be a hibernating windows installation (which can cause all sorts of havoc on HW init and might require the device to go through two inits) or some power management feature (causing the same double-activation requirement)
Cables are always™ the culprit, except if things constantly work on a second try - the cable didn't fix itself ;-)
Offline
Seth,
with 5.0 I indeed get 100 Mb/s intially (before it was 10 Mb/s, sorry if that was not clear). After bringing the interface down and up again in 5.0, I get 1000 Mb/s.
I do not use dhcpd but have my IP address configured manually (using network manager).
FWIW, here is the output I have now from ethtool (after the down/up) :
Settings for eth0:
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: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline
Doesn't matter what brings up the interface, just ensure it doesn't happen automatically during the boot so we can see whether it's just "too early" or the interface requires a double kick (for whatever reason to be figured afterwards)
Offline
Try disabling auto negotiation, mine will chose a higher speed if it's off.
Offline
I finally found a solution for this problem.
See post
https://bbs.archlinux.org/viewtopic.php … 0#p1888990
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline