Hi Olivier,

I found the problem. Please, can you test this:

Edit the file /usr/share/initramfs-tools/hooks/resume

Comment these lines at the end of the file:

# Try to autodetect the RESUME partition, using biggest swap?
RESUME=$(grep ^/dev/ /proc/swaps | sort -rk3 | head -n 1 | cut -d " " -f 1)
#if [ -n "$RESUME" ] && command -v blkid >/dev/null 2>&1; then
#       UUID=$(blkid -s UUID -o value "$RESUME" || true)
#       if [ -n "$UUID" ]; then
#                       RESUME="UUID=$UUID"
#       fi
#fi

Then, run "update-initramfs -u"

The new initrd file is updated. Then, run "s2disk". Reboot.

Can your system boot?

Cheers,
kix

PS. Thanks a lot for your reports.

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

"Rodolfo García Peñas (kix)" <k...@kix.es> writes:

Hi Olivier,

You have always the problem?

Yes. Otherwise I'd have reported. Basically nothing new since
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724275#62

# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/main-swap                   partition       2097148 0       -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 0       -1
# cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/main-swap
# ls -l /dev/mapper/main-swap
lrwxrwxrwx 1 root root 7 Oct 29 16:26 /dev/mapper/main-swap -> ../dm-4


I've tried and remove (purge) uswsusp, and the boot worked OK. Now, I
have reinstalled it, and had to pass noresume to the grub sequence so it
can boot.

I would like to reproduce it, but I can't.

Do you have installed cryptsetup?

Yes. But none of the partitions available at boot are crypted.


Are you using the RSA key file line in the /etc/uswsusp.conf file?

Here's what I find there :

RSA key file = /etc/uswsusp.key

Haven't configured this myself AFAIR.

However :
# ls -l /etc/uswsusp.key
ls: cannot access /etc/uswsusp.key: No such file or directory

Can you remove it and try?

Will reboot and report. Same for your other suggestions.

Thanks for your help.

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)
http://www.kix.es/


--
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