netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend
       [not found]     ` <201010171116.00514.aboelens@engin.umass.edu>
@ 2010-10-18  0:23       ` Ben Hutchings
  2010-10-18 21:45         ` Francois Romieu
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Hutchings @ 2010-10-18  0:23 UTC (permalink / raw)
  To: François Romieu; +Cc: Arnout Boelens, 595265, netdev

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

Arnout Boelens reported that his RTL8111/8168B fails to link-up after
suspend and resume, both under Debian's kernel based on 2.6.32 and under
2.6.36-rc6.  Full details are at <http://bugs.debian.org/595265>, though
the log isn't very informative:

[31837.396594] PM: Finishing wakeup.
[31837.396597] Restarting tasks ... done.
[31840.267267] r8169: eth0: link down

Can you suggest how to investigate this further?

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend
  2010-10-18  0:23       ` Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend Ben Hutchings
@ 2010-10-18 21:45         ` Francois Romieu
  2010-10-18 22:48           ` Ben Hutchings
  2010-10-18 22:50           ` Eric Dumazet
  0 siblings, 2 replies; 5+ messages in thread
From: Francois Romieu @ 2010-10-18 21:45 UTC (permalink / raw)
  To: Ben Hutchings; +Cc: Arnout Boelens, 595265, netdev

Ben Hutchings <ben@decadent.org.uk> :
[...]
> Arnout Boelens reported that his RTL8111/8168B fails to link-up after
> suspend and resume, both under Debian's kernel based on 2.6.32 and under
> 2.6.36-rc6.  Full details are at <http://bugs.debian.org/595265>, though
> the log isn't very informative:
> 
> [31837.396594] PM: Finishing wakeup.
> [31837.396597] Restarting tasks ... done.
> [31840.267267] r8169: eth0: link down
> 
> Can you suggest how to investigate this further?

Something like the patch made by Stanislaw at :
https://bugzilla.redhat.com/show_bug.cgi?id=502974

-- 
Ueimor

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

* Re: Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend
  2010-10-18 21:45         ` Francois Romieu
@ 2010-10-18 22:48           ` Ben Hutchings
  2010-10-18 22:50           ` Eric Dumazet
  1 sibling, 0 replies; 5+ messages in thread
From: Ben Hutchings @ 2010-10-18 22:48 UTC (permalink / raw)
  To: Arnout Boelens, Francois Romieu; +Cc: 595265, netdev

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

On Mon, 2010-10-18 at 23:45 +0200, Francois Romieu wrote:
> Ben Hutchings <ben@decadent.org.uk> :
> [...]
> > Arnout Boelens reported that his RTL8111/8168B fails to link-up after
> > suspend and resume, both under Debian's kernel based on 2.6.32 and under
> > 2.6.36-rc6.  Full details are at <http://bugs.debian.org/595265>, though
> > the log isn't very informative:
> > 
> > [31837.396594] PM: Finishing wakeup.
> > [31837.396597] Restarting tasks ... done.
> > [31840.267267] r8169: eth0: link down
> > 
> > Can you suggest how to investigate this further?
> 
> Something like the patch made by Stanislaw at :
> https://bugzilla.redhat.com/show_bug.cgi?id=502974

Thanks.

Arnout, please test the patch
<https://bugzilla.redhat.com/attachment.cgi?id=454034>, following the
instructions at
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

* Re: Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend
  2010-10-18 21:45         ` Francois Romieu
  2010-10-18 22:48           ` Ben Hutchings
@ 2010-10-18 22:50           ` Eric Dumazet
  2010-10-19 23:06             ` Francois Romieu
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2010-10-18 22:50 UTC (permalink / raw)
  To: Francois Romieu; +Cc: Ben Hutchings, Arnout Boelens, 595265, netdev

Le lundi 18 octobre 2010 à 23:45 +0200, Francois Romieu a écrit :
> Ben Hutchings <ben@decadent.org.uk> :
> [...]
> > Arnout Boelens reported that his RTL8111/8168B fails to link-up after
> > suspend and resume, both under Debian's kernel based on 2.6.32 and under
> > 2.6.36-rc6.  Full details are at <http://bugs.debian.org/595265>, though
> > the log isn't very informative:
> > 
> > [31837.396594] PM: Finishing wakeup.
> > [31837.396597] Restarting tasks ... done.
> > [31840.267267] r8169: eth0: link down
> > 
> > Can you suggest how to investigate this further?
> 
> Something like the patch made by Stanislaw at :
> https://bugzilla.redhat.com/show_bug.cgi?id=502974
> 

Seems to be down at this moment, patch is also here (and included in
2.6.36-rc8 ) :

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=aeb19f6052b5e5c8a24aa444fbff73b84341beac




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

* Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend
  2010-10-18 22:50           ` Eric Dumazet
@ 2010-10-19 23:06             ` Francois Romieu
  0 siblings, 0 replies; 5+ messages in thread
From: Francois Romieu @ 2010-10-19 23:06 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Ben Hutchings, Arnout Boelens, 595265, netdev

Eric Dumazet <eric.dumazet@gmail.com> :
> Le lundi 18 octobre 2010 à 23:45 +0200, Francois Romieu a écrit :
[...]
> > Something like the patch made by Stanislaw at :
> > https://bugzilla.redhat.com/show_bug.cgi?id=502974
> > 
> 
> Seems to be down at this moment, patch is also here (and included in
> 2.6.36-rc8 ) :
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=aeb19f6052b5e5c8a24aa444fbff73b84341beac

It's from the same author but it is not included in 2.6.36-stg yet :

Subject: [PATCH] r8169 init phy when resume

For unknown reasons some r8169 devices after resume operate at
100 Mb/s speed instead of 1000 Mb/s like before suspend. To fix
reset phy during resume.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
---
 drivers/net/r8169.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 17382c3..a4ce127 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -4847,6 +4847,9 @@ static int rtl8169_resume(struct device *device)
 {
 	struct pci_dev *pdev = to_pci_dev(device);
 	struct net_device *dev = pci_get_drvdata(pdev);
+	struct rtl8169_private *tp = netdev_priv(dev);
+
+	rtl8169_init_phy(dev, tp);
 
 	if (!netif_running(dev))
 		goto out;
-- 
1.7.1

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

end of thread, other threads:[~2010-10-19 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100902154312.12515.10390.reportbug@bird.umass.edu>
     [not found] ` <201009211624.12744.aboelens@engin.umass.edu>
     [not found]   ` <1286760421.2955.287.camel@localhost>
     [not found]     ` <201010171116.00514.aboelens@engin.umass.edu>
2010-10-18  0:23       ` Bug#595265: linux-image-2.6.32-5-686: Nerwork card fails to come up again after suspend Ben Hutchings
2010-10-18 21:45         ` Francois Romieu
2010-10-18 22:48           ` Ben Hutchings
2010-10-18 22:50           ` Eric Dumazet
2010-10-19 23:06             ` Francois Romieu

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).