<div dir="ltr">Aaron,<div><br></div><div>I think I can assist.</div><div><br></div><div>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.</div><div> <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Thank You !!!<br>-----------------------------------------------------------------<br>Jim Hatfield <br>Seagate Technology LLC <br> e-mail: <a href="mailto:James.C.Hatfield@seagate.com" target="_blank">James.C.Hatfield@seagate.com</a><br> s-mail: 389 Disc Drive; Longmont, CO 80503 USA<br> voice: 720-684-2120<br> fax....: 720-684-2711<br> cell...: 720-771-8914<br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 30, 2019 at 2:09 PM Aaron Bufkin <<a href="mailto:bufkin@marvell.com">bufkin@marvell.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-6072633569327691036WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am trying to create a proper ATA PASS-THROUGH(12) packet <span style="color:rgb(31,73,125)">
with</span> 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?<span style="color:rgb(31,73,125)">
</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Aaron<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
T10 mailing list<br>
<a href="mailto:T10@t10.org" target="_blank">T10@t10.org</a><br>
<a href="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=" rel="noreferrer" target="_blank">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=</a><br>
</blockquote></div>