Date: Mon, 30 Sep 2013 02:47:43 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Roland Smith <rsmith@xs4all.nl> Cc: yudi v <yudi.tux@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Is it possible to suspend to disk with geli+Root on ZFS installation Message-ID: <20130930015912.G67367@sola.nimnet.asn.au> In-Reply-To: <mailman.57.1380456002.9869.freebsd-questions@freebsd.org> References: <mailman.57.1380456002.9869.freebsd-questions@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In freebsd-questions Digest, Vol 486, Issue 7, Message: 5 On Sat, 28 Sep 2013 16:25:33 +0200 Roland Smith <rsmith@xs4all.nl> wrote: > On Fri, Sep 27, 2013 at 05:37:55PM +1000, yudi v wrote: > > Hi all, > > > > Is it possible to suspend to disk (hibernate) when using geli for full disk > > encryption. > > As far as I can tell, FreeBSD doesn't support suspend to disk on all > architectures. On amd64 the necessary infrastructure doesn't exist, and on > i386 FPU state is lost, there is no multiprocessor support and some MSRs are > not restored [1]. > > [1]: https://wiki.freebsd.org/SuspendResume Roland, sorry, no; you (and that page) are talking about Suspend to RAM, ACPI state S3. What you've said is correct re Suspend to RAM - though some running amd64 have achieved some success on some machines lately; most of the issues are with restoring modern video, backlight and such. Those i386 comments don't apply to my Thinkpad T23s, which suspend and resume, in console mode and X, flawlessly on 9.1-R and properly after various tweaks on 8.x, 7.x and 6.x - but they're a single core P3-M .. I must reiterate, FreeBSD does not support Suspend to Disk (state S4 aka 'hibernate') on ANY platform, except - perhaps - on machines supporting S4 in BIOS (hw.acpi.s4bios=1) which are very rarely spotted in the wild. > And even suspend to RAM doesn't work on every machine [2]. > > [2]: https://wiki.freebsd.org/IdeasPage#Suspend_to_disk That page IS about Suspend to Disk - but only as a wishlist idea, as it has been for many years. Someone did take it on as a Google SoC project years ago, but nothing ever came of it to my knowledge. The last laptop I have that will properly hibernate - ie save RAM and all state to disk and power off, then reload all RAM and state on power return - is a 300MHz Compaq Armada 1500C (mfg '98), but using the older APM BIOS rather than ACPI. (It's still running, 24/7/365 since 2002 :) cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130930015912.G67367>