lkml.org 
[lkml]   [2006]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LibPATA code issues / 2.6.15.4
Hello, Mark.

Mark Lord wrote:
>
> .. hold off on 2.6.16 because of this or not?
>

It certainly is dangerous. I guess we should turn off FUA for the time
being. Barrier auto-fallback was once implemented but it didn't seem
like a good idea as it was too complex and hides low level bug from
higher level. The concensus seems to be developing blacklist of drives
which lie about FUA support (currently only one drive). Official kernel
doesn't seem to be the correct place to grow the blacklist, Maybe we
should do it from -mm?

>>
>> Well, no doubt whatsoever about it being a "regression",
>> since the FUA code is *new* in 2.6.16 (not present in 2.6.15).
>>
>> The FUA code should either get fixed, or removed from 2.6.16.
>
>
> Actually, now that I've done a little more digging, this FUA stuff
> is inherently dangerous as implemented. A least a few SATA controllers
> including pipelines and whatnot that rely upon recognizing the (S)ATA
> opcodes being using. And I sincerely doubt that any of those will
> recognize the very newish (and aptly named..) FUA opcodes.
>
> These may be unsafe in general, unless we tag controllers as
> FUA-capable and NON-FUA-capable, in addition to tagging the drives.

All sii controllers and piix/ahci seem to handle FUA pretty ok. And
yeah, we may have to create controller blacklist too.

BTW, can you let me know what drive we're talking about now (model name
and firmware revision)?

--
tejun
-
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: 2006-02-28 02:35    [W:0.224 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site