Created attachment 61332 [details]
I'm using linux kernel 3.0.0-rc2 from git and seems s2disk functionality is broken, s2ram also doesn't work, I suspect that bith these regressions have same roots. And yes this is a regression because it worked OK in linux 2.6.39
Nobody interested in fixing this bug?
Does this help: http://www.spinics.net/lists/dri-devel/msg12162.html ?
Nope, it doesn't help.
Hmmm... the libata warnings are because libata resume() assumes suspend() was called before and PM core, when something goes wrong, ends up calling reusme() without preceding suspend(). We can change so that resume() becomes noop if the port wasn't suspended before but it would be nice if PM doesn't call resume() if the device hasn't been suspended before. Rafael, what do you think?
Anyways, the libata warning messages shouldn't be harmful and are symptoms of s2disk failing not the cause. It seems like the part which tells why s2disk is failing is missing from the dmesg.
(In reply to comment #4)
> Hmmm... the libata warnings are because libata resume() assumes suspend() was
> called before and PM core, when something goes wrong, ends up calling
> without preceding suspend().
This shouldn't happen. If it does, then this is a bug.
Perhaps this patch will help:
but it requires this one before:
Both are going to be pushed to Linus shortly.
Please test the current Linus' tree and report back.
Sorry for delay, now all works OK. I think you can close this bug
Thx for the feedback. Closing.