On 05.03.2012 17:35, Christian Franke wrote:
> Artem Bokhan wrote:
>> Here are results:
>> 1. Megaraid allow to pass scterc set commands to drive. I set
>> scterc with LSI, then attached sata connector from onboard sata
>> controller without losing power and checked the value of scterc.
>> 2. Setting of scterc does not cause "Unexpected sense" errors in FW
>> 3. Getting of scterc DOES cause "Unexpected sense" errors in
>> FW log.
> This is typically a false warning because the kernel/driver/firmware
> does not properly interpret the SAT ATA RETURN DESCRIPTOR sense data. It
> contains the ATA output register values. This sense data is only
> requested for SMART STATUS and for SCT ERC GET.
Yes, I meant that sct erc get must be disabled.
> So the CHK_COND bit check at os_linux.cpp:1057-1061 should be left as
>> Please allow scterc set commands for current version of
> Should IMO only be done if the set command (SMART WRITE LOG) does not
> cause serious problems on other affected controllers.
For 9260/9280 (modern controllers) it does not cause problems. It should ok for
others too because it does not contain the ATA output register values as I