public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: Sky2 driver dies some time after resume
Date: Mon, 21 May 2007 15:35:49 -0700	[thread overview]
Message-ID: <20070521153549.6bd46f7e@freepuppy> (raw)
In-Reply-To: <1179782957.32496.17.camel@localhost>

On Mon, 21 May 2007 18:29:17 -0300
Mauro Carvalho Chehab <mchehab@infradead.org> wrote:

> Hi Stephen,
> 
> I've noticing a weird behavior on sky2 driver after returning from
> suspend. 
> 
> After returning, the driver works as expected. However, after some usage
> at the interface, it behaves like if the network were down.
> 
> The workaround I'm currently using is manually removing sky2 driver and
> reinserting.
> 
> This bug is present on all kernel versions I tested on this machine,
> since when I bought it, on Feb, 2007. I'm currently running 2.6.20.7 on
> this notebook.
> 
> The SKY2 hardware is:
> 
> 02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8038 PCI-E Fast Ethernet Controller [11ab:4352] (rev 14)
>         Subsystem: Gateway 2000 Unknown device [107b:0367]
>         Flags: bus master, fast devsel, latency 0, IRQ 318
>         Memory at c0200000 (64-bit, non-prefetchable) [size=16K]
>         I/O ports at a000 [size=256]
>         Capabilities: [48] Power Management version 2
>         Capabilities: [50] Vital Product Data
>         Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
>         Capabilities: [e0] Express Legacy Endpoint IRQ 0
>         Capabilities: [100] Advanced Error Reporting
> 

Which distro? some scripts are different.

Also, check if MSI is being restore properly on resume. There are some BIOS's
that muck with MSI when ACPI calls them during resume. On Sony VAIO laptop,
I needed to disable MSI or it resume wouldn't work.

Linus also reported some oddness where the driver couldn't send big packets.
Could you try:
	ethtool -r eth0
That causes a phy renegotiation .

-- 
Stephen Hemminger <shemminger@linux-foundation.org>

  reply	other threads:[~2007-05-21 22:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 21:29 Sky2 driver dies some time after resume Mauro Carvalho Chehab
2007-05-21 22:35 ` Stephen Hemminger [this message]
2007-05-22  4:11   ` Mauro Carvalho Chehab

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=20070521153549.6bd46f7e@freepuppy \
    --to=shemminger@linux-foundation.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mchehab@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox