Bug 386969 - Installation from live CD does not put swap partition into fstab
Summary: Installation from live CD does not put swap partition into fstab
Status: RESOLVED DUPLICATE of bug 389099
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 01:25 UTC by Miguel Angel Barajas
Modified: 2008-05-16 14:43 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
pm-suspend.log (8.61 KB, text/plain)
2008-05-15 15:29 UTC, Miguel Angel Barajas
Details
yast2 logs, after the installation from the live-KDE4-CD (134.62 KB, application/x-bzip-compressed-tar)
2008-05-16 14:14 UTC, Forgotten User ZhJd0F0L3x
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Angel Barajas 2008-05-06 01:25:29 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.
Comment 1 Timo Hoenig 2008-05-15 11:41:42 UTC
Miguel, what happens if you run s2disk in a console?
Comment 2 Forgotten User ZhJd0F0L3x 2008-05-15 13:07:03 UTC
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.
Comment 3 Miguel Angel Barajas 2008-05-15 15:29:14 UTC
Created attachment 215645 [details]
pm-suspend.log
Comment 4 Miguel Angel Barajas 2008-05-15 16:42:05 UTC
(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 # 

Comment 5 Forgotten User ZhJd0F0L3x 2008-05-15 16:49:27 UTC
===== 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.
Comment 6 Forgotten User ZhJd0F0L3x 2008-05-16 14:11:52 UTC
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.
Comment 7 Forgotten User ZhJd0F0L3x 2008-05-16 14:14:39 UTC
Created attachment 215989 [details]
yast2 logs, after the installation from the live-KDE4-CD
Comment 8 Forgotten User ZhJd0F0L3x 2008-05-16 14:19:36 UTC
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.
Comment 9 Arvin Schnell 2008-05-16 14:43:21 UTC

*** This bug has been marked as a duplicate of bug 389099 ***