From owner-freebsd-bugs Tue Apr 2 04:34:47 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA16692 for bugs-outgoing; Tue, 2 Apr 1996 04:34:47 -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 EAA16683 Tue, 2 Apr 1996 04:34:44 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0u45H5-0003vnC; Tue, 2 Apr 96 04:33 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 MAA02986; Tue, 2 Apr 1996 12:33:27 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: Brett_Glass@ccgate.infoworld.com, bugs@freebsd.org, freebsd-hardware@freebsd.org, hackers@freebsd.org, julian@ref.tfs.com Subject: Re: Changes to FreeBSD kernel to keep "green" drives on In-reply-to: Your message of "Tue, 02 Apr 1996 21:51:57 +1000." <199604021151.VAA12115@godzilla.zeta.org.au> Date: Tue, 02 Apr 1996 12:33:26 +0000 Message-ID: <2984.828448406@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> 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. > > Does it just set the BIOS geometry? Who would know what that is :-). > I guess it is setting the geometry so that drivers don't have to. If > it was any good then it would make it appear that the drive was never > asleep, and then the sleep hack couldn't work. The problem is that my drive has 1400 cyls, 16 heads, 63 S/T the bios munges this various ways, it bitands 1023 on the cylinder and chops the heads to 15. You can see what that does to the capacity. Until somebody can reburn the BIOS eprom for me, I'll have to live with that hack :-( -- 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.