Re: Bug#609860: pm-utils: pm-hibernate not able to wake-up
On Fri, 14 Jan 2011, Michael Biebl wrote:
> On 14.01.2011 07:10, Wenceslao González-Viñas wrote:
> > Dear Michael,
> >
> > It works!!! So, the bug should be changed to something that
> > initramfs-tools do not detect automatically the resume point ?????
>
> My guess is, that at some point your swap partition was re-formatted and so the
> UUID changed.
>
> Afaics, the RESUME= parameter is only set during intial installation of
> initramfs-tools in preinst, or when you upgrade from Lenny and linux-base will
> convert it to UUID.
>
> I've CCed the initramfs-tools maintainers and Ben, who did most of the work for
> linux-base and the UUID upgrade code.
>
> I think, converting the resume/swap partition from a physical device to UUID
> makes it less fail-safe for re-formats, as I assume happened in your case.
>
> Ben, maks, any idea how we can address this?
>
> Should maybe update-initramfs -u re-evalutate the RESUME parameter?
there is an open bug about that. Trouble is that it is stored in
/etc/initramfs-tools/conf.d/resume and thus we wouldn't be allow
to update it without debconfing. So the plan is to move that to /var
for Squeeze+1 and then indeed have it updated from time to time.
--
maks
Reply to: