public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Donald W Watson <dwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Hibernate to LVM
Date: Thu, 20 Jan 2005 14:36:43 +0100	[thread overview]
Message-ID: <20050120133643.GE476@openzaurus.ucw.cz> (raw)
In-Reply-To: <OF97651F7F.22151B8B-ON87256F88.0076CB20-88256F88.00772C98-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Hi!

> I am using the 2.6.10 kernel (linux-2.6.9.tar.bz2 with patch 2.6.10.bz2) on
> an older IBM ThinkPad (T20 booted with acpi=force).
> 
> 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.  The
> reason is that try_name (init/do_mounts.c) is unable to find the partition
> in /sys/block.

Well, I'd say that this is currently unsupported.

> Further, if a second swap partition is established on a regular partition
> and referenced in the "resume" state in menu.lst, hibernate appears to
> succeed, but on resume check_sig (kernel/power.swsusp.c) complains because
> the swsusp_header signature is "SWAPSPACE2" rather than the hard-coded
> "S1SUSPEND" which it expects.

...but this one should be fixed. suspend should only write to partition
you specified with resume= parameter. If that is not the case, feel free to fix
it and send me a patch.

				Pavel
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

      parent reply	other threads:[~2005-01-20 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13 21:41 Hibernate to LVM Donald W Watson
     [not found] ` <OF97651F7F.22151B8B-ON87256F88.0076CB20-88256F88.00772C98-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2005-01-15 10:45   ` Bernard Blackham
     [not found]     ` <20050115104555.GF4429-4vSAtV5O1nc0n/F98K4Iww@public.gmane.org>
2005-01-20 13:38       ` Pavel Machek
2005-01-20 13:36   ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050120133643.GE476@openzaurus.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=dwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox