From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic Date: Sun, 11 Jun 2017 17:21:02 +0200 Message-ID: <20170611152102.GA16021@lunn.ch> References: <20170610152741.GB26740@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, linux-amlogic@lists.infradead.org To: crow Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:44596 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbdFKPVE (ORCPT ); Sun, 11 Jun 2017 11:21:04 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: > Thank your for the suggestion, and thanks Martin to explaining me over > IRC what actually I should do. > > I recompiled mainline kernel 4.12-rc4 with the Amlogic driver: > replaced drivers/net/phy/meson-gxl.c with > https://github.com/khadas/linux/blob/ubuntu-4.9/drivers/amlogic/ethernet/phy/amlogic.c > > But this did not solve the issue. As soon as i start git clone i lose > network connection to device (no session timeout/disconnect this time, > but I am unable to reconnect over SSH or to get OK ping replay back). So this shows it is more than a PHY problem. The Ethernet MAC driver is probably also part of the problem. Are there any mainline kernels which work O.K? Andrew