22.03.2017 16:23, Maxime Morin пишет:
Hi all,
I work on an embedded platform based on the Marvell Armada 88F6707, that is
connected to a Marvell Alaska 88E1512 ethernet transceiver. A defect has
appeared recently, and it turns out to be a regression on the network part.
There is a complete lost of the network when following these steps:
1) boot the board with the network cable disconnected
2) run the following commands (or equivalent):
ip link set eth0 up
ip addr add 10.0.0.80/24 dev eth0
ethtool -s eth0 autoneg on #this is the command that really breaks the
network
In fact, the problem is that this control is
counter-intuitive. It could instead be
ethtool autoneg [on|off|mdio|inband]
with "on" implying "mdio". In that case you would
never notice the change. Unfortunately there seems
to be no way of passing the autoneg mode, so I fused
"on" to "inband"... So, unless I am mistaken, this clearly
needs a rework. But I have really forgot all the details.