SATA on SAS and tags

Steven Hartland killing at multiplay.co.uk
Tue Mar 18 10:37:05 UTC 2014


mps presents its devices as SCSI devices not ATA, using firmware based translation,
so thats actually expected.

    Regards
    Steve
----- Original Message ----- 
From: "Borja Marcos" <borjam at sarenet.es>
To: <freebsd-scsi at freebsd.org>
Sent: Tuesday, March 18, 2014 10:01 AM
Subject: SATA on SAS and tags


> 
> Hello,
> 
> I guess this is a bug. I am using SATA SSDs connecting to a SAS backplane and SAS controller (LSI2008, IT firmware, mps driver)
> and I've just noticed that CAM claims a maximum of 255 tags. 
> 
> Shouldn't it be 16 using NCQ instead of TCQ?
> 
> 
> mps0: <LSI SAS2008> port 0xfc00-0xfcff mem 0xdf2b0000-0xdf2bffff,0xdf2c0000-0xdf2fffff irq 32 at device 0.0 on pci2
> mps0: Firmware: 18.00.00.00, Driver: 16.00.00.00-fbsd
> mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
> 
> camcontrol devlist
> # camcontrol devlist
> <SEAGATE ST9146803SS FS64>         at scbus0 target 8 lun 0 (pass0,da0)
> <SEAGATE ST9146803SS FS64>         at scbus0 target 9 lun 0 (pass1,da1)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 10 lun 0 (da2,pass2)
> <ATA Samsung SSD 840 AB0Q>         at scbus0 target 11 lun 0 (da3,pass3)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 12 lun 0 (da4,pass4)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 13 lun 0 (pass5,da5)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 14 lun 0 (da6,pass6)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 15 lun 0 (da7,pass7)
> <ATA Samsung SSD 840 AB0Q>         at scbus0 target 17 lun 0 (da8,pass8)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 18 lun 0 (da9,pass9)
> <ATA Samsung SSD 840 AB0Q>         at scbus0 target 19 lun 0 (da10,pass10)
> <ATA Samsung SSD 840 AB0Q>         at scbus0 target 20 lun 0 (da11,pass11)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 21 lun 0 (da12,pass12)
> <ATA Samsung SSD 840 BB0Q>         at scbus0 target 25 lun 0 (da13,pass13)
> 
> 
> # camcontrol tags da10 -v
> (pass10:mps0:0:19:0): dev_openings  255
> (pass10:mps0:0:19:0): dev_active    0
> (pass10:mps0:0:19:0): devq_openings 255
> (pass10:mps0:0:19:0): devq_queued   0
> (pass10:mps0:0:19:0): held          -63
> (pass10:mps0:0:19:0): mintags       2
> (pass10:mps0:0:19:0): maxtags       255
> 
> 
> Thanks!
> 
> 
> 
> 
> 
> Borja.
> 
> 
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"
>


More information about the freebsd-scsi mailing list