Sending ATA command by DMA method?

CJ Kao
  • CJ Kao

    CJ Kao - 2008-09-11

    Dear all,
    I would like to test my HDD(read - write -compare) .
    For now, current version still uses "ATA_OP_READ_PIO(_EXT)" and it's slow.
    If I use "ATA_OP_READ_DMA" instead of "ATA_OP_READ", it will hang up.
    I though it must to do something to solve but I have no idea now.

    Is it possible to send command using ATA_OP_READ_DMA?

    Sorry my poor english.


    • Frank Maloney

      Frank Maloney - 2008-09-11

      Although it may be nice to have, I think it may fall outside the scope of this tool. As I understand it, hdparm is for adjusting the various configurable parameters on a HDD and not for data transfer; however, there are the -t -T options.
      To do what you want to do you can use dd and md5sum or any other compare utility.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks