[Bug 223490] New: suspend to disk doesn't work with swap partition on lvm
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223490 Summary: suspend to disk doesn't work with swap partition on lvm Product: SUSE Linux 10.1 Version: Final Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vogt@itwm.fraunhofer.de QAContact: qa@suse.de Hi! Suspend to disk doesn't work with mkinitrd-1.2-106.19, if swap/resume partition is located on a lvm. With the following patch everything is fine again. Regards Martin --- mkinitrd.orig 2006-11-22 16:34:32.000000000 +0100 +++ mkinitrd 2006-11-22 17:24:46.000000000 +0100 @@ -1803,7 +1803,7 @@ |fi | |# Verify manual resume mode - |if [ "$resume_mode" != "off" -a -n "\$resumedev" ]; then + |if [ "\$resume_mode" != "off" -a -n "\$resumedev" ]; then | if [ -w /sys/power/resume ]; then | echo "Trying manual resume from \$resumedev" | resume_mode=1 @@ -2558,13 +2558,6 @@ EOF fi - cat_linuxrc <<-'EOF' - |# Wait for udev to settle - |/sbin/udevsettle --timeout=$udev_timeout - |# Check for a resume device - |udev_discover_resume - EOF - if [ -n "$need_mdadm" ]; then cat_linuxrc <<-EOF |if [ -n "\$resume_minor" ] ; then @@ -2713,6 +2706,13 @@ fi cat_linuxrc <<-'EOF' + |# Wait for udev to settle + |/sbin/udevsettle --timeout=$udev_timeout + |# Check for a resume device + |udev_discover_resume + EOF + + cat_linuxrc <<-'EOF' |# And now for the real thing |if ! udev_discover_root ; then | echo "not found -- exiting to /bin/sh" -- 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, or are watching someone who is.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223490 ------- Comment #1 from vogt@itwm.fraunhofer.de 2006-11-23 08:53 MST ------- Created an attachment (id=106753) --> (https://bugzilla.novell.com/attachment.cgi?id=106753&action=view) Patch for /sbin/mkinitrd -- 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, or are watching someone who is.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=223490 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from chrubis@novell.com 2006-11-24 04:30 MST ------- *** This bug has been marked as a duplicate of bug 223489 *** -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com