Comment 63 for bug 35174

Revision history for this message
James Henstridge (jamesh) wrote : Re: ThinkPad X60 cannot resume from suspend to RAM

Paul: I got suspend to ram working, which wasn't working before.

I had another go at hibernate (which I had tried before without success) without success. It would look like it was about to hibernate and then go back to the screensaver. When I looked at the logs, it was complaining that I had no swap partition.

This seemed odd since I had certainly configured one during the install. I tried a few things:
    $ sudo swapon -a
    swapon: /dev/sda2: Invalid argument
    $ sudo file -s /dev/sda2
    /dev/sda2: Linux/i386 swap file (new style) with SWSUSP1 image

I guess this is the left over from my previous attempts to suspend. I was able to enable the swap partition after reformatting it with mkswap and doing "swapon -a".

This time when I tried to hibernate, it wrote stuff to disk and turned the system off. However, when I rebooted, it didn't resume from the hibernation image. The following was in /var/log/messages:

    May 29 20:27:54 morbo kernel: [4294695.451000] Unable to find swap-space signature

At this point, I needed to rerun mkswap before I could enable the swap space again.

As for the logout dialog being displayed on resume from suspend issue, I haven't been able to reproduce it after updating. Do you still want me to report the bug, given that I probably won't be able to help debug the issue?