Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 1996 12:33:26 +0000
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Bruce Evans <bde@zeta.org.au>
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 
Message-ID:  <2984.828448406@critter.tfs.com>
In-Reply-To: Your message of "Tue, 02 Apr 1996 21:51:57 %2B1000." <199604021151.VAA12115@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2984.828448406>