Package: uswsusp
Version: 0.3~cvs20060928-6
Severity: critical
Justification: causes serious data loss

Hi, uswsusp just tried to resume a previous session even though
the system was booted and filesystems remounted in the meantime.

I usually don't use initrd/initramfs, so I tried to create an
initramfs for my custom kernel running a plain "mkinitramfs", placing
the result in /boot/initrd-`uname -r` and creating an entry in grub's
menu.lst.  However, uswsusp didn't work with that (possibly because
initramfs didn't get loaded at all), so I installed a Debian kernel to
try out uswsusp.

After that, approximate steps to reproduce:

 - boot Debian's 2.6.18-3-686
 - s2disk
 - power up the machine
 - boot up a custom 2.6.17.11 kernel (possibly any other kernel with
   no support for uswsusp) ... ext3 journals get replayed, filesystems
   mounted rw, the system goes up normally like after a power loss
 - reboot
 - boot 2.6.18-3-686 again
   ... the suspended image is detected and uswsusp tries to resume.

At this point I frantically pushed the power button and didn't wait for
possible checks done after image is loaded.

If there are any checks on eg. last mount times and mount counts of
filesystems that were in use, that are done _after_ the image is
loaded, the bug can be downgraded.  If there are not, there should be.
;-)  As it is now, I think this subsystem is not robust enough to be
included in etch.

Regards,
Zoran

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8)

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]        1.5.6       Debian configuration management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcrypt11                  1.2.3-2     LGPL Crypto library - runtime libr
ii  libgpg-error0                1.4-1       library for common error values an
ii  zlib1g                       1:1.2.3-13  compression library - runtime

Versions of packages uswsusp recommends:
ii  initramfs-tools               0.84       tools for generating an initramfs

-- debconf-show failed


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

Reply via email to