From owner-freebsd-mobile Mon Jul 2 8:38:38 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 99D3B37B401 for ; Mon, 2 Jul 2001 08:38:26 -0700 (PDT) (envelope-from karsten@rohrbach.de) Received: (qmail 81843 invoked by uid 1000); 2 Jul 2001 15:38:46 -0000 Date: Mon, 2 Jul 2001 17:38:46 +0200 From: "Karsten W. Rohrbach" To: Greg Smith Cc: Oliver Fischer , freebsd-mobile@freebsd.org, roam@orbitel.bg Subject: Re: Hibernation on FreeBSD Message-ID: <20010702173846.D79697@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Greg Smith , Oliver Fischer , freebsd-mobile@freebsd.org, roam@orbitel.bg References: <001901c1015c$e8bd1790$8a04a8c0@warpgondel> <200106300916540300.00177DE8@smtp.mail.yahoo.com> <025f01c102c0$9177f9e0$8a04a8c0@warpgondel> <200107020051250270.000E8A15@smtp.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UfEAyuTBtIjiZzX6" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107020051250270.000E8A15@smtp.mail.yahoo.com>; from freebsd_mail@yahoo.com on Mon, Jul 02, 2001 at 12:51:25AM -0700 X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.webmonster.de/ X-Disclaimer: My opinions do not necessarily represent those of my employer 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 --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable guys, i think you are talking about different things here: 1) suspend-to-disk by bios functions: - needs own partition or contiguous file in (fat) partition - suspend is serviced by the bios (?) - wakeup is directly supported by the bios 2) hibernate support in w2k - does not need anything except w2k installed on a sane partition - works only in w2k - suspend is done via mem/reg dump in the w2k kernel to a specific file on the w2k boot partition - wakeup is supported by w2k's bootloader which does not use bios calls or whatever, but reads the mem image, sets up all the protected mode structures and just starts execution where it trapstopped where it was told to hibernate - this is rather a debugger feature ;-) 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 peter p: this could be somewhate related with your ideas on what-to-do with corefiles, too -- thus a cc: to you ;-) ideas? comments? /k =20 Greg Smith(freebsd_mail@yahoo.com)@2001.07.02 00:51:25 +0000: > Oliver, >=20 > I'm not sure I understand your response, but hopefully this will help. >=20 > On my TP600 the hibernation file is a file within the FAT partition of > Win95. The BIOS can find this file if I suspend to disk from Win95 or > from FreeBSD. Under either operating system, I press Fn-F12 and the > system suspends to disk. >=20 > see http://www.pc.ibm.com/qtechinfo/PFAN-3VXSNV.html > [which says you need a fat16 or fat32 partition, not just ntfs] >=20 > Did you search your harddrive for the file ps2.exe? It is possible > that it is there, but not in your path. On my TP600 the file was at > c:\thinkpad\ps2.exe. >=20 > see http://www.pc.ibm.com/qtechinfo/RMIE-3AXE3E.html > [which has the ps2.exe install download] >=20 > IBM ThinkPads have good support at www.pc.ibm.com, including a fine > search facility. Check it out. >=20 > On the other hand, I should point out that FreeBSD's apm -z (or zzz) > only suspends to RAM. That's why I use the Fn-F12 combination. Don't > let that discourage you, unless IBM removed the ability to suspend to > disk from the keyboard on your T20. >=20 > Greg >=20 > -----Original Message----- >=20 > >Hello Greg, > >> Did you get this working under Windows first? On my TP600, and on > all > >> the modern ThinkPads I think, you use the utility ps2 to configure > the > >> file which will hold the suspend data. On my TP600 pressing Fn-F12 > >> does the actual suspend-to-disk under any operating system. > >> > >> Try ps2 ? hfile from a DOS prompt within Windows. > > > >I run W2K on my ThinkPad and I it does the job for me. At least, I > don't > >have a utility ps2 on my notebook. If I used it, I would'nt have the > >possibility to have two different hibernation files - one for FreeBSD > and > >one for W2K - on my ThinkPad? > > > >Bye, > > > >Oliver > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-mobile" in the body of the message >=20 > =05 >=20 >=20 > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message --=20 > If you meet somebody who tells you that he loves you more than anybody > in the whole wide world, don't trust him. It means he experiments. 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 --UfEAyuTBtIjiZzX6 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 iD8DBQE7QJWFM0BPTilkv0YRAqF3AJ96gw6xbUVaDGfNP0J3xr0C1lhz8QCdFsH7 MdObziDYA90bKJNng7LpzAs= =k1T6 -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message