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 |
P.S. the suspend to ram works actually. It is the suspend to disk
which fails. |
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. |
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" |
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 |
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. |
Quote:
|
All times are GMT -5. The time now is 11:39 PM. |