[T10] Difficulty forming an ATA PASS-THROUGH(12) for READ_SECTOR(S)

James C Hatfield james.c.hatfield at seagate.com
Fri May 31 09:15:27 PDT 2019


I think I can assist.

Please send me a copy of all parameters you are using for the  ATA
PASS-THROUGH(12)  command and for the READ SECTOR(s) command you are
attempting to transport.

Thank You !!!
Jim Hatfield
Seagate Technology LLC
   e-mail:  James.C.Hatfield at seagate.com
   s-mail:  389 Disc Drive;  Longmont, CO 80503 USA
   voice:  720-684-2120
   fax....: 720-684-2711
   cell...: 720-771-8914

On Thu, May 30, 2019 at 2:09 PM Aaron Bufkin <bufkin at marvell.com> wrote:

> Hi,
> I am trying to create a proper ATA PASS-THROUGH(12) packet with a SATA
> READ_SECTOR(S) command.  I am using the sg_raw tool.  I am able to create a
> WRITE_SECTOR(S) command and read back the data with a READ_DMA command.  My
> READ_SECTOR(S) packet is identical to the WRITE_SECTOR(S) packet with the
> exceptions of the T_DIR bit, COMMAND field (20h for the read, 30h for the
> write), and the PROTOCOL (PIO Data-In vs PIO Data-Out).  Does this sound
> like the correct approach?
> Regards,
> Aaron
> _______________________________________________
> T10 mailing list
> T10 at t10.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t10.org_mailman_listinfo_t10&d=DwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=8mNfn1gTL7YQs9S_a4U_7b-WpO2_x-7ODMYXVic49hQ&m=gHWme8OOgpnl3Kl9VZZhDv8X3Y-mq7GXFRL5xJduSfA&s=vlabGkAi2VC7CPuGbiktJl5RZmVlvlvdkKBZlTsIGnI&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.t10.org/pipermail/t10/attachments/20190531/f1d7abee/attachment.html>

More information about the T10 mailing list