Package: uswsusp
Version: 1.0+20110509-1.1
Severity: normal

Dear Maintainer,

   I am using the save to disk option for swap files instead of swap
   partitions, following this guide:
   http://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition
   It works fine the first time (Installing uswsusp after activating the
   swap file).
   But when I create a new swap file and run dpkg-reconfigure get newer
   configuration to effect in the kernel and uswsusp config, I get this
   message:

       The swap file or partition that was found in uswsusp's configuration 
file is not active.
       In most cases this means userspace software suspend will not work as 
expected. You should choose
       another swap space.
       However, in some rare cases, this configuration may be intentional.
       Continue without a valid swap space?

   And then whatever I choose (y/n) the new configuration for uswsusp
   and kernel won't be  generated.

   To work around this I have to first remove the uswsusp package and
   then install it again.

   Is there some other way to update the configs? I have tried using
   the "swap-offset" utility and edit uswsusp.conf manually, but that
   doesn't work as the kernel doesn't know the offset. I didn't go
   further with editing kernel files.

   I have written this script:
   https://github.com/crodjer/scripts/blob/master/hibernator.sh, mainly
   targeted to delete the swap file created on resume, to retrieve my
   disk space back. But for it to work, I have to run apt purge-install
   pair instead of reconfiguring.
   This will show you exactly what steps I am taking for creating and
   handling swap files.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.41    
ii  libc6                  2.13-18   
ii  libgcrypt11            1.5.0-3   
ii  liblzo2-2              2.05-2    
ii  libpci3                1:3.1.7-12
ii  libx86-1               1.1+ds1-7 

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.99    
ii  mount            2.19.1-5

uswsusp suggests no packages.

-- debconf information:
  uswsusp/compute_checksum: false
  uswsusp/no_snapshot:
  uswsusp/suspend_loglevel:
  uswsusp/no_swap:
  uswsusp/resume_offset: 2293760
  uswsusp/early_writeout: true
  uswsusp/image_size: 2.81697e+09
  uswsusp/compress: true
  uswsusp/create_RSA_key: false
  uswsusp/snapshot_device:
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/max_loglevel:
  uswsusp/resume_device: /dev/sda1
  uswsusp/shutdown_method: platform
  uswsusp/encrypt: false
  uswsusp/splash: true
  uswsusp/RSA_key_bits: 1024
  uswsusp/continue_without_swap: true



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

Reply via email to