Bug 195818 - [mps] LSI SAS 9211-4i (IT-mode) iuCRC error detected
Summary: [mps] LSI SAS 9211-4i (IT-mode) iuCRC error detected
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 06:34 UTC by pg
Modified: 2014-12-14 11:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pg 2014-12-09 06:34:09 UTC
I have problem with LSI SAS 9211-4i in IT-mode and SSD KINGSTON SV300S3.
To LSI HBA connected two devices: SSD KINGSTON SV300S3 and WD20EARX-00P, WD works fine but KINGSTON have more errors:

Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): READ(10). CDB: 28 00 09 30 5e 71 00 00 07 00 length 3584 SMID 753 terminated ioc 804b scsi 0 state 0 xfer 0
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): READ(10). CDB: 28 00 09 30 5e e1 00 00 07 00 length 3584 SMID 757 terminated ioc 804b scsi 0 state 0 xfer 0
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): READ(10). CDB: 28 00 09 50 61 0e 00 00 05 00 length 2560 SMID 759 terminated ioc 804b scsi 0 state 0 xfer 0
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): READ(10). CDB: 28 00 09 30 5f 0b 00 00 07 00 
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): CAM status: SCSI Status Error
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): SCSI status: Check Condition
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): SCSI sense: ABORTED COMMAND asc:47,3 (Information unit iuCRC error detected)
Dec  8 02:02:42 fido706 kernel: (da1:mps0:0:2:0): Retrying command (per sense data)

I try to connect KINGSTON SSD to another cable, instead WD but problem still the same. If I connect KINGSTON SSD to onboard sata-2 controller the device work without errors.

mps0: <LSI SAS2004> port 0xc000-0xc0ff mem 0xfab3c000-0xfab3ffff,0xfab40000-0xfab7ffff irq 16 at device 0.0 on pci1
mps0: Firmware: 20.00.00.00, Driver: 19.00.00.00-fbsd

da0: <ATA WDC WD20EARX-00P AB51> Fixed Direct Access SCSI-6 device 
da0: Serial Number      WD-WMAZA7558670
da0: 600.000MB/s transfers
da0: Command Queueing enabled
da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)
da0: quirks=0x8<4K>
da1 at mps0 bus 0 scbus0 target 2 lun 0
da1: <ATA KINGSTON SV300S3 BBF0> Fixed Direct Access SCSI-6 device 
da1: Serial Number 50026B7745052C5D    
da1: 600.000MB/s transfers
da1: Command Queueing enabled
da1: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)

mps0@pci0:1:0:0:        class=0x010700 card=0x30101000 chip=0x00701000 rev=0x02 hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'SAS2004 PCI-Express Fusion-MPT SAS-2 [Spitfire]'
    class      = mass storage
    subclass   = SAS


$ uname -r
10.1-RELEASE
Comment 1 waz0wski 2014-12-13 18:48:28 UTC
Hey,

Stumbled across this bug via goole when diagnosing my own similar issue.
Looks like your firmware and OS driver are mismatched:

> mps0: Firmware: 20.00.00.00, Driver: 19.00.00.00-fbsd


This can cause problems -- Infolink: https://lists.freebsd.org/pipermail/freebsd-scsi/2014-October/006505.html

I ran into this with an LSI 9200-16e that I flashed to the latest firmware, while running FreeBSD 9.2. Downgrading firmware fixed the errors and timeouts for me.


To downgrade the firmware on the card, do the following:

1) download the P19 firmware/bios update package for your card @ http://www.lsi.com/downloads/Public/Host%20Bus%20Adapters/Host%20Bus%20Adapters%20Common%20Files/SAS_SATA_6G_P19/9211-4i_Package_P19_IR_IT_Firmware_BIOS_for_MSDOS_Windows.zip


2) create a FreeDOS boot disk (USB/Flash), and put the Following files from the P19 zipfile on the boot disk:

\firmware\HBA_9211_4i_IT\2114it.bin
\sas2flash_dos_rel\sas2flsh.exe
\sasbios_rel\mptsas2.rom


3) boot up your FreeDOS boot disk, and select safe mode (no himem or emm)


4) erase the existing firmware/bios package by running

sas2flsh -o -e 6

***DO NOT REBOOT AFTER DOING THIS, YOU CAN BRICK YOUR HBA***

5) flash firmware and bios to card

sas2flsh -o -f 2114it.bin -b mpt2sas.rom

You can now reboot and you should have the card working without errors.
Comment 2 pg 2014-12-14 11:15:58 UTC
waz0wski, thanks! I downgrade the firmware and problem resolved.