Package: uswsusp
Version: 1.0+20110509-2
Severity: important
Tags: squeeze sid

Hello,
I tried to use the uswsusp package on my squeeze installation with backported
2.6.39-486 kernel on my Thinkpad X40. I encrypted the whole disk on
installation with the dm-crypt methode allowed by the installer.

Now I have a device called /dev/mapper/sda2_crypt -> ../dm-0 (which points to
dm-0).
I created a swapfile with the same size as my physical ram (/swap.file).
Calling dpkg-reconfigure uswsusp gave me the following /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 = 728065802
suspend loglevel = 2
max loglevel = 1
RSA key file = /etc/uswsusp.key
shutdown method = platform
resume offset = 61440

The generated initrd image incuded all hooks and this .conf file. After calling
hibernate on the commandline as root, the image seems to be written on the disk
without any problems and the machines powers off.

Anyway, after switching the laptop on again, I've never noticed an attempt to
resume from disk. I also tried "resume device = /dev/mapper/sda2_crypt", but
the suspend image which might be written correctly to /swap.file was never
recovered. The installation boots as if there were no suspend image.

How do I notice, if some attempt is even made?

Regards,
Ossy



-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-bpo.2-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgcrypt11                   1.4.5-2    LGPL Crypto library - runtime libr
ii  liblzo2-2                     2.03-2     data compression library
ii  libpci3                       1:3.1.7-6  Linux PCI Utilities (shared librar
ii  libx86-1                      1.1+ds1-6  x86 real-mode library

Versions of packages uswsusp recommends:
ii  initramfs-tools             0.99~bpo60+1 tools for generating an initramfs
ii  mount                       2.17.2-9     Tools for mounting and manipulatin

uswsusp suggests no packages.

-- debconf information:
* uswsusp/compress: true
* uswsusp/compute_checksum: false
  uswsusp/create_RSA_key: false
  uswsusp/no_snapshot:
* uswsusp/snapshot_device:
* uswsusp/suspend_loglevel: 2
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/no_swap:
* uswsusp/max_loglevel: 1
* uswsusp/resume_device: /dev/dm-0
  uswsusp/resume_offset: 61440
* uswsusp/shutdown_method: platform
* uswsusp/encrypt: false
* uswsusp/splash: true
* uswsusp/early_writeout: true
* uswsusp/image_size: 728065802
  uswsusp/RSA_key_bits: 1024
* uswsusp/continue_without_swap: true



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