From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Blackham Subject: Re: Hibernate to LVM Date: Sat, 15 Jan 2005 18:45:55 +0800 Message-ID: <20050115104555.GF4429@blackham.com.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Donald W Watson Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Thu, Jan 13, 2005 at 01:41:35PM -0800, Donald W Watson wrote: > I have seen no discussion of the following in the archives. Hibernate (S4) does > not work if the swap partition is on an LVM Logical Volume. [...] > Are these deliberate design decisions? The in-kernel swsusp can not be built as a module. As a consequence, it will always try to resume before an initrd/initramfs has been executed. LVM setup (AFAIK) generally takes place in an initrd, or off a separate boot partition once the kernel has booted. Hence, impossible. On the other hand, Software Suspend 2 should support it: http://softwaresuspend.berlios.de/ - it'll need a bit of tweaking of your initrd to tell it when to resume though. Bernard. -- Bernard Blackham ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt