Getting error "Add. Sense: Logical block reference tag check failed" or "guard check failed" with mpt3sas driver

Solution In Progress - Updated -

Issue

  • Getting below error while accessing scsi device.

Apr  1 08:43:43 hostname kernel: mpt3sas_cm0: log_info(0x3112043b): originator(PL), code(0x12), sub_code(0x043b) 
         
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_SENSE
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 Sense Key : Illegal Request [current] 
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 Add. Sense: Logical block reference tag check failed
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 CDB: Read(32)
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 CDB[00]: 7f 00 00 00 00 00 00 18 00 09 20 00 00 00 00 00
Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 CDB[10]: d1 96 e8 a8 d1 96 e8 a8 00 00 00 00 00 00 00 08
Apr  1 08:43:43 hostname kernel: blk_update_request: I/O error, dev sdd, sector 3516328104
Apr  1 08:43:43 hostname kernel: Buffer I/O error on dev sdd, logical block 439541013, async page read

or

Apr  1 08:43:43 hostname kernel: sd 17:0:2:0: [sdd] tag#0 Add. Sense: Logical block guard check failed
  • During boot up and initialization of the LSI HBA, the following event is output:

[    2.759185] mpt3sas version 27.101.01.00 loaded
[    3.001672] mpt3sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (196468132 kB)
[    3.058802] mpt3sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
[    3.058817] mpt3sas_cm0: MSI-X vectors supported: 96, no of cores: 48, max_msix_vectors: -1

[    3.060101] mpt3sas_cm0: iomem(0x00000000a0200000), mapped(0xffffbce0da020000), size(65536)
[    3.060102] mpt3sas_cm0: ioport(0x0000000000004000), size(256)
[    3.117163] mpt3sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
[    3.117164] mpt3sas_cm0: sending message unit reset !!
[    3.118666] mpt3sas_cm0: message unit reset: SUCCESS
[    3.249243] mpt3sas_cm0: Allocated physical memory: size(11843 kB)
[    3.249245] mpt3sas_cm0: Current Controller Queue Depth(9460),Max Controller Queue Depth(9584)
[    3.249246] mpt3sas_cm0: Scatter Gather Elements per IO(128)
[    4.030335] mpt3sas_cm0: _base_display_fwpkg_version: complete
[    4.030337] mpt3sas_cm0: FW Package Version (16.17.00.05)
[    4.058845] mpt3sas_cm0: overriding NVDATA EEDPTagMode setting
[    4.070142] mpt3sas_cm0: LSISAS3008: FWVersion(16.00.08.00), ChipRevision(0x02), BiosVersion(18.00.00.00)
[    4.070144] mpt3sas_cm0: Protocol=(Initiator,Target), Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[    4.070634] mpt3sas_cm0: sending port enable !!
[    4.072632] mpt3sas_cm0: host_add: handle(0x0001), sas_addr(0x54cd98f0b5582300), phys(8)
[    4.073579] mpt3sas_cm0: expander_add: handle(0x0009), parent(0x0001), sas_addr(0x500056b3e3afe0ff), phys(41)
[    4.102917] mpt3sas_cm0: port enable: SUCCESS

Environment

  • Red Hat Enterprise Linux 7.7
  • LSI HBA with mpt3sas driver
    • Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3
      • Firmware version prior to 16.00.11.00, for example:
        • LSISAS3008: FWVersion(16.00.08.00), ChipRevision(0x02), BiosVersion(18.00.00.00)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content