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 19:59:53
On Mon, Mar 27, 2006 at 12:39:30PM -0500, Charles M. Hannum wrote:
> On Mon, Mar 27, 2006 at 10:05:19AM +0200, Manuel Bouyer wrote:
> > Seagate gets it wrong. 268435455 is 0xfffffff, a valid sector number
> > for LBA but which is not handled properly by seagate firmwares.
> > The workaround is to use LBA48 for this sector number.
> > 
> > The attached patch should catch all seagate drives that needs it; it's in
> > current but not in 3.0.
> 
> The correct solution for this is to just use LBA48 for that sector
> number and put a comment in the code stating the reason.  There's no
> plausible reason not to, and it's far less of a maintenance headache.

There's one reason: 128GB drives will stop working on non-LBA48 controllers,
and may even cause data corruption

> 
> Oh, right, "quirk" tables that require continual maintenance is the
> NetBSD Way.

They don't require continual maintenance, the entry matches all large
seagate drives. This entry is just not in 3.0

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