From owner-freebsd-hackers Tue Apr 2 03:26:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA07130 for hackers-outgoing; Tue, 2 Apr 1996 03:26:06 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA07111 Tue, 2 Apr 1996 03:26:01 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0u44CZ-0003vlC; Tue, 2 Apr 96 03:24 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id LAA02779; Tue, 2 Apr 1996 11:24:38 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: julian@ref.tfs.com, Brett_Glass@ccgate.infoworld.com, bugs@freebsd.org, freebsd-hardware@freebsd.org, hackers@freebsd.org Subject: Re: Changes to FreeBSD kernel to keep "green" drives on In-reply-to: Your message of "Tue, 02 Apr 1996 20:40:15 +1000." <199604021040.UAA08815@godzilla.zeta.org.au> Date: Tue, 02 Apr 1996 11:24:36 +0000 Message-ID: <2777.828444276@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >Actually The thing I did was an utterly disgusting hack "sleep-hack" that > >assumes that if the disk went to sleep, it will wake up with a different > >geometry. (workaround for a BIOS-bug). > > Workaround for a FreeBSD bug? No, a BIOS-bug. > I think the usual way out of full sleep > mode is to do a soft reset, and it's reasonable for that to set the > geometry to the default. yes, but the APM BIOS-oid sets a different, and pretty badly wrong geometry, so I have to reset the drives default geometry. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.