Bug 238149 - smartpqi error messages [os_aio_response_error][442]:SCSI_STATUS_CHECK_COND sense size 22
Summary: smartpqi error messages [os_aio_response_error][442]:SCSI_STATUS_CHECK_COND s...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-scsi mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-26 20:59 UTC by thomas
Modified: 2019-11-15 08:37 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas 2019-05-26 20:59:17 UTC
There are many error message in the logs. The system works so far but the messages are annoying and untrustworthy: 

May 26 09:27:30 gw kernel: [ERROR]::[1:655.0][0,66,0][CPU 6][os_aio_response_error][442]:SCSI_STATUS_CHECK_COND  sense size 22
May 26 09:27:30 gw kernel: [ERROR]::[1:655.0][0,67,0][CPU 6][os_aio_response_error][442]:SCSI_STATUS_CHECK_COND  sense size 22
May 26 09:27:30 gw kernel: [ERROR]::[1:655.0][0,68,0][CPU 6][os_aio_response_error][442]:SCSI_STATUS_CHECK_COND  sense size 22
May 26 09:27:30 gw kernel: [ERROR]::[1:655.0][0,69,0][CPU 4][os_aio_response_error][442]:SCSI_STATUS_CHECK_COND  sense size 22
May 26 09:27:30 gw kernel: [ERROR]::[1:655.0][0,70,0][CPU 2][os_aio_response_error][442]:SCSI_STATUS_CHECK_COND  sense size 22

OS Version:
FreeBSD 12.0-RELEASE-p5 GENERIC  amd64

HBA card:
Adaptec/Microsemi HBA 1100-8I: PCI-Ex8 (smartpqi)
Firmware 1.98 (same error messages with firmware 1.32)

smartpqi0@pci0:1:0:0:   class=0x010700 card=0x09029005 chip=0x028f9005 rev=0x01 hdr=0x00
    vendor     = 'Adaptec'
    device     = 'Smart Storage PQI 12G SAS/PCIe 3'
    class      = mass storage
    subclass   = SAS

camcontrol devlist:
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 64 lun 0 (pass0,da0)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 65 lun 0 (pass1,da1)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 66 lun 0 (pass2,da2)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 67 lun 0 (pass3,da3)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 68 lun 0 (pass4,da4)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 69 lun 0 (pass5,da5)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 70 lun 0 (pass6,da6)
<ATA ST8000VN0022-2EL SC61>        at scbus0 target 71 lun 0 (pass7,da7)
<MSCC Smart Adapter 1.98>          at scbus0 target 72 lun 0 (ses0,pass8)
<MSCC 1100-8i 1.98>                at scbus0 target 1088 lun 0 (pass9)
<TOSHIBA Q300. SAFM12.3>           at scbus2 target 0 lun 0 (pass10,ada0)
<AHCI SGPIO Enclosure 1.00 0001>   at scbus7 target 0 lun 0 (ses1,pass11)
Comment 1 Deepak Ukey 2019-05-31 03:10:34 UTC
According to the driver design, driver is only processing the sense data received from Firmware to the CAM layer. That error message shows the sense data length. 
We are planning to change that debug level from error to warning message so that it will not more consider as error, also will make that warning more descriptive like providing sense key and additional sense key. 

Soon we are going to submit the changes for it.