Subject: Re: two disks, two controlers, same bad block
To: None <tech-kern@netbsd.org>
From: George Georgalis <george@galis.org>
List: tech-kern
Date: 03/27/2006 09:36:40
On Mon, Mar 27, 2006 at 10:05:19AM +0200, Manuel Bouyer wrote:
>On Mon, Mar 27, 2006 at 12:40:20AM -0500, George Georgalis wrote:
>> 
>> looks like a bad block on the disk... 268435455
>> 
>> [...]
>> 
>> wd0 and wd1 are on the SATALink 3112, and wd2 is on the VT8237.
>> these are the commands and subsequent errors... note same block
>> 268435455
>> [...]
>> 
>> wd1 above is a Seagate ST3400832A8 (400GB)
>> and wd2 is a ST3500641AS (500GB)
>> 
>> The kernel is NetBSD 3.0 (GENERIC), any idea what's wrong here?
>
>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.

humm, this is starting to remind me of a similar issue I came
across in Linux. the patch caused the disk bandwidth to drop by
about 65%. Is that the case here? I would really prefer to
mark that block as in use...

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org