uswsusp: resume_device set to devfs-like name (under D-I), always prevents hibernation
I wanted to CC debian-boot@lists.debian.org here it is.
-------- Forwarded Message --------
From: Franklin PIAT <fpiat@bigfoot.com>
To: Debian Bug Tracking System <411727@bugs.debian.org>
Subject: uswsusp: resume_device set to devfs-like name (under D-I),
always prevents hibernation
Date: Fri, 16 Mar 2007 10:23:43 +0100
Package: uswsusp
Version: 0.3~cvs20060928-6
Followup-For: Bug #411727
Hello,
I recently tested Etch on a few laptops and I noticed the uswsusp resume_device was always
set to long device (devfs like) names.
I first assumed It was a well known bug for Etch installation, but it doesn't seems so. Is it?
Do you think it means that it will prevent hibernation to work by default for Etch on laptop ?
My understanding is that :
- uswsusp is installed under the D-I environement ('Laptop' task depends on it).
- The D-I environnement uses devfs long names.
- so uswsusp configures swap device using devfs.
- therefore s2disk doesn't work.
Let me know if i can help. I start digging on how grub-install works.
Would it be better to:
- add a hook in the current package, in order to detect that we're in D-I, then use di's mapdevfs.
- or to have a standalone uswsusp_install.udeb package
(there are probably other solutions)
Franklin
Workaround for affected users :
Run "dpkg-reconfigure uswsusp" after reboot fix the problem.
my /proc/swaps :
Filename Type Size Used Priority
/dev/hda6 partition 979924 4 -1
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages uswsusp depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-13 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.85f tools for generating an initramfs
-- debconf information:
uswsusp/RSA_passphrase: (password omitted)
uswsusp/RSA_passphrase_v: (password omitted)
uswsusp/compute_checksum: false
uswsusp/no_snapshot:
uswsusp/suspend_loglevel:
uswsusp/no_swap:
uswsusp/early_writeout: true
uswsusp/image_size: 151629660
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/ide/host0/bus0/target0/lun0/part6
uswsusp/shutdown_method: platform
uswsusp/encrypt: false
uswsusp/splash: false
uswsusp/RSA_key_bits: 1024
uswsusp/continue_without_swap: true
Reply to: