https://bugzilla.novell.com/show_bug.cgi?id=223489 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.