[Bug 494627] New: "s2disk: Could not stat the resume device file" when using encrypted swap
http://bugzilla.novell.com/show_bug.cgi?id=494627 Summary: "s2disk: Could not stat the resume device file" when using encrypted swap Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i386 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: s.assmann@gmx.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 I tried to convert the swap partition to an encrypted one. What I did: - go to expert partitioner - select swap partition, format it and enabled the encryption button - password is left blank After a reboot swap seems to be set up correctly: eeepc:~ # cat /proc/swaps Filename Type Size Used Priority /dev/mapper/cr_sda2 partition 2048276 0 -1 However s2disk no longer works. eeepc:~ # s2disk s2disk: Could not stat the resume device file. Reason: No such file or directory Some useful information: eeepc:~ # cat /etc/crypttab cr_sda3 /dev/disk/by-id/ata-ST9160310AS_5SV4EV3W-part3 none none cr_sda2 /dev/disk/by-id/ata-ST9160310AS_5SV4EV3W-part2 none swap eeepc:~ # cat /proc/cmdline root=/dev/disk/by-id/ata-ST9160310AS_5SV4EV3W-part1 resume=/dev/disk/by-id/dm-name-cr_sda2 vga=0x314 usbcore.autosuspend=1 eeepc:~ # l /dev/disk/by-id/dm-name-cr_sda2 lrwxrwxrwx 1 root root 10 Apr 14 12:39 /dev/disk/by-id/dm-name-cr_sda2 -> ./../dm-1 eeepc:~ # mkinitrd Kernel image: /boot/vmlinuz-2.6.27.19-3.2-default Initrd image: /boot/initrd-2.6.27.19-3.2-default Root device: /dev/disk/by-id/ata-ST9160310AS_5SV4EV3W-part1 (/dev/sda1) (mounted on / as ext3) Resume device: /dev/disk/by-id/dm-name-cr_sda2 (/dev/dm-1) Kernel Modules: hwmon thermal_sys processor thermal fan jbd mbcache ext3 scsi_mod usbcore usb-storage edd crypto_blkcipher dm-mod dm-crypt dm-snapshot dock libata ata_piix crc-t10dif sd_mod ohci-hcd uhci-hcd ehci-hcd ff-memless hid usbhid Features: dm block usb resume.userspace resume.kernel Bootsplash: openSUSE (800x600) 25337 blocks Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494627 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494627 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494627#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |jeffm@novell.com AssignedTo|kernel-maintainers@forge.pr |seife@novell.com |ovo.novell.com | --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2009-05-18 08:45:56 MDT --- I use an encrypted swap as well. I see the same thing. An strace reveals: stat("", 0x7fff3173d870) = -1 ENOENT (No such file or directory) So this is a userspace problem. Assigning to suspend maintainer. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=494627 User seife@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=494627#c2 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Stefan Seyfried <seife@novell.com> 2009-05-27 04:21:05 MDT --- if you use s2disk manually, you need to configure it manually. If you use it via pm-utils, it works as intended. But I don't think that support for encrypted swap is implemented. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com