Subject: Re: two disks, two controlers, same bad block
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: tech-kern
Date: 03/27/2006 12:39:30
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.

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