Re: 2.6.25-rc8 : hibernation sometimes not resuming on Dell Latitude D630 (was: -rc7)

From: Didier Raboud
Date: Thu Apr 10 2008 - 07:31:40 EST


Le jeudi, 3 avril 2008 17.48:57 Rafael J. Wysocki, vous avez écrit :
> On Thursday, 3 of April 2008, Didier Raboud wrote:
> > Le mercredi, 2 avril 2008 14.06:29 Didier Raboud, vous avez écrit :
> > > Le mardi, 1 avril 2008 23.22:35 Rafael J. Wysocki, vous avez écrit :
> > > > On Tuesday, 1 of April 2008, Didier Raboud wrote:
> > > > > Le mardi, 1 avril 2008 23.11:15 Rafael J. Wysocki, vous avez écrit :
> > > > > > (...)
> > > > > > Can you please test the in-kernel hibernation, then?
> > > > > >
> > > > > > Rafael
> > > > >
> > > > > Hi,
> > > > >
> > > > > would like to. How ?
> > > > >
> > > > > # echo -n disk > /sys/power/state
> > > >
> > > > Yes, should work without the "-n", too. Of course, you have to use
> > > > the 'resume=' kernel command line argument for this to work.
> > > >
> > > > Perhaps increase the console log level before that.
> > > >
> > > > Thanks,
> > > > Rafael
> > >
> > > Ok. I found a "better" way to do it : just uninstall uswsusp and let
> > > kpowersave use hal to use suspend :-)
> > >
> > > Anyway, so far so good (with USB_SUSPEND not set), no hang. I will test
> > > with USB_SUSPEND set and the incoming 2.6.25-rc8.
> > >
> > > Regards,
> > >
> > > Didier
> >
> > So far so good too with "stock" Debian Kernel (2.7.25-rc7-amd64) with
> > USB_SUSPEND set. No hang.
> >
> > The kernel suspend is less user-friendly than uswsusp though...
> >
> > So I bet there is a bug in uswsusp's kernel part ?
>
> It's almost the same as the in-kernel one, especially as far as the resume
> is concerned. The simplest explanation coming to mind is that the image is
> somehow damaged in the uswsusp case.
>
> You can use the uswsusp's checksumming to verify that, though.
>
> Thanks,
> Rafael

Hi,

I upgraded my uswsusp to 0.8 and my kernel to 2.6.25-rc8 from Debian. I
activated the checksumming. I have hangs _again_ (I probably always had...).

Here's my /etc/uswsusp.conf :
# --------
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/mapper/Tamino-swap_1
compress = y
early writeout = y
image size = 967540654
shutdown method = platform
compute checksum = y
# --------

I don't know how I can help further... I will try without "early writeout".

Any help would be greatly appreciated !

Best regards,

Didier

--
Didier Raboud
Cornalles 2
1802 Corseaux
didier@xxxxxxxxxx
079 480 67 82

Attachment: signature.asc
Description: This is a digitally signed message part.