Hi Olivier,

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

Probably. Could you change /dev/dm-0 with /dev/dm-4 and run
"update-initramfs -k all -u" (then restart).

The uswsusp configuration file was updated by the installation scritps?

After the change between /dev/dm-0 and /dev/dm-4, could you reinstall
the package and test if the resume devide is changed to something
different than /dev/dm-0?

Thanks a lot for your report Olivier,

Best regards,
kix.

Olivier Berger <olivier.ber...@telecom-sudparis.eu> escribió:

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)


--
 .''`.
: :'  : Rodolfo García Peñas (kix) <k...@debian.org>
`. `'`  Proud Debian Developer
 `-


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to