08-29-2016, 10:54 PM
(This post was last modified: 08-29-2016, 11:01 PM by pfeerick.
Edit Reason: added pre and post snapshots
)
(08-09-2016, 04:46 PM)wanthalf Wrote: No, it isn't. When the driver is loaded, it either detects the carrier and runs at 1Gbps, or it doesn't and then it doesn't run at all. Anything done later won't change it. Unfortunately, I haven't enough time to experiment with this. But I hope someone finds out... Thanks.
When you say that... what happens when you run the "ethtool -s eth0 speed 100 duplex full" as a root user when the ethernet port is not working? Or is the bigger problem here that you need the ethernet running to be able to access the pine64 as you have it now? Running that command did change the link speed for me, and the pine64 dropped back to 100Mb/s mode, and was able to sustain at least a 10.8MB/s throughput (probably as near enough to the theoretical ideal of 12.5MB/s). The ethernet appeared to shut down completely for about 2 seconds, and then come back up again... (i.e. green led stopped blinking, yellow went out). Having said that, I haven't been luck enough to be able to reproduce the GbE issues ... yet!
Pre "ethtool -s eth0 speed 100 duplex full"
Code:
root@pine64:~# ethtool eth0
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: No
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes
Post "ethtool -s eth0 speed 100 duplex full"
Code:
root@pine64:~# ethtool eth0
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: No
Supports auto-negotiation: Yes
Advertised link modes: 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes