Subject: Re: CVS commit: src/sys/dev/ata
To: Dave Sainty <dave@dtsp.co.nz>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 07/05/2005 09:11:50
On Tue, Jul 05, 2005 at 07:51:34AM +1200, Dave Sainty wrote:
> If they don't have a crash-on-0xfffffff drive, but it is over 128GB in
> size and the controller can't do LBA48 then I guess they would only be
> able to access 2^32-1 sectors instead of 2^32. Is that really a
> problem though?
It is if there is valuable data in the last sector.
>
> If we can detect the controllers that can't do LBA48 we can allow them
> to try a LBA32 access to 0xfffffff instead. Though we also know that
> some drives/systems would hang at that point.
I don't know how to detect non-LBA48 controllers, exept by trying and see
if it fails or not.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--