LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Suspend to disk in SuSE 10.0 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/suspend-to-disk-in-suse-10-0-a-390169/)

vicere 12-07-2005 10:00 AM

Suspend to disk in SuSE 10.0
 
Hello,

I have an IBM thinkpad R40, I was running SuSE 9.3;
it worked fine, including suspend to disk,
suspend to ram and dual boot.

I have updated to SuSE 10.0; the suspend to disk and
suspend to ram don't work anymore! Better said: I can
suspend, but when I try to resume, the kernel issues
messages related with the integrity of the reiserfs
filesystem, which appears to have been improperly shut down.

Did anybody experience a similar problem? Any hint
besides the obvious "go back to 9.3" ;) ?

Thanks!

Andrea

vicere 12-07-2005 12:53 PM

P.S. the suspend to ram works actually. It is the suspend to disk
which fails.

slantoflight 12-07-2005 01:08 PM

lol, I have the opposite of your problem actually in Suse 10.

Though I expect its bios related as my bios doesn't support S3 anyway.

:)

Try fsck.

biophysics 12-07-2005 02:34 PM

Look into:
/var/log/suspend2disk.log
/var/log/suspend2ram.log

It might give you some clues. Or post them here.


change in this file: /etc/sysconfig/powersave/sleep
SUSPEND2DISK_SHUTDOWN_MODE="shutdown"

vicere 12-10-2005 02:39 PM

Thanks for the help
 
Thanks for the suggestions I have checked, and the
file /etc/sysconfig/powersave already includes the
setting SUSPEND2DISK_SHUTDOWN_MODE="shutdown" .

The file /var/log/suspend2disk.log does not seem to contain
any error or warning, it ends with a reassuring
------------------------------------------------------------------------------
prepare_sleep finished for suspend2disk
------------------------------------------------------------------------------
preparing boot-loader: selecting entry 0, kernel /boot/2.6.13-15-default
time needed for sync: 0.1 seconds, time needed for grub: 53.1 seconds.


Andrea

vicere 12-10-2005 08:34 PM

Suspend to disk in SuSE 10: SOLVED!
 
Thanks for suggesting me to look in the logfiles!

I have discovered that the resume= option was not set in the GRUB menu.

Apparently, when updating from SuSE 9.3 to SuSE 10.0, the resume=/dev/something
option was not fixed in the GRUB bootloader configuration.

Anybody experiencing the same problem: look in the
/boot/grub/menu.1st file,
the entry corresponding to the SuSE 10 kernel should
contain a resume=/dev/hda# entry, with # being the number
corresponding to your swap device.

Another hint: if you do not see the grub menu when restarting,
you will have to modify the grub-once function in the
file /usr/lib/powersave/scripts/sleep_helper_functions

Setting it to

grub-once() {
echo -e "savedefault --stage2=/boot/grub/stage2 --default=$1 --once\nquit" | grub --batch
}

worked for me.

biophysics 12-11-2005 04:58 AM

Quote:

Apparently, when updating from SuSE 9.3 to SuSE 10.0, the resume=/dev/something
option was not fixed in the GRUB bootloader configuration.
Could you file a bug regarding this: https://bugzilla.novell.com


All times are GMT -5. The time now is 01:12 AM.