--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: hibernate: Please disable hibernation after kernel updates
- From: Hans Ulrich Niedermann <debian@n-dimensional.de>
- Date: Sun, 23 Apr 2006 13:25:27 +0200
- Message-id: <20060423112527.18986.89494.reportbug@mir.z61.n-dimensional.de>
Package: hibernate
Version: 1.12-1
Severity: normal
Using the following software sometimes results in failed resumes:
- Linux kernel from Debian unstable
- Linux kernel software suspend code (not suspend2):
"UseSysfsPowerState disk"
- "hibernate" script
How this happens:
1. Boot/resume the system.
2. Run "apt-get upgrade" which installs a new kernel package.
3. Run "hibernate" to suspend system as usually.
4. Resume now fails because of the new kernel.
A few ideas for fixing the problem:
a) When "hibernate" is run to suspend the system, check that the
exact version of currently running kernel will be available on
the next boot. If it will not be available, do not suspend.
b) This could be achieved by a script run on system boots (but not
resumes) which records the exact version of the kernel running,
making a connection to the Debian package behind it. The
hibernate script could then check the currently installed kernel
package against the package on startup.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (250, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
hibernate depends on no packages.
Versions of packages hibernate recommends:
pn console-tools <none> (no description available)
ii hdparm 6.3-3 tune hard disk parameters for high
ii vlock 1.3-9 Virtual Console locking program
-- no debconf information
--- End Message ---