From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 23:06:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FED816A4CE for ; Tue, 13 Jan 2004 23:06:27 -0800 (PST) Received: from jolly.drunkmonk.net (jolly.drunkmonk.net [63.251.191.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05EDE43D5E for ; Tue, 13 Jan 2004 23:06:25 -0800 (PST) (envelope-from verm@jolly.drunkmonk.net) Received: from jolly.drunkmonk.net (localhost [127.0.0.1]) by jolly.drunkmonk.net (8.12.9/8.12.3) with ESMTP id i0E76Ouv011855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Jan 2004 00:06:24 -0700 (MST) (envelope-from verm@jolly.drunkmonk.net) Received: (from verm@localhost) by jolly.drunkmonk.net (8.12.9/8.12.1/Submit) id i0E76ORF011854 for freebsd-current@freebsd.org; Wed, 14 Jan 2004 00:06:24 -0700 (MST) Date: Wed, 14 Jan 2004 00:06:24 -0700 From: Amar Takhar To: freebsd-current@freebsd.org Message-ID: <20040114070624.GA11781@drunkmonk.net> Mail-Followup-To: freebsd-current@freebsd.org References: <000c01c3da44$8a6d5c40$0202a8c0@karputer> <200401141502.27855.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401141502.27855.doconnor@gsoft.com.au> Subject: Re: acpi S4 resume partition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 07:06:27 -0000 On 2004-01-14 15:02 +1030, Daniel O'Connor wrote: > On Wednesday 14 January 2004 12:47, toxa wrote: > > Sorry for stupid question but I can't find good documentation about > > preparing system for hibernating with acpi. > > I mean, if I use acpiconf -s4 (suspend to disk) then system should to put > > all memory contest info physical partition and resume from it when booting > > by bootloader, shouldn't it? So I have to prepare such partition and tell > > system (probably using loader.conf) to use it for hibernating. Something > > like "resume=/dev/hda2" in lilo.conf in linux. Am I right? Because for now > > acpiconf -s4 puts my system into shutdown/sleep, and, when I powering on, > > it boots into new session, with "partitions was unproperly unmounted" > > errors. > > In principle, yes.. > However there is no support in FreeBSD for suspending to disk so you are out > of luck.. > > In theory your BIOS could support S4BIOS which means it does most of the work, > but I don't think anyone has ever had that work either. Actually, I remember installing FreeBSD 4.0 on my Dell Inspiron 7500, both suspend to disk, and suspend to memory worked *perfectly* Unfortunatly it hasn't worked on any recent versions of FreeBSD, not sure when it broke. Inspiron 7600's do S4 via the BIOS and write the memory contents to a fat32 partition, there is a small utility to set the 'save-to-disk' file. It was also fine in 4.1 IIRC, some day i'll find the time to figure out why it dosn't work anymore. Amar. -- http://www.ten15.org