Your message dated Wed, 03 May 2006 21:41:13 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#365368: powersaved mistaken about resume= parameter
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: powersaved
Version: 0.12.11-1
Severity: normal
powersaved complains that there is no resume= boot option, when I try to
suspend to disk. However:
(root) /boot$ grep resume= /boot/grub/menu.lst
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=resume=/dev/hda2
kernel /boot/vmlinuz-2.6.16-dsdt-64m root=/dev/hda1 ro
resume=/dev/hda2
kernel /boot/vmlinuz-2.6.16-1-k7 root=/dev/hda1 ro
resume=/dev/hda2
(root) /boot$ cat /proc/cmdline
root=/dev/hda1 ro resume=/dev/hda2
Setting SUSPEND2DISK_SKIP_RESUME_CHECK to yes, as mentioned in the error
message (although not found in /etc/powersave/sleep), corrects the
problem.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-dsdt-64m
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages powersaved depends on:
ii adduser 3.86 Add and remove users and groups
ii dbus 0.61-5 simple interprocess messaging syst
ii hal 0.5.7-1 Hardware Abstraction Layer
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libcpufreq0 001-2 shared library to deal with the cp
ii libdbus-1-2 0.61-5 simple interprocess messaging syst
ii libdbus-glib-1-2 0.61-5 simple interprocess messaging syst
ii libgcc1 1:4.1.0-1+b1 GCC support library
ii libglib2.0-0 2.10.2-1 The GLib library of C routines
ii libhal1 0.5.7-1 Hardware Abstraction Layer - share
ii libpowersave10 0.12.11-1 power management daemon - shared l
ii libstdc++6 4.1.0-1+b1 The GNU Standard C++ Library v3
ii libsysfs2 2.0.0-6 interface library to sysfs
ii lsb-base 3.1-4 Linux Standard Base 3.1 init scrip
Versions of packages powersaved recommends:
ii acpid 1.0.4-5 Utilities for using ACPI power man
ii hdparm 6.6-1 tune hard disk parameters for high
pn kpowersave <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
jacob wrote:
> On Tue, May 02, 2006 at 03:37:05PM +0200, Michael Biebl wrote:
>> jacob wrote:
>>> Package: powersaved
>>> Version: 0.12.11-1
>>> Severity: normal
>>>
>>>
>>> powersaved complains that there is no resume= boot option, when I try to
>>> suspend to disk. However:
>>>
>>> (root) /boot$ grep resume= /boot/grub/menu.lst
>>> ## e.g. defoptions=vga=791 resume=/dev/hda5
>>> # defoptions=resume=/dev/hda2
>>> kernel /boot/vmlinuz-2.6.16-dsdt-64m root=/dev/hda1 ro
>>> resume=/dev/hda2
>>> kernel /boot/vmlinuz-2.6.16-1-k7 root=/dev/hda1 ro
>>> resume=/dev/hda2
>>> (root) /boot$ cat /proc/cmdline
>>> root=/dev/hda1 ro resume=/dev/hda2
>>>
>>> Setting SUSPEND2DISK_SKIP_RESUME_CHECK to yes, as mentioned in the error
>>> message (although not found in /etc/powersave/sleep), corrects the
>>> problem.
>>>
>> Hi Jacob,
>>
>> could you please send me the output from cat /sys/power/resume?
>> powersaved uses this method for determining the swap partition as there
>> are several ways to specify the default resume partition (kernel config,
>> boot pararameter, initrd parameter).
>> Please also send me the log file /var/log/suspend2disk.log.
>>
>
> $ cat /sys/power/resume
> 0:0
Ok, here is the source of the problem. Your resume partition is not
correctly set (0:0 basically means, no resume partition). So powersaved
is actually working correctly (that's why I'm closing this bug).
The question now is, why the resume partition is not correctly set.
> Memory info:
> total used free shared buffers cached
> Mem: 710696 302760 407936 0 0 228288
> -/+ buffers/cache: 74472 636224
> Swap: 0 0 0
>
Interesting. Seems as if the swap partition is not activated. Do you
have a
/dev/hda2 none swap sw 0 0
line in your /etc/fstab?
Another possible reason could be, that the resume partition is not
correctly set in the initrd (You are using a Debian kernel which uses an
initial ramdisk).
Could you please check /etc/mkinitramfs/conf.d/resume and also
/etc/mkinitramfs/initramfs.conf if they have a bogus RESUME=...
Cheers,
Michael
signature.asc
Description: OpenPGP digital signature
--- End Message ---