[Bug 721666] New: swapon and swapoff are not occurring (encrypted swap)
https://bugzilla.novell.com/show_bug.cgi?id=721666 https://bugzilla.novell.com/show_bug.cgi?id=721666#c0 Summary: swapon and swapoff are not occurring (encrypted swap) Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nrickert@ameritech.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 System is a Dell inspiron N5010. I installed 12.1 Beta1 from the 32bit live KDE disk. The swap partition is encrypted (dm-crypt, random key). After booting, swap has not been mounted. The crypto has been done, so that a simple "swapon -a" will mount swap. It looks as if the initial swapon fails because it is too early (crypto not handled yet). It fails to retry after the cryptsetup. On shutdown, if I have manually mounted swap, there is a message that flashes by indicating a failure to shutdown the crypto. It looks as if swapoff is not being run in time for the crypto shutdown. Reproducible: Always Steps to Reproduce: 1. After boot, run the "free" command. It shows 0 swap unless I manually add swap. 2. 3. Actual Results: Shows 0 swap Expected Results: Should show several gig of swap available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c1
Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c2
--- Comment #2 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c3
--- Comment #3 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c4
--- Comment #4 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c5
--- Comment #5 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c7
--- Comment #7 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c8
--- Comment #8 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c9
--- Comment #9 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c10
--- Comment #10 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c11
--- Comment #11 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c12
--- Comment #12 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c13
--- Comment #13 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c14
--- Comment #14 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c15
--- Comment #15 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c16
--- Comment #16 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c17
--- Comment #17 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c18
--- Comment #18 from Neil Rickert
Neil, you have a dependency cycle, which explains the issue.
That may explain it for you. It does not help me. I am seeing "unable to break cycle" during bootup. This problem has been there since install, and is not caused by any changes that I might have made. I tried installing (also from the KDE live iso) on another system, where I have been using encrypted swap. So I included encrypted swap in that install also. The same problem (swapon not done) is occurring there. For comparison, I also have 12.1 installed on a system with encrypted LVM. I am not having swap problems there, and I don't think I am seeing that "unable to break cycle" message either. In that system, everything except "/boot" is encrypted, and the cryptsetup is run from the "initrd". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c19
--- Comment #19 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c20
--- Comment #20 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c21
--- Comment #21 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c22
--- Comment #22 from Bruno Friedmann
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c23
--- Comment #23 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c24
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=721666
https://bugzilla.novell.com/show_bug.cgi?id=721666#c25
--- Comment #25 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com