Re: sd: protection difficulties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11-11-17 12:01 PM, Martin K. Petersen wrote:
"Doug" == Douglas Gilbert<dgilbert@xxxxxxxxxxxx>  writes:

Doug,

Doug>  Now with zeros filling the user data part of each logical block
Doug>  and a LB guard field of 0xffffffff that means any attempt to read
Doug>  a LB before it is written will result in an error like this [lk
Doug>  3.1.0]:
Doug>   sd 6:0:0:0: [sdb]
Doug>     Target Data Integrity Failure
Doug>      Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Sense Key :
Doug>      Aborted Command [current] Add. Sense: Logical block guard
Doug>      check failed CDB: Read(10): 28 20 00 00 00 00 00 00 08 00
Doug>      end_request: I/O error, dev sdb, sector 0

I'm guessing you are using an mpt2sas with recent firmware?

Yes:
  mpt2sas version 09.100.00.00 loaded

Whenever I report a bug to LSI (who are much better
than most) they always say to upgrade to the latest
firmware and re-test :-)

 LSI changed
behavior to always check PI even when the app tag contains 0xFFFF (which
means "don't check" this block).

That useful piece of information is well hidden!
[sbc3r29.pdf section 4.21.3 top of page 61]
You learn something every day.

I have some patches that LSI haven't signed off on yet. Which is why I
haven't posted them...

Hopefully this thread expedites matters.

Doug Gilbert


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux