From: Phillip Susi <psusi@ubuntu.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Disable hibernate -- Live media shouldn't allow it?
Date: Thu, 16 May 2013 09:56:43 -0400 [thread overview]
Message-ID: <5194E59B.8070800@ubuntu.com> (raw)
In-Reply-To: <1504575.PoflzRoA7X@vostro.rjw.lan>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/16/2013 4:54 AM, Rafael J. Wysocki wrote:
> No, I don't think so. At least I'm not aware of that. Do you have
> any pointers to the kernel code doing that?
No, but I also can't see anything in user mode doing it either, which
is why I'm asking. I assumed that since this is an emergency response
required by the ACPI spec, that it would be implemented by the kernel
ACPI driver.
> Actually, it is not all it takes. You need to point the hibernate
> code to the specific swap through the resume= kernel command line
> option (there is a default, though).
That's needed to resume, but not to hibernate. Simply doing a swapon
is enough to enable hibernating. Checking that you have a valid
resume= kernel argument probably would be a sane thing to do before
allowing hibernation, but this isn't currently the case.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRlOWYAAoJEJrBOlT6nu75C5AH/AylnOPsCPngyZtMGoyBNE5t
IY/AM6YjVnuOuCYkIvQ973Vm6gIBaX4jP3SIAc35GEHWMwc+374DmDsuCsH3+hSh
aT16qYIyx/hMgX8YN1qKoLSLoN3VwA0Lv1UV8aaAsmlJsX5mG4FtSpzPTtwBkIoj
ctVJIfihpKgBJcbF0uvWyI8Z+2i9xa8jryd+Tl31K3Q4WLX/8XWjOtph9dcsXUXC
6En190gCz9dYeNN0937OLCXbmjOd0krGo7512OkfsygjAoPf589XzopS3BCLichM
RQ8w295x8OhO5BZaKMUtHaxsLuj7v5X4BAqfAP83iNbR7Gj/nP7dQpExb8/y7xs=
=O9Ks
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2013-05-16 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 22:14 Disable hibernate -- Live media shouldn't allow it? Phillip Susi
2013-05-15 22:29 ` Rafael J. Wysocki
2013-05-15 23:45 ` Phillip Susi
2013-05-16 8:54 ` Rafael J. Wysocki
2013-05-16 13:56 ` Phillip Susi [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=5194E59B.8070800@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@sisk.pl \
/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