Bugzilla – Bug 386969
Installation from live CD does not put swap partition into fstab
Last modified: 2008-05-16 14:43:21 UTC
Lenovo z61t Doesn't go to hibernate on gnome, it activate the screen lock instaed. This very machine goes to hibernate with out a problem with openSUSE 10.3. Now, with the openSUSE 11 Beta 2 the little "moon shape" led blink a couple of times and then appears the screen lock challenge screen. Then nothing happens.
Miguel, what happens if you run s2disk in a console?
Please attach /var/log/pm-suspend.log after such a failed suspend to disk. s2disk from a console won't work without further preparation, so there's no point in trying it.
Created attachment 215645 [details] pm-suspend.log
(In reply to comment #1 from Timo Hoenig) > Miguel, what happens if you run s2disk in a console? > nightmare:/home/gnuowned # s2disk s2disk: Could not stat the resume device file. Reason: No such file or directory nightmare:/home/gnuowned #
===== Thu May 15 10:23:11 CDT 2008: running hook: /usr/lib/pm-utils/sleep.d/30s2disk-check ===== INFO: checking for suspend-to-disk prerequisites... ERROR: resume partition '/dev/sda1' not active, can not suspend It looks like you don't have your swap partition active. You need swap to suspend to disk. I'll close this bug as invalid, assuming that you deactivated the swap partition for some reason. If the swap partition got deactivated by something else inadvertently, then reopen so we can find out who / what did this.
I am sorry for the fast resolution - i just reproduced this bug. If you install from the Live CD (i installed from the KDE4 beta3 live CD), there is no swap in /etc/fstab: tux@linux:~> cat /etc/fstab /dev/disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001-part2 / ext3 acl,user_xattr 1 1 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 tux@linux:~> su Passwort: linux:/home/tux # fdisk -l Platte /dev/sda: 6442 MByte, 6442450944 Byte 255 Köpfe, 63 Sektoren/Spuren, 783 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x000b3adb Gerät boot. Anfang Ende Blöcke Id System /dev/sda1 1 97 779121 82 Linux Swap / Solaris /dev/sda2 * 98 783 5510295 83 Linux Will attach y2logs. I take the usual suspend suspects into CC, since we will see lots of duplicates of this one.
Created attachment 215989 [details] yast2 logs, after the installation from the live-KDE4-CD
note that i still see this with a fresh beta3 installation. Miguel, just add your swap partition to /etc/fstab, either with yast2 partitioner or manually, reboot and it should work.
*** This bug has been marked as a duplicate of bug 389099 ***