From: Camille Bordignon <camille.bordignon@easymile.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection
Date: Tue, 11 Sep 2018 13:46:28 +0200 [thread overview]
Message-ID: <20180911114628.GA12572@super_plancton> (raw)
In-Reply-To: <20180911083147.GA31642@f2>
Le mardi 11 sept. 2018 ? 17:31:47 (+0900), Benjamin Poirier a ?crit :
> On 2018/09/07 08:28, Camille Bordignon wrote:
> > Le mercredi 08 ao?t 2018 ? 18:00:28 (+0300), Neftin, Sasha a ?crit :
> > > On 8/8/2018 17:24, Neftin, Sasha wrote:
> > > > On 8/7/2018 09:42, Camille Bordignon wrote:
> > > > > Le lundi 06 ao?t 2018 ? 15:45:29 (-0700), Alexander Duyck a ?crit :
> > > > > > On Mon, Aug 6, 2018 at 4:59 AM, Camille Bordignon
> > > > > > <camille.bordignon@easymile.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > > Recently we experienced some issues with intel NIC (I219-LM
> > > > > > > and I219-V).
> > > > > > > It seems that after a wire reconnection, auto-negotation "fails" and
> > > > > > > link speed drips to 10 Mbps.
> > > > > > >
> [...]
> >
> > I recently figured out that neither the previous patch nor commit
> > 0b76aae741abb9d16d2c0e67f8b1e766576f897d fix this issue.
> >
> > In these cases, after reproducing the issue, when ethernet wire is connected
> > kernel logs mention full speed (1000 Mbps) but actually it seems it is not.
> > The problem persists.
> >
>
> Hmm, so the newer (post 4110e02eb45e) kernels are actually "better", in
> that they accurately report that link speed is 10Mb/s.
>
Exactly.
> In the end, do you know of a kernel version that doesn't exhibit the
> problem of slower actual link speed?
>
No. I've tried older version but at some point API has changed and
it fails to compile.
> I had a look at the code and I tried to reproduce the problem on the
> hardware that I have (I217) but could not.
>
> Also, out of curiosity, have you tried playing with the speed, autoneg
> and advertise settings via ethtool -s to force the link to 1000Mb/s?
Forcing the speed fixes the issue in any case (I mean even when speed is
wronly reported to 1000Mb/s).
Done this way:
#ethtool -s enp0s31f6 speed 1000 duplex full autoneg off
Thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Camille Bordignon <camille.bordignon@easymile.com>
To: Benjamin Poirier <benjamin.poirier@gmail.com>
Cc: "Neftin, Sasha" <sasha.neftin@intel.com>,
Alexander Duyck <alexander.duyck@gmail.com>,
Netdev <netdev@vger.kernel.org>,
intel-wired-lan <intel-wired-lan@lists.osuosl.org>,
"David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org
Subject: Re: [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection
Date: Tue, 11 Sep 2018 13:46:28 +0200 [thread overview]
Message-ID: <20180911114628.GA12572@super_plancton> (raw)
In-Reply-To: <20180911083147.GA31642@f2>
Le mardi 11 sept. 2018 à 17:31:47 (+0900), Benjamin Poirier a écrit :
> On 2018/09/07 08:28, Camille Bordignon wrote:
> > Le mercredi 08 août 2018 à 18:00:28 (+0300), Neftin, Sasha a écrit :
> > > On 8/8/2018 17:24, Neftin, Sasha wrote:
> > > > On 8/7/2018 09:42, Camille Bordignon wrote:
> > > > > Le lundi 06 août 2018 à 15:45:29 (-0700), Alexander Duyck a écrit :
> > > > > > On Mon, Aug 6, 2018 at 4:59 AM, Camille Bordignon
> > > > > > <camille.bordignon@easymile.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > > Recently we experienced some issues with intel NIC (I219-LM
> > > > > > > and I219-V).
> > > > > > > It seems that after a wire reconnection, auto-negotation "fails" and
> > > > > > > link speed drips to 10 Mbps.
> > > > > > >
> [...]
> >
> > I recently figured out that neither the previous patch nor commit
> > 0b76aae741abb9d16d2c0e67f8b1e766576f897d fix this issue.
> >
> > In these cases, after reproducing the issue, when ethernet wire is connected
> > kernel logs mention full speed (1000 Mbps) but actually it seems it is not.
> > The problem persists.
> >
>
> Hmm, so the newer (post 4110e02eb45e) kernels are actually "better", in
> that they accurately report that link speed is 10Mb/s.
>
Exactly.
> In the end, do you know of a kernel version that doesn't exhibit the
> problem of slower actual link speed?
>
No. I've tried older version but at some point API has changed and
it fails to compile.
> I had a look at the code and I tried to reproduce the problem on the
> hardware that I have (I217) but could not.
>
> Also, out of curiosity, have you tried playing with the speed, autoneg
> and advertise settings via ethtool -s to force the link to 1000Mb/s?
Forcing the speed fixes the issue in any case (I mean even when speed is
wronly reported to 1000Mb/s).
Done this way:
#ethtool -s enp0s31f6 speed 1000 duplex full autoneg off
Thanks.
next prev parent reply other threads:[~2018-09-11 11:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 11:59 [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection Camille Bordignon
2018-08-06 11:59 ` Camille Bordignon
2018-08-06 22:45 ` [Intel-wired-lan] " Alexander Duyck
2018-08-06 22:45 ` Alexander Duyck
2018-08-07 6:42 ` [Intel-wired-lan] " Camille Bordignon
2018-08-07 6:42 ` Camille Bordignon
2018-08-08 14:24 ` [Intel-wired-lan] " Neftin, Sasha
2018-08-08 14:24 ` Neftin, Sasha
2018-08-08 15:00 ` Neftin, Sasha
2018-08-08 15:00 ` Neftin, Sasha
2018-08-14 9:14 ` Camille Bordignon
2018-08-14 9:14 ` Camille Bordignon
2018-09-07 6:28 ` Camille Bordignon
2018-09-07 6:28 ` Camille Bordignon
2018-09-11 8:31 ` Benjamin Poirier
2018-09-11 8:31 ` Benjamin Poirier
2018-09-11 11:46 ` Camille Bordignon [this message]
2018-09-11 11:46 ` Camille Bordignon
-- strict thread matches above, loose matches on Subject: below --
2019-01-03 21:28 Jan-Marek Glogowski
2019-01-18 15:32 ` Jan-Marek Glogowski
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=20180911114628.GA12572@super_plancton \
--to=camille.bordignon@easymile.com \
--cc=intel-wired-lan@osuosl.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.