cant hibernate to swapfile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I installed ubuntustudio 8.04.1 without a swapspace on an encrypted volume on a lvm volume.
The hibernate-button is available but wouldnt work because theres no swapspace.
Now I create a swapfile:
dd if=/dev/zero of=/swap bs=1M count=2500
Then I add resume= and resume_offset= options to defoptions in menu.lst and run update-grub.
After the next reboot theres no hibernate-button available anymore.
This is a regression, because the exact same configuration worked in earlier ubuntustudio versions. I think even with hardy-betas.
johan@baghdad:~$ free
total used free shared buffers cached
Mem: 2066408 578840 1487568 0 17236 280444
-/+ buffers/cache: 281160 1785248
Swap: 2559992 0 2559992
johan@baghdad:~$ uname -a
Linux baghdad 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
johan@baghdad:~$ cat /proc/swaps
Filename Type Size Used Priority
/swap file 2559992 0 -1
root@baghdad:~# filefrag -v /swap
Checking /swap
Filesystem type is: ef53
Filesystem cylinder groups is approximately 249
Blocksize of file /swap is 4096
File size of /swap is 2621440000 (640000 blocks)
First block: 126976
Last block: 1449574
tags: | added: encrypted-swap |
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at [WWW] https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e . I have classified this bug as a bug in linux.