Re: 2.6.21.1 fails to suspend/resume to disk (sort of)

Rafael J. Wysocki
2007-05-23T16:52:23Z

On Wednesday, 23 May 2007 11:57, Romano Giannetti wrote:
> On Wed, 2007-05-23 at 11:05 +0200, Rafael J. Wysocki wrote:
> > Hi,
> >
> > On Wednesday, 23 May 2007 09:25, Romano Giannetti wrote:
> > > http://lkml.org/lkml/2007/5/23/38
> >
> > Please see http://bugzilla.kernel.org/show_bug.cgi?id=8456
> > That seems to resemble the symptoms you describe.
> >
>
> No, I don't think. The delay I observe is on resume (suspend is very
> fast). Moreover, I have no SATA. It seems that my problem came from
> pcmcia.

Hmm, there also is this patch: http://lkml.org/lkml/2007/5/22/434

> > > Now for the suspend to disk. With default setting (/sys/power/disk ==
> > > platform) my laptop (vaio PGC-FX701) fails to poweroff; it stays with
> > > backlight on, a white screen, and if I power it off manually afterward
> > > it did not resume.
> > >
> > > By doing echo shutdown > /sys/power/disk the laptop *do* power off (it's
> > > very slow, but I think that's related with the 60 secs delay commented
> > > in the other post). Then it resume --- text console did resume ok ---
> > > but the virtual console with X do not come back. I had to do a
> > > ctrl-alt-backspace thing.
> > >
> > > Any hints? More data?
> >
> > Could you please test the 2.6.22-rc2 kernel? Also, if it still doesn't work
> > properly, could you apply the hibernation/suspend patchset available from
> > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.22-rc2/patches
> > on top of it and see if that helps?
> >
>
> Uf, I will try to find the time. I am on my way to try to compile
> 2.6.21.2 now. Problem is that a kernel compile "the ubuntu way" last
> hours here. If there is an expert on make-kpkg here, I could use some
> advise. I'd prefer to test patches over a 2.6.21 stable release, to
> avoid mixing symptoms from an experimental -rc...

OK, I'll try to see which ones apply on top of 2.6.21 cleanly.

Greetings,
Rafael