At least in uswsusp, you have to specify the "resume_offset" (0 for swap partition, but needs to be set for swap files). See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/power/swsusp-and-swap-files.txt;h=f281886de4902041bbda38942772384a622d0319;hb=85ba94ba0592296053f7f2846812173424afe1cb and http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/power/userland-swsusp.txt;h=7b99636564c8cbc608ff6fb1a24b883c254bf8e3;hb=85ba94ba0592296053f7f2846812173424afe1cb
At least in uswsusp, you have to specify the "resume_offset" (0 for swap partition, but needs to be set for swap files). See http:// git.kernel. org/?p= linux/kernel/ git/torvalds/ linux-2. 6.git;a= blob;f= Documentation/ power/swsusp- and-swap- files.txt; h=f281886de4902 041bbda38942772 384a622d0319; hb=85ba94ba0592 296053f7f284681 2173424afe1cb and http:// git.kernel. org/?p= linux/kernel/ git/torvalds/ linux-2. 6.git;a= blob;f= Documentation/ power/userland- swsusp. txt;h=7b9963656 4c8cbc608ff6fb1 a24b883c254bf8e 3;hb=85ba94ba05 92296053f7f2846 812173424afe1cb