[t13] 04-136r0.pdf SCSI to ATA Command Translations

Bruce Allen ballen at gravity.phys.uwm.edu
Mon Jun 7 11:41:55 PDT 2004


This message is from the T13 list server.


Hi Pat,

> Eh??  Read/ write long doesn't work in ATA?
>
> I thought I was just ignorant, that true ATA gurus knew how to 
> negotiate more than 4 bytes of ECC per 512 bytes of data, and therefore 
> commonly succeed in injecting read errors by writing back ECC other 
> than the ECC read. 

[Warning: linux-only comments.]

I wanted to generate SMART error log entries, by using WRITE LONG to write
a sector with ECC bits set incorrectly, then READing that sector.  But at
least in linux it's not possible.  See below.

Cheers,
	Bruce


  From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz at elka.pw.edu.pl>
  To: Bruce Allen <ballen at gravity.phys.uwm.edu>
  Subject: Re: HDIO_DRIVE_TASKFILE
                                                                                                                                                                                                                                                                                                    
  Commands with request size not being multiple of sector size
  (like READ_LONG and WRITE_LONG) are unsupported currently.
                                                                                                                                                   
  Cheers,
  Bartlomiej




More information about the T10 mailing list