* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912071951.nB7JpW10003364@demeter.kernel.org>
@ 2009-12-07 20:23 ` Rafael J. Wysocki
0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-12-07 20:23 UTC (permalink / raw)
To: bugzilla-daemon; +Cc: ACPI Devel Maling List, pm list, Jesse Barnes, Linux PCI
On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14730
>
>
>
>
>
> --- Comment #7 from Andrew Morton <akpm@linux-foundation.org> 2009-12-07 19:51:32 ---
> (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...?
Quite frankly, I have no idea.
In principle that may be a result of a PCI PM core change, but nothing
comes to mind immediately.
It may be worth trying to revert
commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
Author: Rafael J. Wysocki <rjw@sisk.pl>
Date: Wed Sep 9 23:49:59 2009 +0200
PCI: Clear saved_state after the state has been restored
and retesting.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912101036.nBAAacka024465@demeter.kernel.org>
@ 2009-12-10 19:13 ` Rafael J. Wysocki
[not found] ` <200912102013.49467.rjw@sisk.pl>
1 sibling, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-12-10 19:13 UTC (permalink / raw)
To: bugzilla-daemon; +Cc: Linux PCI, akpm, shemminger, pm list, mat
On Thursday 10 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14730
>
> --- Comment #11 from Ilya Hegai <vyacheslavovich@gmail.com> 2009-12-10 10:36:36 ---
> (In reply to comment #9)
> > On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
...
> > It may be worth trying to revert
> >
> > commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
> > Author: Rafael J. Wysocki <rjw@sisk.pl>
> > Date: Wed Sep 9 23:49:59 2009 +0200
> >
> > PCI: Clear saved_state after the state has been restored
> >
> > and retesting.
>
> I'm not familiar with git, but I haven't found traces of that commit in
> 2.6.31.7 that I'm using (gentoo-sources) (and the problem exists there)
> but after I applied it (got it from git) - sky2 errors after hibernation/resume
> dissapeared
> And as I can see this patch has applied against 2.6.32, so I guess TS person is
> considered to upgrade to the latest kernel
Hmm. The original report is against 2.6.32-rc8.
So you're saying that the commit above, when applied against 2.6.31.7,
actually fixes a sky2 resume problem for you?
Maciej, can you please check if 2.6.31.7 with the above commit applied works
for you?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912102013.49467.rjw@sisk.pl>
@ 2009-12-10 19:48 ` Maciej J. Woloszyk
2009-12-10 20:15 ` Maciej J. Woloszyk
[not found] ` <200912102115.17228.mat@esi.com.pl>
2 siblings, 0 replies; 8+ messages in thread
From: Maciej J. Woloszyk @ 2009-12-10 19:48 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux PCI, akpm, bugzilla-daemon, shemminger, pm list
On czwartek 10 grudzień 2009, Rafael J. Wysocki wrote:
> On Thursday 10 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> >
> > --- Comment #11 from Ilya Hegai <vyacheslavovich@gmail.com> 2009-12-10
> > 10:36:36 --- (In reply to comment #9)
> >
> > > On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
>
> ...
>
> > > It may be worth trying to revert
> > >
> > > commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
> > > Author: Rafael J. Wysocki <rjw@sisk.pl>
> > > Date: Wed Sep 9 23:49:59 2009 +0200
> > >
> > > PCI: Clear saved_state after the state has been restored
> > >
> > > and retesting.
> >
> > I'm not familiar with git, but I haven't found traces of that commit in
> > 2.6.31.7 that I'm using (gentoo-sources) (and the problem exists there)
> > but after I applied it (got it from git) - sky2 errors after
> > hibernation/resume dissapeared
> > And as I can see this patch has applied against 2.6.32, so I guess TS
> > person is considered to upgrade to the latest kernel
>
> Hmm. The original report is against 2.6.32-rc8.
>
> So you're saying that the commit above, when applied against 2.6.31.7,
> actually fixes a sky2 resume problem for you?
>
> Maciej, can you please check if 2.6.31.7 with the above commit applied
> works for you?
>
Well... I've downloaded the patch from git. The working kernel - 2.6.31-rc3
does not have it aplied, but later versions do, so I tried to revert it on the
latest gentoo sources (2.6.32) - it reverted fine, but it didn't really helped
- after suspend/resume sky2 does not work. I'll try gentoo-sources-2.6.31-r7
right now and I'll let you know of the results.
m.
--
Maciej J. Woloszyk, <mat@esi.com.pl> "Rejoice. For Very Bad
tel. +48 501 033 410 Things are about to happen."
JID:mat@esi.com.pl Richard/Looking For Group
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912102013.49467.rjw@sisk.pl>
2009-12-10 19:48 ` Maciej J. Woloszyk
@ 2009-12-10 20:15 ` Maciej J. Woloszyk
[not found] ` <200912102115.17228.mat@esi.com.pl>
2 siblings, 0 replies; 8+ messages in thread
From: Maciej J. Woloszyk @ 2009-12-10 20:15 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux PCI, akpm, bugzilla-daemon, shemminger, pm list
On czwartek 10 grudzień 2009, Rafael J. Wysocki wrote:
> On Thursday 10 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> >
> > --- Comment #11 from Ilya Hegai <vyacheslavovich@gmail.com> 2009-12-10
> > 10:36:36 --- (In reply to comment #9)
> >
> > > On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
>
> ...
>
> > > It may be worth trying to revert
> > >
> > > commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
> > > Author: Rafael J. Wysocki <rjw@sisk.pl>
> > > Date: Wed Sep 9 23:49:59 2009 +0200
> > >
> > > PCI: Clear saved_state after the state has been restored
> > >
> > > and retesting.
> >
> > I'm not familiar with git, but I haven't found traces of that commit in
> > 2.6.31.7 that I'm using (gentoo-sources) (and the problem exists there)
> > but after I applied it (got it from git) - sky2 errors after
> > hibernation/resume dissapeared
> > And as I can see this patch has applied against 2.6.32, so I guess TS
> > person is considered to upgrade to the latest kernel
>
> Hmm. The original report is against 2.6.32-rc8.
>
> So you're saying that the commit above, when applied against 2.6.31.7,
> actually fixes a sky2 resume problem for you?
>
> Maciej, can you please check if 2.6.31.7 with the above commit applied
> works for you?
>
Ok. I've just tried 2.6.31.7 with the patch applied - it didn't worked. sky2
still does'nt work after resume.
m.
--
Maciej J. Woloszyk, <mat@esi.com.pl> "Rejoice. For Very Bad
tel. +48 501 033 410 Things are about to happen."
JID:mat@esi.com.pl Richard/Looking For Group
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912102115.17228.mat@esi.com.pl>
@ 2009-12-10 20:40 ` Rafael J. Wysocki
[not found] ` <200912102140.26491.rjw@sisk.pl>
1 sibling, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-12-10 20:40 UTC (permalink / raw)
To: Maciej J. Woloszyk; +Cc: Linux PCI, akpm, bugzilla-daemon, shemminger, pm list
On Thursday 10 December 2009, Maciej J. Woloszyk wrote:
> On czwartek 10 grudzień 2009, Rafael J. Wysocki wrote:
> > On Thursday 10 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> > >
> > > --- Comment #11 from Ilya Hegai <vyacheslavovich@gmail.com> 2009-12-10
> > > 10:36:36 --- (In reply to comment #9)
> > >
> > > > On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> >
> > ...
> >
> > > > It may be worth trying to revert
> > > >
> > > > commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
> > > > Author: Rafael J. Wysocki <rjw@sisk.pl>
> > > > Date: Wed Sep 9 23:49:59 2009 +0200
> > > >
> > > > PCI: Clear saved_state after the state has been restored
> > > >
> > > > and retesting.
> > >
> > > I'm not familiar with git, but I haven't found traces of that commit in
> > > 2.6.31.7 that I'm using (gentoo-sources) (and the problem exists there)
> > > but after I applied it (got it from git) - sky2 errors after
> > > hibernation/resume dissapeared
> > > And as I can see this patch has applied against 2.6.32, so I guess TS
> > > person is considered to upgrade to the latest kernel
> >
> > Hmm. The original report is against 2.6.32-rc8.
> >
> > So you're saying that the commit above, when applied against 2.6.31.7,
> > actually fixes a sky2 resume problem for you?
> >
> > Maciej, can you please check if 2.6.31.7 with the above commit applied
> > works for you?
> >
>
> Ok. I've just tried 2.6.31.7 with the patch applied - it didn't worked. sky2
> still does'nt work after resume.
So the problem is clearly different for you. It also means it's not universal
for all sky2s, so it may depend on whether the adapter is PCIe or something.
Can you please use 2.6.32 for further testing and do the following:
# echo code > /sys/power/pm_test
# echo mem > /sys/power/state
wait until it gets back to the command prompt and see if your sky2 works
after that?
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912102140.26491.rjw@sisk.pl>
@ 2009-12-10 21:00 ` Maciej J. Woloszyk
[not found] ` <200912102200.29219.mat@esi.com.pl>
1 sibling, 0 replies; 8+ messages in thread
From: Maciej J. Woloszyk @ 2009-12-10 21:00 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux PCI, akpm, bugzilla-daemon, shemminger, pm list
On czwartek 10 grudzień 2009, Rafael J. Wysocki wrote:
> On Thursday 10 December 2009, Maciej J. Woloszyk wrote:
> > On czwartek 10 grudzień 2009, Rafael J. Wysocki wrote:
> > > On Thursday 10 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> > > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> > > >
> > > > --- Comment #11 from Ilya Hegai <vyacheslavovich@gmail.com>
> > > > 2009-12-10 10:36:36 --- (In reply to comment #9)
> > > >
> > > > > On Monday 07 December 2009, bugzilla-daemon@bugzilla.kernel.org
wrote:
> > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=14730
> > >
> > > ...
> > >
> > > > > It may be worth trying to revert
> > > > >
> > > > > commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff
> > > > > Author: Rafael J. Wysocki <rjw@sisk.pl>
> > > > > Date: Wed Sep 9 23:49:59 2009 +0200
> > > > >
> > > > > PCI: Clear saved_state after the state has been restored
> > > > >
> > > > > and retesting.
> > > >
> > > > I'm not familiar with git, but I haven't found traces of that commit
> > > > in 2.6.31.7 that I'm using (gentoo-sources) (and the problem exists
> > > > there) but after I applied it (got it from git) - sky2 errors after
> > > > hibernation/resume dissapeared
> > > > And as I can see this patch has applied against 2.6.32, so I guess TS
> > > > person is considered to upgrade to the latest kernel
> > >
> > > Hmm. The original report is against 2.6.32-rc8.
> > >
> > > So you're saying that the commit above, when applied against 2.6.31.7,
> > > actually fixes a sky2 resume problem for you?
> > >
> > > Maciej, can you please check if 2.6.31.7 with the above commit applied
> > > works for you?
> >
> > Ok. I've just tried 2.6.31.7 with the patch applied - it didn't worked.
> > sky2 still does'nt work after resume.
>
> So the problem is clearly different for you. It also means it's not
> universal for all sky2s, so it may depend on whether the adapter is PCIe
> or something.
>
> Can you please use 2.6.32 for further testing and do the following:
>
Ok.
> # echo code > /sys/power/pm_test
I hope you ment it to be "echo core" because if it actualy supposed to be
"code" - it didn't worked ;)
> # echo mem > /sys/power/state
>
> wait until it gets back to the command prompt and see if your sky2 works
> after that?
>
Yes - after the second echo it did kind of suspend/resume cycle and after that
sky2 still worked.
_______________________________________________
linux-pm mailing list
linux-pm@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912102200.29219.mat@esi.com.pl>
@ 2009-12-10 21:23 ` Rafael J. Wysocki
0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-12-10 21:23 UTC (permalink / raw)
To: Maciej J. Woloszyk; +Cc: Linux PCI, akpm, bugzilla-daemon, shemminger, pm list
On Thursday 10 December 2009, Maciej J. Woloszyk wrote:
...
> > Can you please use 2.6.32 for further testing and do the following:
> >
>
> Ok.
>
> > # echo code > /sys/power/pm_test
>
> I hope you ment it to be "echo core" because if it actualy supposed to be
> "code" - it didn't worked ;)
Yes, that should have been 'core', sorry for the mistake.
> > # echo mem > /sys/power/state
> >
> > wait until it gets back to the command prompt and see if your sky2 works
> > after that?
> >
>
> Yes - after the second echo it did kind of suspend/resume cycle and after that
> sky2 still worked.
OK, thanks.
Please attach the full output of 'lspci -vv' (including all devices) before and
after a suspend-resume cycle failing to restore the sky2 functionality.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bug 14730] sky2 won't work after suspend/resume cycle
[not found] ` <200912110834.nBB8YgJr022469@demeter.kernel.org>
@ 2009-12-11 21:00 ` Rafael J. Wysocki
0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-12-11 21:00 UTC (permalink / raw)
To: bugzilla-daemon; +Cc: pm list, vyacheslavovich
On Friday 11 December 2009, bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14730
>
> --- Comment #23 from Ilya Hegai <vyacheslavovich@gmail.com> 2009-12-11 08:34:41 ---
> Me too) because I'm still experiencing that problem, yesterday several
> hibernate/resume cycles went smoothly, but today I've got that error again, so
> it's not reproducible always which makes "patch hunting" work harder
So the commit we have discussed doesn't help to fix resume on your box after
all?
> And unfortunately I can play with 2.6.31.X only, because resume in 2.6.32 is
> completely broken for my laptop
I think you should file a separate bug report about that.
Is there any kernel where suspend/resume works reliably on your box?
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-12-11 21:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-14730-10028@http.bugzilla.kernel.org/>
[not found] ` <200912071951.nB7JpW10003364@demeter.kernel.org>
2009-12-07 20:23 ` [Bug 14730] sky2 won't work after suspend/resume cycle Rafael J. Wysocki
[not found] ` <200912101036.nBAAacka024465@demeter.kernel.org>
2009-12-10 19:13 ` Rafael J. Wysocki
[not found] ` <200912102013.49467.rjw@sisk.pl>
2009-12-10 19:48 ` Maciej J. Woloszyk
2009-12-10 20:15 ` Maciej J. Woloszyk
[not found] ` <200912102115.17228.mat@esi.com.pl>
2009-12-10 20:40 ` Rafael J. Wysocki
[not found] ` <200912102140.26491.rjw@sisk.pl>
2009-12-10 21:00 ` Maciej J. Woloszyk
[not found] ` <200912102200.29219.mat@esi.com.pl>
2009-12-10 21:23 ` Rafael J. Wysocki
[not found] ` <200912110834.nBB8YgJr022469@demeter.kernel.org>
2009-12-11 21:00 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox