[Bug 253395] New: Suspend to disk does not work: resume partition not active
https://bugzilla.novell.com/show_bug.cgi?id=253395 Summary: Suspend to disk does not work: resume partition not active Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: uli.2001@gmx.de QAContact: qa@suse.de Suspend to disk does not work on my Thinkpad T60: First, /etc/pm/hooks/30s2disk-check complained about a missing suspend= parameter (this might be related to the problem that I was unable to create a swap partition during initial installation), so I added suspend=/dev/sda6 (my swap partition) using the Yast Bootloader module. Now, I get the following error message: ===== Sat Mar 10 17:23:00 CET 2007: running hook: /etc/pm/hooks/30s2disk-check ===== INFO: checking for suspend-to-disk prerequisites... ERROR: resume partition '/dev/hda6' not active, can not suspend WARNING: /var/run/pm-utils.inhibit will be created to prevent suspending! I am unable to find any information regarding this error. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 ------- Comment #1 from uli.2001@gmx.de 2007-03-10 09:34 MST ------- Created an attachment (id=123662) --> (https://bugzilla.novell.com/attachment.cgi?id=123662&action=view) My pm-suspend.log after trying to do supend to disk -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 ------- Comment #2 from uli.2001@gmx.de 2007-03-10 09:37 MST ------- Suspend to RAM seems to work find, without having to configure anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |seife@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fseidel@novell.com, hmacht@novell.com Status|NEW |NEEDINFO Component|Basesystem |Mobile Devices Info Provider| |uli.2001@gmx.de ------- Comment #3 from seife@novell.com 2007-03-14 13:49 MST ------- what does "cat /proc/swaps" say on your system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 ------- Comment #4 from seife@novell.com 2007-03-14 13:57 MST ------- (In reply to comment #0)
Suspend to disk does not work on my Thinkpad T60:
First, /etc/pm/hooks/30s2disk-check complained about a missing suspend= parameter (this might be related to the problem that I was unable to create a swap partition during initial installation), so I added suspend=/dev/sda6 (my swap partition) using the Yast Bootloader module.
Now, I get the following error message: ===== Sat Mar 10 17:23:00 CET 2007: running hook: /etc/pm/hooks/30s2disk-check ===== INFO: checking for suspend-to-disk prerequisites... ERROR: resume partition '/dev/hda6' not active, can not suspend
It looks like you added "resume=/dev/hda6", not "resume=/dev/sda6". You can simply change this in /boot/grub/menu.lst
WARNING: /var/run/pm-utils.inhibit will be created to prevent suspending!
I am unable to find any information regarding this error.
from the logfile: total used free shared buffers cached Mem: 1034816 612324 422492 0 33368 392520 -/+ buffers/cache: 186436 848380 Swap: 0 0 0 This shows that swap is not active. You need to enter the swap in /etc/fstab like this: /dev/sda6 swap swap defaults 0 0 Reboot after that (and after changing the resume= parameter) and try again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 uli.2001@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|uli.2001@gmx.de | ------- Comment #5 from uli.2001@gmx.de 2007-03-15 03:19 MST -------
cat /proc/swaps Filename Type Size Used Priority /dev/sda6 partition 1574328 36 -1
You are right: I incorrectly added resume=/dev/hda6 instead of ...sda6. Probably the resume=... parameter was not added during initial setup because I could not add a swap partition because of Bug 253393: https://bugzilla.novell.com/show_bug.cgi?id=253393 Having resume=... corrected, Suspend to Disk seems to work now. Thanks for the help! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=253395 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #6 from seife@novell.com 2007-03-15 13:28 MST ------- Ok, so this (suspend not working for you initially) is a result of the swap-creating problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com