Hello everyone today I tried whether my samsung q35 laptop would suspend using acpiconf on RELENG_8. I was amazed that acpiconf -s3 works out of the box. However acpiconf -s4 does not work which would be the useful side of hibernation for me. From the manpage of acpiconf I understand that acpiconf -s4 should store the non-cache-parts from ram somewhere on disk. If called the system shuts down without writing much on the disk so something is odd there. I have 2,5 gb of ram and only 800MB of swap space which is labeled correctly. What do I have to do in order to make suspend to disk work? Is it possible to compress the contents of the ram like some programs from the linuxworld do it (tuxonice)? Or did I entirely miss some configuration here? Please cc me while replying to this email as I am not on the freebsd-acpi list. I do track -stable though. kind regards Christof -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100208/aa5ee8eb/attachment.pgp
On Tue, Feb 9, 2010 at 12:13 AM, Christof Schulze <christof.schulze@gmx.com> wrote:> Hello everyone > > today I tried whether my samsung q35 laptop would suspend using acpiconf on > RELENG_8. I was amazed that acpiconf -s3 works out of the box. However > acpiconf -s4 does not work which would be the useful side of hibernation for > me. >http://www.freebsd.org/projects/acpi/ Excerpt: suspend to disk -- Implement a suspend/resume from disk mechanism. Possibly use the dump functions to dump pages to disk, then use ACPI to put the system in S4 or power-off. Resume would require changes to the loader to load the memory image directly and then begin executing again. -- Not done. Did anything change in recent years? m.