On 25-Feb-2006 Rafael J. Wysocki wrote:
> On Saturday 25 February 2006 01:39, Victor Porton wrote:
>> On 24-Feb-2006 Rafael J. Wysocki wrote:
>> >> Suspend to disk does not work for me with the following dmesg message:
>> >> 
>> >> PM: writing image.
>> >> swsusp: cannot find swap device, try swapon -a.
>> >> 
>> > I think you haven't used the "resume=<your_swap_partition>" kernel command
>> > line argument, which is mandatory for suspend with this kernel.
>> 
>> I have used resume=/dev/swap
>> 
>> /dev/swap is a symlink to /dev/hda2
> 
> I don't think the code that uses this argument is capable of following
> symlinks.  Please use resume=/dev/hda2 and see if that helps.

Yes, I have replaced resume=/dev/swap with resume=/dev/hda2 and it works
now. The bug is that the code does not understand symlinks.

It probably can be solved either on kernel side or on hibernate Debian
package side. Better to modify the hibernate package than to add code to
the kernel. (However I am not 100% sure that kernel will be able to resume
from symlink, even if hibernate will instruct it to do so.)

-- 
Victor Porton ([EMAIL PROTECTED]) - http://porton.ex-code.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to