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: Closed FIXED
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-26 20:59 UTC by thomas
Modified: 2022-05-28 05:11 UTC (History)
7 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.
Comment 2 Denis Shaposhnikov 2021-02-10 15:44:42 UTC
Hi!

I'd like to confirm I see lots of same messages on my new server which uses 12.2-p3 and

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

smartpqi0: <E208i-a SR Gen10> port 0x3000-0x30ff mem 0x80300000-0x80307fff at device 0.0 numa-domain 0 on pci3
smartpqi0: using MSI-X interrupts (4 vectors)

I suppose smartd is the source of such messages.
Comment 3 thomas 2021-03-28 12:18:07 UTC
Update with latest firmware 3.53 and official driver from adaptec, released  February 2021

OS: FreeBSD 12.2-RELEASE-p4 GENERIC  amd64
Controller Model: Adaptec HBA 1100-8i

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
Firmware: 3.53[0]
Driver: FreeBSD 12.4054.0-1005
Hardware Revision: B
Driver is latest smartpqi_freebsd_v4052.0.1006.tgz

Filesystem OS: UFS
Filesystem for /data: ZFS

Messages: 
Error messages in console:
[16] [ERROR]::[1:655.0][0,1,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[16] [ERROR]::[1:655.0][0,2,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[16] [ERROR]::[1:655.0][0,3,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,4,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,5,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,6,0][CPU 4][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,7,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,8,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[17] [ERROR]::[1:655.0][0,1,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,2,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,3,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,4,0][CPU 4][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,5,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,6,0][CPU 2][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,7,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[18] [ERROR]::[1:655.0][0,8,0][CPU 0][os_aio_response_error][515]:SCSI_STATUS_CHECK_COND  sense size 22
[153] [INFO]:[ pqisrc_get_queue_lun_list ] [ 686 ]list_len is 0

boot warning:
[WARN]:[1:655.0][CPU 2][pqisrc_QuerySenseFeatures][114]:Problem getting AIO support subpage settings. Disabling advanced AIO writes.
[WARN]:[1:655.0][CPU 2][pqi_process_firmware_features][325]:Feature Maximum Known Feature is not supported by firmware


Full boot messages for controller:
smartpqi0: <HBA 1100-8i> port 0xe000-0xe0ff mem 0xf7a00000-0xf7a07fff irq 16 at device 0.0 on pci1
[INFO]:[ smartpqi_attach ] [ 474 ]set hardware up for PMC SRCv for 0xfffffe0004200000
[NOTE]:[ read_device_hint_resource ] [ 350 ]SmartPQI Device Hint: stream_disable, Is it enabled = 1
[NOTE]:[ read_device_hint_resource ] [ 350 ]SmartPQI Device Hint: sata_unique_wwn_disable, Is it enabled = 1
[NOTE]:[ read_device_hint_resource ] [ 350 ]SmartPQI Device Hint: aio_raid1_write_disable, Is it enabled = 1
[NOTE]:[ read_device_hint_resource ] [ 350 ]SmartPQI Device Hint: aio_raid5_write_disable, Is it enabled = 1
[NOTE]:[ read_device_hint_resource ] [ 350 ]SmartPQI Device Hint: aio_raid6_write_disable, Is it enabled = 1
[NOTE]:[ bsd_set_hint_adapter_queue_depth ] [ 234 ]Adapter queue depth before hint set = 1024, Queue depth after hint set = 1024
[NOTE]:[ bsd_set_hint_scatter_gather_config ] [ 265 ]SG segments before hint set = 544, SG segments after hint set = 544
[INFO]:[ pqisrc_check_pqimode ] [ 338 ]Signature is PQI DREGsmartpqi0: using MSI-X interrupts (8 vectors)
[INFO]:[ pqisrc_print_adminq_config ] [ 323 ] softs->admin_ib_queue.array_dma_addr : 0x390a000
[INFO]:[ pqisrc_print_adminq_config ] [ 325 ] softs->admin_ib_queue.array_virt_addr : 0xfffffe000404b000
[INFO]:[ pqisrc_print_adminq_config ] [ 327 ] softs->admin_ib_queue.num_elem : 16
[INFO]:[ pqisrc_print_adminq_config ] [ 329 ] softs->admin_ib_queue.elem_size : 64
[INFO]:[ pqisrc_print_adminq_config ] [ 331 ] softs->admin_ob_queue.array_dma_addr : 0x390c000
[INFO]:[ pqisrc_print_adminq_config ] [ 333 ] softs->admin_ob_queue.array_virt_addr : 0xfffffe0004031000
[INFO]:[ pqisrc_print_adminq_config ] [ 335 ] softs->admin_ob_queue.num_elem : 16
[INFO]:[ pqisrc_print_adminq_config ] [ 337 ] softs->admin_ob_queue.elem_size : 64
[INFO]:[ pqisrc_print_adminq_config ] [ 339 ] softs->admin_ib_queue.pi_register_abs : 0xfffff800f7a04100
[INFO]:[ pqisrc_print_adminq_config ] [ 341 ] softs->admin_ob_queue.ci_register_abs : 0xfffff800f7a04900
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 2
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 1
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 3
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 2
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 4
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 3
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 5
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 4
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 6
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 5
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 7
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 6
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 8
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 7
[INFO]:[ pqisrc_create_op_obq ] [ 654 ]admin_req.req_type.create_op_oq.qid : 1
[INFO]:[ pqisrc_create_op_obq ] [ 655 ]admin_req.req_type.create_op_oq.intr_msg_num  : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_report_event_config ] [ 376 ]buf_report_event.dma_addr  = 0x24b3000
[INFO]:[ pqisrc_report_event_config ] [ 377 ]buf_report_event.virt_addr         = 0xfffffe00007ff000
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_set_event_config ] [ 437 ]buf_set_event.dma_addr        = 0x24af000
[INFO]:[ pqisrc_set_event_config ] [ 438 ]buf_set_event.virt_addr       = 0xfffffe00007ff000
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[NOTE]:[ pqisrc_get_ctrl_fw_version ] [ 1270 ]Firmware version: 3.53-0 Firmware build number: 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[WARN]:[1:655.0][CPU 2][pqisrc_QuerySenseFeatures][114]:Problem getting AIO support subpage settings. Disabling advanced AIO writes.
[WARN]:[1:655.0][CPU 2][pqi_process_firmware_features][325]:Feature Maximum Known Feature is not supported by firmware
[INFO]:[ pqi_firmware_feature_status ] [ 156 ]Maximum Known Feature not supported by controller
[INFO]:[ pqi_process_firmware_features ] [ 338 ]Num joint features supported : 3
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqi_firmware_feature_status ] [ 161 ]RAID IU Timeout enabled
[INFO]:[ pqi_firmware_feature_status ] [ 161 ]TMF IU Timeout enabled
[INFO]:[ pqi_firmware_feature_status ] [ 161 ]Support for RPL WWID filled by Page83 identifier enabled
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_get_queue_lun_list ] [ 686 ]list_len is 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 162 ]Initial Event_q ci : 0 Event_q pi : 0
[INFO]:[ pqisrc_process_event_intr_src ] [ 166 ]queue_id : 0 ci : 0 pi : 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 1
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [0 of 1]: B 0: T 1: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 2
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [1 of 2]: B 0: T 2: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 3
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [2 of 3]: B 0: T 3: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 4
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [3 of 4]: B 0: T 4: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 5
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [4 of 5]: B 0: T 5: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 6
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [5 of 6]: B 0: T 6: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 7
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [6 of 7]: B 0: T 7: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 8
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [7 of 8]: B 0: T 8: L 0
[NOTE]:[ pqisrc_find_avail_target ] [ 153 ]Avail_target is 9
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [8 of 9]: B 0: T 9: L 0
[NOTE]:[ pqisrc_add_softs_entry ] [ 248 ]Added device [9 of 10]: B 2: T 0: L 0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:1 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:1:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:2 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:2:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:3 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:3:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:4 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:4:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:5 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:5:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:6 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:6:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:7 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:7:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: ATA     ST8000VN0022-2EL model: ST8000VN0022-2EL bus:0 target:8 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:8:0:  ATA      ST8000VN0022-2EL RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: Adaptec Smart Adapter    model: Smart Adapter    bus:0 target:9 lun:0 is_physical_device:0x1 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 0:9:0:  Adaptec  Smart Adapter    RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[NOTE]:[ pqisrc_add_device ] [ 1441 ]vendor: Adaptec 1100-8i          model: 1100-8i          bus:2 target:0 lun:0 is_physical_device:0x0 expose_device:0x1 volume_offline 0x0 volume_status 0x0
[INFO]:[ pqisrc_display_device_info ] [ 306 ]added scsi BTL 2:0:0:  Adaptec  1100-8i          RAID 0       SSDSmartPathCap- En- Exp+ qd=0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 1:0
[NOTE]:[ pqisrc_increment_io_counters ] [ 2070 ]Got first path/type hit. Path=Aio RaidType=HbaPath IoType=NonRW
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 2:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 3:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 4:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 5:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 6:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 7:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 8:0
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 9:0
[NOTE]:[ pqisrc_increment_io_counters ] [ 2070 ]Got first path/type hit. Path=Raid RaidType=Raid0 IoType=NonRW
[INFO]:[ smartpqi_target_rescan ] [ 725 ]calling smartpqi_lun_rescan with TL = 0:0
[NOTE]:[ pqisrc_show_sense_data_simple ] [ 131 ][ERR INFO] BTL: 2:0:0 op=0x1a path=Raid K:C:Q: 5:20:0


CPU:
CPU microcode: updated from 0x28 to 0x2f
CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (3391.52-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x206a7  Family=0x6  Model=0x2a  Stepping=7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features3=0x9c000400<MD_CLEAR,IBPB,STIBP,L1DFL,SSBD>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
Comment 4 Santiago Martinez 2021-07-12 08:41:17 UTC
Hi everyone, just wondering what happened with this?
I have the same on 12.2-p6, I'm pretty sure I read that was solved... but if that's the case will be nice to update the case.
Cheers.
Santiago
Comment 5 thomas 2021-07-12 09:47:37 UTC
AFAIK zt was never resolved. I still have the same issue with FreeBSD 13 AMD64. This messages are spamming my terminal. 
The controller itself works fine. At least I do not have any issues. Not idea if someone works on this problem.

I've tried the official driver from the vendor too. Same problem
Comment 6 scott.benesh 2021-08-18 18:18:10 UTC
I thought we had cut back on the amount of messages being logged with the latest release. Sorry about not getting to this right away, looks like it dropped off our radar. Will take a look and see what needs to be changed.
Comment 7 thomas 2022-01-25 19:29:08 UTC
Update to this issue. Nothing has changed :(

OS:
13.0-STABLE #0 stable/13-c595625ab amd64
smartpqi0@pci0:1:0:0:   class=0x010700 rev=0x01 hdr=0x00 vendor=0x9005 device=0x028f subvendor=0x9005 subdevice=0x0902
    vendor     = 'Adaptec'
    device     = 'Smart Storage PQI SAS'
    class      = mass storage
    subclass   = SAS

Firmware: 4.72

tested with freebsd included driver and with smartpqi_freebsd_v4170.0.1014.tgz. Both have the same outcome:

[39639] [ERROR]::[1:655.0][0,70,0][CPU 2][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[39639] [ERROR]::[1:655.0][0,71,0][CPU 2][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41438] [ERROR]::[1:655.0][0,64,0][CPU 0][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41438] [ERROR]::[1:655.0][0,65,0][CPU 0][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41439] [ERROR]::[1:655.0][0,66,0][CPU 4][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41439] [ERROR]::[1:655.0][0,67,0][CPU 4][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41439] [ERROR]::[1:655.0][0,68,0][CPU 4][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41439] [ERROR]::[1:655.0][0,69,0][CPU 4][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41440] [ERROR]::[1:655.0][0,70,0][CPU 6][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
[41440] [ERROR]::[1:655.0][0,71,0][CPU 6][os_aio_response_error][511]:SCSI_STATUS_CHECK_COND  sense size 22
Comment 8 Denis Shaposhnikov 2022-05-24 15:29:22 UTC
Looks like this issue is fixed in 13.1-RELEASE. At least I don't see it anymore after upgrade 13.0-RELEASE -> 13.1-RELEASE. Thanks everybody.
Comment 9 thomas 2022-05-28 05:11:37 UTC
I can confirm that this error is fixed in FreeBSD 13.1. The official driver from the vendor also fixed it with smartpqi_freebsd_v4210.0.1004.tgz 

Can this patch be merged to 12-Stable?