I have Ubuntu 11.10 and hibernate isn't working on this machine.
I looked at this post and after the string # swap was on /dev/….. nothing appears.
I cannot find the file: /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux. Moreover, s2disk does not work properly and the computer cannot hibernate.
Now I cannot even shut down the system - the process does not complete. I need to press the power button every time.