netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regression: Network link not coming up after suspend/resume cycle
@ 2019-09-29 19:20 Jan Janssen
  2019-09-29 23:26 ` Vladimir Oltean
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Janssen @ 2019-09-29 19:20 UTC (permalink / raw)
  To: netdev; +Cc: Vedang Patel, Jeff Kirsher

Hi,

I've been noticing lately that my network link sometimes does not go up
after a suspend resume cycle (roughly 1 or 2 out of 10 times). This also
sometimes happens with a fresh boot too. Doing a manual
"ip link set down/up" cycle resolves this issue.

I was able to bisect it to the commit below (or hope so) and also CCed
the maintainer for my driver too.

This is happening on a up-to-date Arch Linux system with a Intel I219-V.

Jan



7ede7b03484bbb035aa5be98c45a40cfabdc0738 is the first bad commit
commit 7ede7b03484bbb035aa5be98c45a40cfabdc0738
Author: Vedang Patel <vedang.patel@intel.com>
Date:   Tue Jun 25 15:07:18 2019 -0700

taprio: make clock reference conversions easier

Later in this series we will need to transform from
CLOCK_MONOTONIC (used in TCP) to the clock reference used in TAPRIO.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

net/sched/sch_taprio.c | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: Network link not coming up after suspend/resume cycle
  2019-09-29 19:20 Regression: Network link not coming up after suspend/resume cycle Jan Janssen
@ 2019-09-29 23:26 ` Vladimir Oltean
  2019-09-30 18:34   ` Jan Janssen
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Oltean @ 2019-09-29 23:26 UTC (permalink / raw)
  To: Jan Janssen; +Cc: netdev, Vedang Patel, Jeff Kirsher

Hi Jan,

On Sun, 29 Sep 2019 at 22:25, Jan Janssen <medhefgo@web.de> wrote:
>
> Hi,
>
> I've been noticing lately that my network link sometimes does not go up
> after a suspend resume cycle (roughly 1 or 2 out of 10 times). This also
> sometimes happens with a fresh boot too. Doing a manual
> "ip link set down/up" cycle resolves this issue.
>
> I was able to bisect it to the commit below (or hope so) and also CCed
> the maintainer for my driver too.
>
> This is happening on a up-to-date Arch Linux system with a Intel I219-V.
>
> Jan
>
>
>
> 7ede7b03484bbb035aa5be98c45a40cfabdc0738 is the first bad commit
> commit 7ede7b03484bbb035aa5be98c45a40cfabdc0738
> Author: Vedang Patel <vedang.patel@intel.com>
> Date:   Tue Jun 25 15:07:18 2019 -0700
>
> taprio: make clock reference conversions easier
>
> Later in this series we will need to transform from
> CLOCK_MONOTONIC (used in TCP) to the clock reference used in TAPRIO.
>
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
> Signed-off-by: Vedang Patel <vedang.patel@intel.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
>
> net/sched/sch_taprio.c | 30 ++++++++++++++++++++++--------
> 1 file changed, 22 insertions(+), 8 deletions(-)
>
>
>

That is a mechanical patch that produces no behavior change.
Furthermore, even if distributions were to build with
CONFIG_NET_SCH_TAPRIO (which there aren't many reasons to), it is
extremely likely that this qdisc is not enabled by default on your
interface. Are you voluntarily using taprio?
You might need to bisect again.

Regards,
-Vladimir

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: Network link not coming up after suspend/resume cycle
  2019-09-29 23:26 ` Vladimir Oltean
@ 2019-09-30 18:34   ` Jan Janssen
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Janssen @ 2019-09-30 18:34 UTC (permalink / raw)
  To: Vladimir Oltean; +Cc: netdev, Vedang Patel, Jeff Kirsher, Detlev Casanova

On Monday, 30 September 2019 01:26:21 CEST Vladimir Oltean wrote:
> Hi Jan,
>
> On Sun, 29 Sep 2019 at 22:25, Jan Janssen <medhefgo@web.de> wrote:
> > Hi,
> >
> > I've been noticing lately that my network link sometimes does not go up
> > after a suspend resume cycle (roughly 1 or 2 out of 10 times). This also
> > sometimes happens with a fresh boot too. Doing a manual
> > "ip link set down/up" cycle resolves this issue.
> >
> > I was able to bisect it to the commit below (or hope so) and also CCed
> > the maintainer for my driver too.
> >
> > This is happening on a up-to-date Arch Linux system with a Intel I219-V.
> >
> > Jan
> >
> >
> >
> > 7ede7b03484bbb035aa5be98c45a40cfabdc0738 is the first bad commit
> > commit 7ede7b03484bbb035aa5be98c45a40cfabdc0738
> > Author: Vedang Patel <vedang.patel@intel.com>
> > Date:   Tue Jun 25 15:07:18 2019 -0700
> >
> > taprio: make clock reference conversions easier
> >
> > Later in this series we will need to transform from
> > CLOCK_MONOTONIC (used in TCP) to the clock reference used in TAPRIO.
> >
> > Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
> > Signed-off-by: Vedang Patel <vedang.patel@intel.com>
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> >
> > net/sched/sch_taprio.c | 30 ++++++++++++++++++++++--------
> > 1 file changed, 22 insertions(+), 8 deletions(-)
>
> That is a mechanical patch that produces no behavior change.
> Furthermore, even if distributions were to build with
> CONFIG_NET_SCH_TAPRIO (which there aren't many reasons to), it is
> extremely likely that this qdisc is not enabled by default on your
> interface. Are you voluntarily using taprio?
> You might need to bisect again.
>
> Regards,
> -Vladimir

You were right. The module wasn't even built.

I did a more careful bisection this time and got me this commit:

59653e6497d16f7ac1d9db088f3959f57ee8c3db is the first bad commit
commit 59653e6497d16f7ac1d9db088f3959f57ee8c3db
Author: Detlev Casanova <detlev.casanova@gmail.com>
Date:   Sat Jun 22 23:14:37 2019 -0400

    e1000e: Make watchdog use delayed work

    Use delayed work instead of timers to run the watchdog of the e1000e
    driver.

    Simplify the code with one less middle function.

    Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
    Tested-by: Aaron Brown <aaron.f.brown@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

 drivers/net/ethernet/intel/e1000e/e1000.h  |  5 +--
 drivers/net/ethernet/intel/e1000e/netdev.c | 54 +++++++++++++++
+--------------
 2 files changed, 32 insertions(+), 27 deletions(-)


This time I also went and reverted it on top of v5.3, which successfully made
the issue go away. I've CC'ed the author of the patch.

Jan



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-30 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-29 19:20 Regression: Network link not coming up after suspend/resume cycle Jan Janssen
2019-09-29 23:26 ` Vladimir Oltean
2019-09-30 18:34   ` Jan Janssen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).