Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-10-28 Thread Olivier Berger
Hi.

On Sun, Oct 27, 2013 at 10:43:23PM +0100, Rodolfo García Peñas wrote:
> 
> I change the uswsusp package to stable and initramfs-tools to stable. No 
> problem, update the uswsusp package, no problem, update the initramfs-tools 
> package, no problem. And now, I don't have the problem :-/
> 
> The resume device in /etc/uswsusp.conf and /etc/initramfs-tools/conf.d/resume 
> points to the same device.
> 
> My swap device is not in a lvm. I am using crypsetup in the root partition.
> 

Now, I'm lost... I had the impression that you were one of the most qualified 
people to help fix this issue as the maintainer of uswsusp...

Too bad you don't seem to have a clue ? Or did I misinterpret your message ?

Hopefully someone can clarify the situation and help solve these hibernation / 
resume issues (with or without uswsusp) ?

Thanks in advance.

Best rergards,
-- 
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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-10-27 Thread Rodolfo García Peñas
Hi,

I had this problem today.

The system reboots, the "resume:libgcrypt version 1.5.3" message is printed on 
the screen, but nothing happends.

I reboot the machine, and then, I had the message again. I must edit the grub 
configuration to add the flag "noresume". Then the system booted.

I change the uswsusp package to stable and initramfs-tools to stable. No 
problem, update the uswsusp package, no problem, update the initramfs-tools 
package, no problem. And now, I don't have the problem :-/

The resume device in /etc/uswsusp.conf and /etc/initramfs-tools/conf.d/resume 
points to the same device.

My swap device is not in a lvm. I am using crypsetup in the root partition.

I found this post, about problem with libgcrypt, but the system boot continues:
http://askubuntu.com/questions/260917/ubuntu-boot-showing-resume-libgcrypt-version-1-5-0

I fount this tread, but is not related to uswsusp nor initramfs:
http://ubuntuforums.org/showthread.php?t=1789796

In google, searching for "resume: libgcrypt version" there are 115.000 resuts.

On this post, in spanish, the user used hibernate:
http://www.ubuntu-es.org/node/178445#.Um2H3WnLZpg

Probably this bug should be critical.

Regards,
kix
-- 
 .''`.  Rodolfo García Peñas (kix) 
: :'  : Proud Debian Developer
`. `'`  4096R / 3F48 0B8C C385 AD41 9E28  006A 7B1F 5490 72B7 4923
 `- Debian - when you have better things to do than fixing systems


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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-27 Thread Philipp Huebner
Hi

On 27/09/13 19:32, Rodolfo García Peñas wrote:
> can you try it?

I just did. Unfortunately without success, the behaviour is the same as
before.

In the meantime I had uswsusp purged to be able to boot normally. It's a
workaround, but not a solution.

Regards,
-- 
 .''`.   Philipp Huebner 
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-



signature.asc
Description: OpenPGP digital signature


Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-27 Thread Rodolfo García Peñas
On Thu, 26 Sep 2013, Philipp Huebner escribió:

> Hi,
> 
> neither option made any difference.
> 
> I even tried it with /dev/dm-1 in both places, still no luck.

Hi Philipp,

I have an issue with the image restore, and perhaps it can affect this problem 
too. I left a new package version (for your testing only, not for upload, is 
not signed) at http://www.kix.es/Philipp/

can you try it?

Thanks a lot,

Best Regards,
kix


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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-26 Thread Philipp Huebner
Hi,

neither option made any difference.

I even tried it with /dev/dm-1 in both places, still no luck.

Regards,
-- 
 .''`.   Philipp Huebner 
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-



signature.asc
Description: OpenPGP digital signature


Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-26 Thread Rodolfo García Peñas (kix)

Thanks a lot Philipp,

I will try to create a new uswsusp package with changes in the kernel
argument "resume". I will contact with you to try the new package.

Best Regards,
Rodolfo.


Philipp Huebner  escribió:


Hi,

neither option made any difference.

I even tried it with /dev/dm-1 in both places, still no luck.

Regards,
--
 .''`.   Philipp Huebner 
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-



--
 .''`.
: :'  : Rodolfo García Peñas (kix) 
`. `'`  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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-26 Thread Rodolfo García Peñas (kix)

Hi Philipp,

thanks a lot for your reply. Can you try these two options?

Option one:

1. Edit the file /etc/initramfs-tools/conf.d/resume and change the line:

RESUME=/dev/mapper/atlantis-swap

with the swap line in /etc/uswsusp.conf

RESUME=/dev/atlantis/swap

2. Run update-initramfs -u -k all
3. Reboot.

Report me if is ok.

Option two:

1. Edit the file /etc/uswsusp.conf and change the line:

resume device = /dev/atlantis/swap

with the line in /etc/initramfs-tools/conf.d/resume

resume device = /dev/mapper/atlantis-swap

2. Edit (again) the file /etc/initramfs-tools/conf.d/resume and
restore the initial line:

RESUME=/dev/mapper/atlantis-swap

2. Run update-initramfs -u -k all
3. Reboot.

Report me if is ok now.

Thanks a lot again for your help.

Rodolfo.


Philipp Huebner  escribió:


Package: uswsusp
Version: 1.0+20120915-4
Followup-For: Bug #724275

Hi,

I ran into exactly the same problem after upgrading today from
linux-image-3.10-2-amd64 to linux-image-3.10-3-amd64.
At first, only the new kernel was affected, but after running
update-initramfs -u -k all
all my kernels failed to boot. The only workaround was the kernel option
"noresume".

I too have my swap partition on lvm.

$ cat /proc/swaps
Filename   TypeSizeUsed Priority
/dev/dm-1  partition   4194300 0-1

$ cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/atlantis/swap
compress = y
early writeout = y
image size = 1911949475
RSA key file = /etc/uswsusp.key
shutdown method = platform

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/atlantis-swap


Hibernation and resume used to work until recently.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (250, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.51
ii  libblkid1  2.20.1-5.5
ii  libc6  2.17-93
ii  libgcrypt111.5.3-2
ii  liblzo2-2  2.06-1.2
ii  libpci31:3.2.0-3
ii  libx86-1   1.1+ds1-10

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.114
ii  mount2.20.1-5.5

uswsusp suggests no packages.

-- debconf information:
  uswsusp/RSA_key_bits: 1024
  uswsusp/create_RSA_key: false
  uswsusp/resume_device: /dev/atlantis/swap
  uswsusp/splash: false
* uswsusp/continue_without_swap: true
  uswsusp/suspend_loglevel:
  uswsusp/no_snapshot:
  uswsusp/shutdown_method: platform
  uswsusp/no_swap:
  uswsusp/encrypt: false
  uswsusp/image_size: 1911949475
  uswsusp/compress: true
  uswsusp/max_loglevel:
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/snapshot_device:
  uswsusp/compute_checksum: false
  uswsusp/resume_offset:
  uswsusp/early_writeout: true



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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-26 Thread Philipp Huebner
Package: uswsusp
Version: 1.0+20120915-4
Followup-For: Bug #724275

Hi,

I ran into exactly the same problem after upgrading today from
linux-image-3.10-2-amd64 to linux-image-3.10-3-amd64.
At first, only the new kernel was affected, but after running
update-initramfs -u -k all
all my kernels failed to boot. The only workaround was the kernel option
"noresume".

I too have my swap partition on lvm.

$ cat /proc/swaps 
Filename   TypeSizeUsed Priority
/dev/dm-1  partition   4194300 0-1

$ cat /etc/uswsusp.conf 
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both 
resume device = /dev/atlantis/swap
compress = y
early writeout = y
image size = 1911949475
RSA key file = /etc/uswsusp.key
shutdown method = platform

$ cat /etc/initramfs-tools/conf.d/resume 
RESUME=/dev/mapper/atlantis-swap


Hibernation and resume used to work until recently.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (250, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.51
ii  libblkid1  2.20.1-5.5
ii  libc6  2.17-93
ii  libgcrypt111.5.3-2
ii  liblzo2-2  2.06-1.2
ii  libpci31:3.2.0-3
ii  libx86-1   1.1+ds1-10

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.114
ii  mount2.20.1-5.5

uswsusp suggests no packages.

-- debconf information:
  uswsusp/RSA_key_bits: 1024
  uswsusp/create_RSA_key: false
  uswsusp/resume_device: /dev/atlantis/swap
  uswsusp/splash: false
* uswsusp/continue_without_swap: true
  uswsusp/suspend_loglevel:
  uswsusp/no_snapshot:
  uswsusp/shutdown_method: platform
  uswsusp/no_swap:
  uswsusp/encrypt: false
  uswsusp/image_size: 1911949475
  uswsusp/compress: true
  uswsusp/max_loglevel:
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/snapshot_device:
  uswsusp/compute_checksum: false
  uswsusp/resume_offset:
  uswsusp/early_writeout: true


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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-24 Thread Rodolfo García Peñas (kix)


Martin Steigerwald  escribió:


Am Dienstag, 24. September 2013, 06:03:08 schrieben Sie:

Martin Steigerwald  escribió:
> Package: uswsusp
> Version: 1.0+20120915-4
> Severity: important


(snip)



1. List of your swap devices. (cat /proc/swaps can help).


merkaba:~> cat /proc/swaps
Filename  TypeSizeUsedPriority
/dev/dm-2 partition   1258290812584   -1
merkaba:~> swapon -s
Filename  TypeSizeUsedPriority
/dev/mapper/merkaba-swap  partition   1258290812584   -1


2. The contents of the uswsusp configuration file (cat /etc/uswsusp.conf).


Sorry, as I purged the package its gone. I removed the package in order to
be able to boot my custom kernels again.

I could only try to look in an older backup snapshot at home.


Hi Martin,

I need more info to try to check if the problem is with the kernel
(current version or previous version), with the uswsusp package
(stable or testing/unstable version),... so all info is welcome.
Please, if you can, I am interested in:

a) The uswsusp.conf file from the backup
b) If you can install the uswsusp package (testing/unstable) version
and check if the problem exists with this kernel.
c) Try with the previous kernel and uswsusp package

Thanks a lot.
Rodolfo.




3. The contents of the resume file for the initramfs-tools package
(cat /etc/initramfs-tools/conf.d/resume).


merkaba:~> cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/merkaba-swap

Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7



--
 .''`.
: :'  : Rodolfo García Peñas (kix) 
`. `'`  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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-24 Thread Martin Steigerwald
Am Dienstag, 24. September 2013, 06:03:08 schrieben Sie:
> Martin Steigerwald  escribió:
> > Package: uswsusp
> > Version: 1.0+20120915-4
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > Today I upgraded my Debian GNU/Sid installation.
> > 
> > After that I rebooted.
> > 
> > On boot it stopped after
> > 
> > resume: libgcrypt version 1.5.3
> > 
> > 
> > I waited for at least a minute.
> > 
> > 
> > This happened with my custom built kernel 3.12-rc1. Debian 3.10-1-amd64
> > seems to work. I didn´t test any other kernels. I will attach
> > configuration
> > of my custom build kernel.
> > 
> > 
> > After finding
> > 
> > boot stops at resume: libgcrypt 1.4.5 for over 20 seconds
> > https://bugs.launchpad.net/ubuntu/+source/libgcrypt11/+bug/665932
> > 
> > I tested whether removing uswsusp helps.
> > 
> > It did.
> > 
> > Now it boots with custom built kernel again.
> > 
> > Since I use in-kernel-suspend currently, thats okay for me. I still
> > wanted to report the issue.
> > 
> > As it blocks boot I raised severity to important. I am not sure whether
> > uswsusp causes the bug, might be another package from apt-get upgrade
> > today, but since after removing uswsusp problem is gone, I reported it
> > here for now. Feel free to reassign approbiately.
[…]
> > -- System Information:
> > Debian Release: jessie/sid
[…]
> 
> Hi Martin,
> 
> thanks a lot for your report. Please, can you send this info:
> 
> 1. List of your swap devices. (cat /proc/swaps can help).

merkaba:~> cat /proc/swaps
Filename  TypeSizeUsedPriority
/dev/dm-2 partition   1258290812584   -1
merkaba:~> swapon -s
Filename  TypeSizeUsedPriority
/dev/mapper/merkaba-swap  partition   1258290812584   -1

> 2. The contents of the uswsusp configuration file (cat /etc/uswsusp.conf).

Sorry, as I purged the package its gone. I removed the package in order to
be able to boot my custom kernels again.

I could only try to look in an older backup snapshot at home.

> 3. The contents of the resume file for the initramfs-tools package
> (cat /etc/initramfs-tools/conf.d/resume).

merkaba:~> cat /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/merkaba-swap

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


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



Bug#724275: uswsusp: Stops at boot with "resume: libgcrypt version 1.5.3"

2013-09-23 Thread Rodolfo García Peñas (kix)


Martin Steigerwald  escribió:


Package: uswsusp
Version: 1.0+20120915-4
Severity: important

Dear Maintainer,

Today I upgraded my Debian GNU/Sid installation.

After that I rebooted.

On boot it stopped after

resume: libgcrypt version 1.5.3


I waited for at least a minute.


This happened with my custom built kernel 3.12-rc1. Debian 3.10-1-amd64
seems to work. I didn´t test any other kernels. I will attach configuration
of my custom build kernel.


After finding

boot stops at resume: libgcrypt 1.4.5 for over 20 seconds
https://bugs.launchpad.net/ubuntu/+source/libgcrypt11/+bug/665932

I tested whether removing uswsusp helps.

It did.

Now it boots with custom built kernel again.

Since I use in-kernel-suspend currently, thats okay for me. I still
wanted to report the issue.

As it blocks boot I raised severity to important. I am not sure whether
uswsusp causes the bug, might be another package from apt-get upgrade
today, but since after removing uswsusp problem is gone, I reported it
here for now. Feel free to reassign approbiately.

Thanks,
Martin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-rc1-tp520+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.51
ii  libblkid1  2.20.1-5.5
ii  libc6  2.17-92+b1
ii  libgcrypt111.5.3-2
ii  liblzo2-2  2.06-1.2
ii  libpci31:3.2.0-3
ii  libx86-1   1.1+ds1-10

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.114
ii  mount2.20.1-5.5

uswsusp suggests no packages.


Hi Martin,

thanks a lot for your report. Please, can you send this info:

1. List of your swap devices. (cat /proc/swaps can help).
2. The contents of the uswsusp configuration file (cat /etc/uswsusp.conf).
3. The contents of the resume file for the initramfs-tools package
(cat /etc/initramfs-tools/conf.d/resume).

Thanks a lot,
Best regards,
kix
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