https://bugzilla.novell.com/show_bug.cgi?id=665276 https://bugzilla.novell.com/show_bug.cgi?id=665276#c0 Summary: Suspend to disk fails because of wrong IMAGE_SIZE calculated in /usr/lib/pm-utils/sleep.d/30s2disk-check Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i386 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vy@samiznaetekogo.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 Suspend to disk fails because of wrong IMAGE_SIZE calculated in /usr/lib/pm-utils/sleep.d/30s2disk-check /usr/lib/pm-utils/sleep.d/30s2disk-check line 13: IMAGE_SIZE="`awk '/^MemTotal:/ { print int($2*1024*.45) }' /proc/meminfo`" /proc/meminfo returns MemTotal value already in kilobytes, so resulting IMAGE_SIZE gets too big to fit in swap area. Also multiplying by .45 resulting in too small image size. Smaller IMAGE_SIZE should work, but actually it doesn't. Fixed by changing that line to: IMAGE_SIZE="`awk '/^MemTotal:/ { print int($2) }' /proc/meminfo`" Reproducible: Always Steps to Reproduce: 1. Click "Hibernate" Actual Results: Hibernation process fails, computer returns to running state. Expected Results: Hibernation successfully completed, computer shuts off. -- 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.