[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b7737751-b051-b717-a856-3e11c73dd25d@list.ru>
Date: Thu, 23 Mar 2017 01:03:37 +0300
From: Stas Sergeev <stsp@...t.ru>
To: Maxime Morin <maxime.morin@...ec.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"thomas.petazzoni@...e-electrons.com"
<thomas.petazzoni@...e-electrons.com>
Subject: Re: Problem: net: mvneta: auto-negotiation with disconnected network
cable
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.
Powered by blists - more mailing lists