All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linus-amlogic@lists.infradead.org
Subject: ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic
Date: Sun, 11 Jun 2017 17:21:02 +0200	[thread overview]
Message-ID: <20170611152102.GA16021@lunn.ch> (raw)
In-Reply-To: <CAG_g8w71SWc_X2U9pNWLVheO9Jf4ydPznAVp1x-Y9kwU3qhf1A@mail.gmail.com>

> 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

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Lunn <andrew@lunn.ch>
To: crow <crow@linux.org.ba>
Cc: netdev@vger.kernel.org, linux-amlogic@lists.infradead.org
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	[thread overview]
Message-ID: <20170611152102.GA16021@lunn.ch> (raw)
In-Reply-To: <CAG_g8w71SWc_X2U9pNWLVheO9Jf4ydPznAVp1x-Y9kwU3qhf1A@mail.gmail.com>

> 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

  reply	other threads:[~2017-06-11 15:21 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 17:30 ARM GLX Khadas VIM Pro - Ethernet detected as only 10Mbps and stalled after some traffic crow
2017-06-08 17:30 ` crow
2017-06-10  7:29 ` crow
2017-06-10  7:29   ` crow
2017-06-10 15:27   ` Andrew Lunn
2017-06-10 15:27     ` Andrew Lunn
2017-06-11  6:31     ` crow
2017-06-11  6:31       ` crow
2017-07-26 19:27       ` Jerome Brunet
2017-07-26 19:27         ` Jerome Brunet
2017-06-11 13:43     ` crow
2017-06-11 13:43       ` crow
2017-06-11 15:21       ` Andrew Lunn [this message]
2017-06-11 15:21         ` Andrew Lunn
2017-06-11 17:03         ` crow
2017-06-11 17:03           ` crow
2017-06-15 14:40           ` crow
2017-06-15 14:40             ` crow
2017-06-27 17:14             ` crow
2017-06-27 17:14               ` crow
2017-07-25 16:56               ` crow
2017-07-25 16:56                 ` crow
2017-07-26 19:32                 ` Jerome Brunet
2017-07-26 19:32                   ` Jerome Brunet
2017-08-02 12:39                   ` crow
2017-08-02 12:39                     ` crow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170611152102.GA16021@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linus-amlogic@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.