netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle
       [not found] <bug-14730-10286@http.bugzilla.kernel.org/>
@ 2009-12-07 19:50 ` Andrew Morton
  2009-12-07 19:59   ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2009-12-07 19:50 UTC (permalink / raw)
  To: netdev, linux-acpi, Stephen Hemminger; +Cc: bugzilla-daemon, bugme-daemon, mat


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Fri, 4 Dec 2009 09:02:21 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=14730
> 
>            Summary: sky2 won't work after suspend/resume cycle
>            Product: Power Management
>            Version: 2.5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: Hibernation/Suspend
>         AssignedTo: power-management_other@kernel-bugs.osdl.org
>         ReportedBy: mat@esi.com.pl
>         Regression: Yes
> 
> 
> I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It
> worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it
> works for me) and in all versions after that I tried it stops working after
> suspend/resume cycle (I use powersave daemon, but I also tried without it -
> effect is the same). 
> 
> After resume what I see in dmesg is this:
> 
> sky2 driver version 1.23
> sky2 0000:04:00.0: enabling device (0000 -> 0003)
> sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> sky2 0000:04:00.0: setting latency timer to 64
> sky2 0000:04:00.0: unsupported chip type 0xff

It looks like reads from the device are returning all-ones.  

> sky2 0000:04:00.0: PCI INT A disabled
> sky2: probe of 0000:04:00.0 failed with error -95
> 
> So it looks like something is probably not restored correctly after resume or
> some initializations are not executed.
> 
> I use Gentoo sources, but I also tried it on vanilla kernels - 2.6.31 and
> 2.6.32-rc8 and it doesn't work in any version past 2.6.31-rc3.
> 

Help.  Do we think this regression is likely to be a sky2 thing, an
ACPI thing, an x86 arch thing or...?

Thanks.

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

* Re: [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle
  2009-12-07 19:50 ` [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle Andrew Morton
@ 2009-12-07 19:59   ` Stephen Hemminger
  2009-12-07 20:23     ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2009-12-07 19:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: netdev, linux-acpi, bugzilla-daemon, bugme-daemon, mat

On Mon, 7 Dec 2009 11:50:57 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:

> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Fri, 4 Dec 2009 09:02:21 GMT
> bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> > 
> >            Summary: sky2 won't work after suspend/resume cycle
> >            Product: Power Management
> >            Version: 2.5
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: high
> >           Priority: P1
> >          Component: Hibernation/Suspend
> >         AssignedTo: power-management_other@kernel-bugs.osdl.org
> >         ReportedBy: mat@esi.com.pl
> >         Regression: Yes
> > 
> > 
> > I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It
> > worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it
> > works for me) and in all versions after that I tried it stops working after
> > suspend/resume cycle (I use powersave daemon, but I also tried without it -
> > effect is the same). 
> > 
> > After resume what I see in dmesg is this:
> > 
> > sky2 driver version 1.23
> > sky2 0000:04:00.0: enabling device (0000 -> 0003)
> > sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > sky2 0000:04:00.0: setting latency timer to 64
> > sky2 0000:04:00.0: unsupported chip type 0xff
> 
> It looks like reads from the device are returning all-ones.  
>

That means something in PM didn't turn on the bus, so driver is out of
luck.  Most of these problems have been traced back to generic PCI
power management, nothing in driver runs before this.

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

* Re: [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle
  2009-12-07 19:59   ` Stephen Hemminger
@ 2009-12-07 20:23     ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2009-12-07 20:23 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: netdev, linux-acpi, bugzilla-daemon, bugme-daemon, mat, linux-pci,
	Rafael J. Wysocki

(cc linux-pci and Rafael)

On Mon, 7 Dec 2009 11:59:57 -0800
Stephen Hemminger <shemminger@linux-foundation.org> wrote:

> On Mon, 7 Dec 2009 11:50:57 -0800
> Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> > 
> > (switched to email.  Please respond via emailed reply-to-all, not via the
> > bugzilla web interface).
> > 
> > On Fri, 4 Dec 2009 09:02:21 GMT
> > bugzilla-daemon@bugzilla.kernel.org wrote:
> > 
> > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> > > 
> > >            Summary: sky2 won't work after suspend/resume cycle
> > >            Product: Power Management
> > >            Version: 2.5
> > >           Platform: All
> > >         OS/Version: Linux
> > >               Tree: Mainline
> > >             Status: NEW
> > >           Severity: high
> > >           Priority: P1
> > >          Component: Hibernation/Suspend
> > >         AssignedTo: power-management_other@kernel-bugs.osdl.org
> > >         ReportedBy: mat@esi.com.pl
> > >         Regression: Yes
> > > 
> > > 
> > > I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It
> > > worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it
> > > works for me) and in all versions after that I tried it stops working after
> > > suspend/resume cycle (I use powersave daemon, but I also tried without it -
> > > effect is the same). 
> > > 
> > > After resume what I see in dmesg is this:
> > > 
> > > sky2 driver version 1.23
> > > sky2 0000:04:00.0: enabling device (0000 -> 0003)
> > > sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > > sky2 0000:04:00.0: setting latency timer to 64
> > > sky2 0000:04:00.0: unsupported chip type 0xff
> > 
> > It looks like reads from the device are returning all-ones.  
> >
> 
> That means something in PM didn't turn on the bus, so driver is out of
> luck.  Most of these problems have been traced back to generic PCI
> power management, nothing in driver runs before this.

OK, thanks - I cast the Cc net a bit wider.  Hopefully a suitable fish
will swim into it.


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

end of thread, other threads:[~2009-12-07 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-14730-10286@http.bugzilla.kernel.org/>
2009-12-07 19:50 ` [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle Andrew Morton
2009-12-07 19:59   ` Stephen Hemminger
2009-12-07 20:23     ` Andrew Morton

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