Subject: Re: two disks, two controlers, same bad block
To: Charles M. Hannum <mycroft@MIT.EDU>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/27/2006 21:14:48
On Mon, Mar 27, 2006 at 02:06:16PM -0500, Charles M. Hannum wrote:
> On Mon, Mar 27, 2006 at 08:49:34PM +0200, Manuel Bouyer wrote:
> > On Mon, Mar 27, 2006 at 01:13:59PM -0500, der Mouse wrote:
> > > It might break a non-LBA48-capable disk that's exactly 128G long, but I
> > > am inclined to doubt any such exists.
> > 
> > The problem is not disk, it's 128GB LBA48-capable disk (or larger drives
> > clamped at 128GB) on non-LBA48-capable controller. You'll suddenly get a
> > unaccessible sector, at best (this could also hang the system, or worse,
> > corrupt data by reading/writing the wrong sector).
> 
> I know you're not stupid enough to not see a dozen trivial ways to deal
> with that and still eliminate the damned "quirk" table bogosity, so just
> do it.  Sheesh.

I see none that doesn't use a match against the vendor string. Basically
what we have now. All other ways I can see can cause problems. But if you
have an idea that works, please share.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--