From owner-freebsd-questions@FreeBSD.ORG Wed Nov 4 04:04:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5664D106566C for ; Wed, 4 Nov 2009 04:04:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C8E798FC0A for ; Wed, 4 Nov 2009 04:04:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nA444i8x010771; Wed, 4 Nov 2009 15:04:44 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 4 Nov 2009 15:04:43 +1100 (EST) From: Ian Smith To: Yuri In-Reply-To: <20091104005002.6B49F1065714@hub.freebsd.org> Message-ID: <20091104143039.J35366@sola.nimnet.asn.au> References: <20091104005002.6B49F1065714@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Paul B Mahol , freebsd-questions@freebsd.org Subject: Re: Does hybernate/wakeup work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2009 04:04:48 -0000 In freebsd-questions Digest, Vol 283, Issue 5, Message 13 On Tue, 03 Nov 2009 10:56:24 -0800 Yuri wrote: > Paul B Mahol wrote: > > On 10/23/09, Yuri wrote: > > > >> I tried to make system hybernate with 'acpiconf -s4' on my laptop. > >> It quickly turned off, but when I press the power button it boots like > >> no hybernate and begins to check disks. > >> > >> What can be wrong? > >> > > > > OS S4 is not implemented, but BIOS S4 is possible on some machines ... > > And on 8.0 and 9.0 i386 SMP doesnt resume properly (amd64 works). > 'acpiconf -s4' also brings laptop to unwakeable state. Power button > begins to flash, when I press any button there is some disk activity, > power button light turns on. And nothing happens. 'apm -z' produces > similar result. > > Maybe it's better to ask what works? > Is there any way I can use suspend/sleep mode? Any basic way to make it sleep? As Paul said, hibernation only works if the machine's BIOS supports it (hw.acpi.s4bios = 1) AND you've already prepared a suitable disk area, usually a separate slice (DOS partition) or as a file in a 'doze slice. To make even a vaguely informed guess as to whether hibernation and/or acpiconf -s3 (suspend/resume) might work, we'd need to know: What version of FreeBSD on which architecture? (output of 'uname -a') What make and model of laptop? (someone may know if that one works) Whether it runs a single or multiple CPUs? (see /var/run/dmesg.boot) The output of 'sysctl hw.acpi' ? cheers, Ian