lobsterroll89
Cadet
- Joined
- Jun 5, 2021
- Messages
- 1
I think I may have discovered an issue with the mps driver in TrueNAS 12.0 and would appreciate any help.
I'm putting together a NAS running 2 LSI2308 (LSI9207-8e) HBA's flashed with IT mode 20.00.07.00. When running "badblocks -wvs" on various drives on both controllers, I'm seeing tons of read and write errors. I can reproduce this on 12.0-U4, U3.1, and BETA. However, I don't encounter any errors running the same experiment on FreeNAS 11.3-U5 or Ubuntu 20.04.
I'm including what I think are relevant info from dmesg below.
I'm putting together a NAS running 2 LSI2308 (LSI9207-8e) HBA's flashed with IT mode 20.00.07.00. When running "badblocks -wvs" on various drives on both controllers, I'm seeing tons of read and write errors. I can reproduce this on 12.0-U4, U3.1, and BETA. However, I don't encounter any errors running the same experiment on FreeNAS 11.3-U5 or Ubuntu 20.04.
I'm including what I think are relevant info from dmesg below.
Code:
mps0: <Avago Technologies (LSI) SAS2308> port 0x7000-0x70ff mem 0xc5e40000-0xc5e4ffff,0xc5e00000-0xc5e3ffff irq 32 at device 0.0 numa-domain 0 on pci5 mps0: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd mps0: IOCCapabilities: 5a85c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,MSIXIndex,HostDisc> mps1: <Avago Technologies (LSI) SAS2308> port 0xb000-0xb0ff mem 0xe0e40000-0xe0e4ffff,0xe0e00000-0xe0e3ffff irq 40 at device 0.0 numa-domain 0 on pci7 mps1: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd mps1: IOCCapabilities: 5a85c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,MSIXIndex,HostDisc> ... mps1: Controller reported scsi ioc terminated tgt 4 SMID 2125 loginfo 31110d00 (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 80 00 (da10:mps1:0:4:0): CAM status: CCB request completed with an error (da10:mps1:0:4:0): Retrying command, 3 more tries remain (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 80 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da10:mps1:0:4:0): Retrying command (per sense data) (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 80 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da10:mps1:0:4:0): Retrying command (per sense data) (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 80 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da10:mps1:0:4:0): Retrying command (per sense data) (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 80 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da10:mps1:0:4:0): Error 5, Retries exhausted (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 00 00 00 02 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da10:mps1:0:4:0): Retrying command (per sense data) ... (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 42 dd 1a 00 00 02 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) (da10:mps1:0:4:0): Retrying command (per sense data) (da10:mps1:0:4:0): WRITE(10). CDB: 2a 00 00 44 43 80 00 00 80 00 (da10:mps1:0:4:0): CAM status: SCSI Status Error (da10:mps1:0:4:0): SCSI status: Check Condition (da10:mps1:0:4:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) (da10:mps1:0:4:0): Retrying command (per sense data) ... mps0: Controller reported scsi ioc terminated tgt 11 SMID 825 loginfo 31110d00 mps0: (da6:mps0:0:11:0): WRITE(10). CDB: 2a 00 09 0e ff 00 00 00 80 00 Controller reported scsi ioc terminated tgt 12 SMID 834 loginfo 31110d00 (da7:mps0:0:12:0): WRITE(10). CDB: 2a 00 07 3f 49 00 00 00 80 00 (da7:mps0:0:12:0): CAM status: CCB request completed with an error (da6:mps0:0:11:0): CAM status: CCB request completed with an error (da6:mps0:0:11:0): Retrying command, 3 more tries remain (da6:mps0:0:11:0): WRITE(10). CDB: 2a 00 09 0e ff 00 00 00 80 00 (da7:mps0:0:12:0): Retrying command, 3 more tries remain (da7:mps0:0:12:0): WRITE(10). CDB: 2a 00 07 3f 49 00 00 00 80 00 (da6:mps0:0:11:0): CAM status: SCSI Status Error (da6:mps0:0:11:0): SCSI status: Check Condition (da6:mps0:0:11:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da6:mps0:0:11:0): Retrying command (per sense data) (da6:mps0:0:11:0): WRITE(10). CDB: 2a 00 09 0e ff 00 00 00 80 00 (da7:mps0:0:12:0): CAM status: SCSI Status Error (da7:mps0:0:12:0): SCSI status: Check Condition (da7:mps0:0:12:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da6:mps0:0:11:0): CAM status: SCSI Status Error (da6:mps0:0:11:0): SCSI status: Check Condition (da6:mps0:0:11:0): SCSI sense: NOT READY asc:4,0 (Logical unit not ready, cause not reportable) (da6:mps0:0:11:0): Retrying command (per sense data) ...