[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: Tracking ATA/ATAPI ioctl() calls....
Thank you for the help,
Though I'm still a bit stuck. From what I can tell, I am sending the
correct data to the drive, and the kernel isn't doing anything with it, but
every time I attempt to issue the ATA secure erase command through ioctl()
it hard locks the computer, and the drive does nothing.
From: Antti Kantee [mailto:pooka%netbsd.org@localhost]
Sent: Wednesday, October 01, 2008 5:51 PM
To: Bryce Simonds
Subject: Re: Tracking ATA/ATAPI ioctl() calls....
On Wed, Oct 01, 2008 at 04:41:52PM -0500, Bryce Simonds wrote:
> I've been attempting to send some raw commands to the ATA/ATAPI controller
> in hopes to get the drive to initialize its secure erase protocol;
> I'm not certain if the command data that I'm sending it is getting
> reformatted by the kernel or not, and was hoping I could find out by
> through the ioctl() call.
> I've gotten as far as were the ATA driver calls
> d->atabus->ata_exec_command(), but I cannot figure out where this function
> pointer is getting initialized and what it's being initialized to.
> Any assistance would be greately appreaciated,
Try searching the sources for struct ata_bustype. There's a few
different possibities, e.g. wdc_exec_command.
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.5/1702 - Release Date: 10/1/2008
Main Index |
Thread Index |