Date: Wed, 4 Jul 2001 23:19:14 +0200 From: "Karsten W. Rohrbach" <karsten@rohrbach.de> To: Greg Lehey <grog@freebsd.org> Cc: Greg Smith <freebsd_mail@yahoo.com>, Oliver Fischer <nexus@fileseeker.net>, freebsd-mobile@freebsd.org, roam@orbitel.bg Subject: Re: ThinkPad hibernation (was: Hibernation on FreeBSD) Message-ID: <20010704231914.A72648@mail.webmonster.de> In-Reply-To: <20010704111544.B1649@sydney.worldwide.lemis.com>; from grog@freebsd.org on Wed, Jul 04, 2001 at 11:15:44AM -0500 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> <20010704111544.B1649@sydney.worldwide.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greg Lehey(grog@freebsd.org)@2001.07.04 11:15:44 +0000: > 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 >=20 > 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. i must have smoked something sure -- if you want to restart a sleeping system you don't want to clobber the swap when hibernating :-/ a raw device the size of the installed ram would be easiest, anyway ;-) handling a contiguous file in the root fs or whereever might be much too complicated to linear-load from the bootloader. it is not possible to create a single file with contiguous blocks that is not separated by cylinder group boundaries and the like... btw, in another mail, peter had the idea to execute a core file (in userland) -- that's why i thought about abusing the swap partition, since the crashdump nearly is a core file (on a raw device)... nevermind --=20 > Sex is one of the nine reasons for reincarnation ... the other eight > are unimportant. --Henry Miller KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- catch@spam.de GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7Q4hSM0BPTilkv0YRAlGfAKCeb6isJQaCaBg0k4G/pDDy/yBkfwCgvdCD pcKjzDTCrQe+YXKo03HJ3QY= =JD3r -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010704231914.A72648>