[smartmontools-support] Output Error for M.2 SATA drive

Christian Franke Christian.Franke at t-online.de
Tue Mar 12 22:46:51 CET 2019


Brian M wrote:
> I hope these attachments can help in evaluating the Western Digital M.2 SSD
> drive on my MSI X370 Krait Gaming board.  I used a recent build as directed.
> FYI, this M.2 SATA SSD is working fine - my reason for using SMARTCTL was to
> evaluate a 2TB Seagate HDD which intermittently disconnected from its RAID
> array.
> ...
> smartctl 7.1 2019-01-11 r4891 [x86_64-w64-mingw32-w10-1803] (CircleCI)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org
>
>  \\.\Scsi0:: successfully opened
>   IOCTL_SCSI_MINIPORT(CC_CSMI_1) succeeded, bytes returned: 204
> CSMI_SAS_DRIVER_INFO:
>   Name:        "rcraid"
>   Description: "AMD-RAID Controller [storport] Device Driver"
>   Revision:    9.2
>   IOCTL_SCSI_MINIPORT(CC_CSMI_20) succeeded, bytes returned: 2080
> CSMI_SAS_PHY_INFO: NumberOfPhys=6
> Phy[0] Port:   0
>   Type:        0x10, 0x10
>   InitProto:   0x01, 0x01
>   TargetProto: 0x01, 0x01
>   PortIdent:   0x06
>   PhyIdent:    0x00, 0x00
>   SASAddress:  00 00 00 00 00 00 00 00, 00 00 00 00 00 00 00 00
> Phy[1] Port:   1
> ...
> Phy[5] Port:   5
>   Type:        0x10, 0x10
>   InitProto:   0x01, 0x01
>   TargetProto: 0x01, 0x01
>   PortIdent:   0x02
>   PhyIdent:    0x05, 0x00
>   SASAddress:  00 00 00 00 00 00 00 00, 00 00 00 00 00 00 00 00

This CSMI capable driver (from AMD?) reports 6 ports with connected 
devices. Is this the case?


>
> REPORT-IOCTL: Device=/dev/csmi0,1 Command=IDENTIFY DEVICE
>  Input:   FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., 
> CMD=0xec IN
>   IOCTL_SCSI_MINIPORT(CC_CSMI_25) succeeded, bytes returned: 680
>  Output: ERR=0x00, SC=0x00, LL=0x00, LM=0x00, LH=0x00, DEV=0x00, STS=0x00
> REPORT-IOCTL: Device=/dev/csmi0,1 Command=IDENTIFY DEVICE returned 0
>
> ===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
> ...
> 048-063: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
> |................|
> 064-079: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
> |................|

The device identify string is expected to start at offset 54, but the 
driver returns all zeroes.


> 272-287: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
> |................|
> 288-303: 53 41 46 4d 31 31 2e 32 4f 43 5a 2d 54 52 49 4f 
> |SAFM11.2OCZ-TRIO|
> 304-319: 4e 31 30 30 20 20 20 20 20 20 20 20 20 20 20 20 
> |N100            |

Instead the driver returns the identify string of an "OCZ-TRION100" with 
firmware "SAFM11.2", but at wrong offset and with wrong byte order.

The ATA pass through support of this device driver is broken as it does 
not return valid ATA IDENTIFY data.

The used device argument (which?) addresses a different device. Did you 
try addressing via physical drive ([/dev/]sdX or [/dev/]pdN) instead of 
using csmi?

Thanks,
Christian




More information about the Smartmontools-support mailing list