From owner-freebsd-mobile Wed Jul 4 13: 4:44 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from sydney.worldwide.lemis.com (rider.dunham.org [207.170.123.194]) by hub.freebsd.org (Postfix) with ESMTP id E01B337B403 for ; Wed, 4 Jul 2001 13:04:37 -0700 (PDT) (envelope-from grog@sydney.worldwide.lemis.com) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.11.3/8.9.3) id f64GFig01672; Wed, 4 Jul 2001 11:15:44 -0500 (CDT) (envelope-from grog) Date: Wed, 4 Jul 2001 11:15:44 -0500 From: Greg Lehey To: "Karsten W. Rohrbach" Cc: Greg Smith , Oliver Fischer , freebsd-mobile@freebsd.org, roam@orbitel.bg Subject: ThinkPad hibernation (was: Hibernation on FreeBSD) Message-ID: <20010704111544.B1649@sydney.worldwide.lemis.com> References: <001901c1015c$e8bd1790$8a04a8c0@warpgondel> <200106300916540300.00177DE8@smtp.mail.yahoo.com> <025f01c102c0$9177f9e0$8a04a8c0@warpgondel> <200107020051250270.000E8A15@smtp.mail.yahoo.com> <20010702173846.D79697@mail.webmonster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010702173846.D79697@mail.webmonster.de>; from karsten@rohrbach.de on Mon, Jul 02, 2001 at 05:38:46PM +0200 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Monday, 2 July 2001 at 17:38:46 +0200, Karsten W. Rohrbach wrote: > > some generic ideas on portable hibernate support: > - one could use the swap partition (it is used for crashdumps anyway, if > you enabled them) > - this could be implemented in ddb, since it already writes core files > to the swap partition > - resume support has to be built into the bootloader which has to load > the ram core from the swap partition, set up all structures and start > it There's a crucial difference between hibernation and crashing: when you crash, you don't intend to restart the system, so it's (just barely) acceptable to overwrite swap. If you hibernate, you want swap to have the same contents on resume. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message