Your message dated Tue, 10 Oct 2006 03:05:51 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#377389: fixed in hibernate 1.94-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: hibernate
Version: 1.91-2
Severity: wishlist
The hibernate package, in its wonderful new form where it
automatically tries susp2 then swsusp (which is in the stock Debian
kernel) then save to RAM, is great. It "just works" on a stock Debian
install, with no recompilation or complex contortions. It does
however require a tiny bit of setup, and to this end I would suggest a
brief file explaining to users what they need to do.
Here is my attempt.
I'm sure it could be improved, eg by allowing hibernate to do the
resume= bit automatically by editing hibernate's config files instead
of configuring the boot loader itself manually as I have done.
----------------------------------------------------------------
$ cat /usr/share/doc/hibernate/HOWTO.Debian.swsusp
----------------------------------------------------------------
To get the "hibernate" command to work on a stock Debian machine, you
need to do a small amount of setup. This file attempts to walk you
through the process. We assume you are running a stock Debian kernel,
and that hibernate will be defaulting to the "swsusp" method.
**** INSTALL AND REMOVE PACKAGES
First, you *must* have the following packages installed/removed:
install: hibernate (version >= 1.91)
install: initramfs-tools initrd-tools
install: udev (reasonably recent, eg version >= 0.093)
remove: yaird
install: linux-image-XXX-YYY (with XXX >= 2.6.8)
Second, if you are running a kernel installed while yaird was
installed, you *must* reconfigure that kernel so its initrd.img is
rebuilt without the use of yaird:
dpkg-reconfigure linux-image-XXX-YYY
**** REBOOT
You may now reboot into your new kernel.
**** IDENTIFY YOUR SWAP PARTITION
When awakening from hibernation, you need to pass the boot option
resume=/dev/hdXX
to the linux kernel, where /dev/hdXX is your swap partition, as this
is where the state of the suspended system is stored. You can figure
out your swap partition using the command
egrep swap /etc/fstab
or
swapon -s
**** CONFIGURE BOOT LOADER TO PASS OPTION RESUME=
The resume= option is harmless if the machine is not suspended, so you
should modify your boot scripts to always pass that option. How to do
this depends on which boot loader you use. If you run lilo, add the
line
append="resume=/dev/hdXX"
at the top of the file /etc/lilo.conf and run the command
lilo
If you run grub, edit /boot/grub/menu.lst to include the line
# defoptions=resume=/dev/hda1
immediately following the line
## e.g. defoptions=vga=791 resume=/dev/hda5
and run the command
update-grub
**** TEST THAT HIBERNATION WORKS
At this point, you should be able to run
hibernate
and it should do some magic suspending and then halt. When you reboot
it should magically awaken from its hibernation.
****************************************************************
**** QUESTIONS
Instead of /dev/hdXX, your swap partition might be of the form
/dev/sdXX. That is okay.
**** TROUBLESHOOTING: HARDWARE ISSUES AFTER AWAKENING
Some kernel modules need to be unloaded prior to hibernation. This is
largely preconfigured, but some carelessly built hardware, for
instance most Dell laptops (Dell is well known for sloppy engineering)
require that particular modules be unloaded. For example, on my Dell
X200, a particularly worthless piece of crap laptop which is also
surprisingly slow, the 1394 (firewire) interface fails after
hibernation. This was cured by adding the line
UnloadModules ohci1394 ieee1394
to /etc/hibernate/common.conf immediately following the line
# UnloadModules snd_via82cxxx usb-ohci
--- End Message ---
--- Begin Message ---
Source: hibernate
Source-Version: 1.94-1
We believe that the bug you reported is fixed in the latest version of
hibernate, which is due to be installed in the Debian FTP archive:
hibernate_1.94-1.diff.gz
to pool/main/h/hibernate/hibernate_1.94-1.diff.gz
hibernate_1.94-1.dsc
to pool/main/h/hibernate/hibernate_1.94-1.dsc
hibernate_1.94-1_all.deb
to pool/main/h/hibernate/hibernate_1.94-1_all.deb
hibernate_1.94.orig.tar.gz
to pool/main/h/hibernate/hibernate_1.94.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
martin f. krafft <[EMAIL PROTECTED]> (supplier of updated hibernate package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 10 Oct 2006 09:41:11 +0200
Source: hibernate
Binary: hibernate
Architecture: source all
Version: 1.94-1
Distribution: unstable
Urgency: low
Maintainer: martin f. krafft <[EMAIL PROTECTED]>
Changed-By: martin f. krafft <[EMAIL PROTECTED]>
Description:
hibernate - smartly puts your computer to sleep (suspend to RAM or disk)
Closes: 317479 317479 370713 377389 378282 378347 381033 381903 381927 384140
384471 386426 386623 386799
Changes:
hibernate (1.94-1) unstable; urgency=low
.
* New upstream release:
- properly escape amarok process listing (closes: #378282).
- does not fail if KDE sessions are already locked (closes: #384471).
- enables verbose output earlier (closes: #370713).
* Merged several patches into upstream code:
- Patch by Joey Hess to save/restore brightness levels with GFX cards
(closes: #384140).
- Patch against vbetool scriptlet to log stderr output to log file, and
only let output through to real stderr if verbosity >=2 is selected
(closes: #381927).
- Corrected typo in hibernate.conf manpage (closes: #386799).
- Reworded the init.d script message about invalidating stale signatures
(closes: #381903).
- Added ath_pci to blacklisted modules (see #383169).
- Added scriptlet to remount /boot read-only if /boot is a separate
partition, contains an XFS filesystem, hibernate was asked to update the
Grub menu file, and this feature has not been disabled in the
configuration file (closes: #317479, #317479, #386623).
Also added README.xfs to document caveats for users of the XFS
filesystem.
- Improved ususpend method. Now supports USuspendRamForce (boolean) to
pass the -f option to s2ram. Also tests with s2ram's -n option if s2ram
is used and the option is not set. I also made disk.conf and ram.conf
prefer the uswsusp methods, if they are available. If you do not want to
use them, use the sysfs-{ram,disk}.conf files, which are the former
ram.conf and disk.conf files.
- Use /proc/net/dev instead of ifconfig to enumerate network devices,
because the latter would ignore madwifi interfaces.
* Now actually installs the ususpend configuration (though not
ususpend.conf), which I had previously forgotten. Thanks to René van
Bevern and Christian Schuerer for pointing it out (closes: #378347).
* Added recommendation on vbetool, thanks to Minh Ha Duong.
* Added recommendation on uswsusp, so that the new uswsusp code gets used
if supported by the kernel (>= 2.6.17rc1), and suspend2 is not available.
* Fixed up recommendations (other packages that most people will want to
use) and suggestions (other packages used but not needed by many).
* Added a hibernation HOWTO by Barak A. Pearlmutter to
/usr/share/doc/hibernate (closes: #377389).
* Moved vbetool options from sysfs-ram.conf to ram.conf; they're also
applicable to ususpend.
* Create log file with 0644:root:adm permissions (closes: #381033).
* Added hibernate-ram and hibernate-disk symlinks which automatically use
ram.conf or disk.conf as configuration file, rather than hibernate.conf
(closes: #386426).
Files:
e825e6c5be851155747a3f223978de23 701 utils extra hibernate_1.94-1.dsc
f8826d4c96e320902382f29c91694c04 72928 utils extra hibernate_1.94.orig.tar.gz
7a1bf5abd28f5f29fc1debb54d2cec13 12416 utils extra hibernate_1.94-1.diff.gz
3b41e5e2609a2bb2177a449fdd180a7c 85936 utils extra hibernate_1.94-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFK1eCIgvIgzMMSnURAsxKAJ9DAlMDbmMTJl3I9Sf5B4ULXiauSwCfRN2f
Jl+FH+8aSyhqUWnIP4iaIaI=
=jK/A
-----END PGP SIGNATURE-----
--- End Message ---