On Tue, Oct 08, 2013 at 10:40:12AM +0200, Olivier Berger wrote:
> 
> Hi.
> 
> I've been hit by this issue too.
> 
> Hoping this helps, here's a few details about my setup :
> 
> # swapon -s
> Filename                              Type            Size    Used    Priority
> /dev/mapper/main-swap                   partition     2097148 48      -1
> 
> This is a LVM partition.
> 
> # cat /etc/uswsusp.conf
> # /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both 
> resume device = /dev/dm-0
> splash = y
> compress = y
> early writeout = y
> image size = 955909734
> RSA key file = /etc/uswsusp.key
> shutdown method = platform
> 
> # cat /etc/initramfs-tools/conf.d/resume
> RESUME=/dev/mapper/main-swap
> 
> # cat /proc/swaps
> Filename                              Type            Size    Used    Priority
> /dev/dm-4                               partition     2097148 48      -1
> 
> 

So, the discrepency between /dev/dm-0 and /dev/dm-4 may be the issue ?

FYI, after purging and reinstalling uswsusp I get :

# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/main-swap                   partition       2097148 1788    -1
# cat /etc/uswsusp.conf
# /etc/uswsusp.conf(5) -- Configuration file for s2disk/s2both 
resume device = /dev/dm-4
compress = y
early writeout = y
image size = 955700592
RSA key file = /etc/uswsusp.key
shutdown method = platform
# cat /proc/swaps
Filename                                Type            Size    Used    Priority
/dev/dm-4                               partition       2097148 2096    -1
root@inf-8660:~# cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/main-swap
# ls -l /dev/mapper/main-swap 
lrwxrwxrwx 1 root root 7 Oct  8 10:19 /dev/mapper/main-swap -> ../dm-4

which looks more consistent to me...

I'll try to reboot later today and report in case of good news.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


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

Reply via email to