Re: [Bugme-new] [Bug 14730] New: sky2 won't work after suspend/resume cycle

Stephen Hemminger
2009-12-07T20:00:30Z

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.