[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#609860: pm-utils: pm-hibernate not able to wake-up



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?


> 
> In any case, just if it is of some help I attach the output you asked me:
> 
> !!!!! ls -al /dev/disk/by-uuid/
> 
> total 0
> drwxr-xr-x 2 root root 140 Jan 14 06:16 .
> drwxr-xr-x 6 root root 120 Jan 14 06:16 ..
> lrwxrwxrwx 1 root root  10 Jan 14 06:16  
> 46fd6395-d041-49c1-b428-b58f5b5e4db3 -> ../../sda6
> lrwxrwxrwx 1 root root  10 Jan 14 06:16  
> b14b1c9e-dbe2-4e3d-a203-025f0f54d9a0 -> ../../sda5
> lrwxrwxrwx 1 root root  10 Jan 14 06:16  
> b752bad2-f935-4375-807c-1a51d1fe759a -> ../../sda1
> lrwxrwxrwx 1 root root  10 Jan 14 06:16  
> b7b5b460-aea5-46ff-8715-15d1a8e8f367 -> ../../sda2
> lrwxrwxrwx 1 root root  10 Jan 14 06:16  
> fe44fc76-c077-4915-a4d6-e83e08de9035 -> ../../sda7
> 
> 
> Thanks again and my best regards,
> 
> Wenceslao
> 
> 
> Michael Biebl <biebl@debian.org> ha escrito:
> 
>> On 14.01.2011 06:49, Wenceslao González-Viñas wrote:
>>
>>>
>>> !!!! cat /etc/initramfs-tools/conf.d/resume
>>>
>>> RESUME=UUID=9b880a94-8d79-434d-81f2-789d2cc7c532
>>>
>>> This is not a partition of the system (as seen in fstab or in
>>> /dev/disk/by-uuid/ )!!!! . Could it be the MBR ... so the disk instead
>>> of a partition ?  How could I know if this is correct? If it is not
>>> should I just edit etc/initramfs-tools/conf.d/resume and change
>>> accordingly?
>>
>> If /dev/disk/by-uuid/9b880a94-8d79-434d-81f2-789d2cc7c532
>> does not point to /dev/sda2, then you found your problem.
>>
>> Could you show me the output of
>> ls -al /dev/disk/by-uuid/
>>
>> Try to set RESUME=/dev/sda2 and run "update-initramfs -u" to re-generate the
>> initramfs. Then please try if you can successfully hibernate/thaw.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: