lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH]: Sanity checking for drives that claim to be LBA-48, but aren't!
From
Date
James Finnie <jf1@IMERGE.co.uk> writes:

> The kernel sees this bit set, tries to use LBA-48 commands, and the drive
> errors, complaining that it doesn't understand! Meaning this drive is
> unusable with the >=2.4.19 kernels. I think at least one other person has
> reported something very similar, IIRC with a very old Maxtor IDE drive.
>
> Here is a patch that does some basic sanity checking. If the drive has an
> lba_capacity_2==0, and has the bit set claiming to be LBA-48, it ignores
> this claim.
>
There are also a set of bits that reports which revs of the ATA standard
a drive complies with. Should we check that one as well?

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.047 / U:2.844 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site