Messages in this thread | | | Date | Wed, 02 Mar 2005 21:23:34 -0500 | From | Jeff Garzik <> | Subject | Re: [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) |
| |
Damian Kolkowski wrote: > Hi, > > Is there any patch to correct libata working with ioctl()?
libata works fine with ioctl(2).
> For example: > > .~. # hdparm -t /dev/hda /dev/sda > /dev/hda: > Timing buffered disk reads: 174 MB in 3.03 seconds = 57.36 MB/sec > /dev/sda: > Timing buffered disk reads: 152 MB in 3.03 seconds = 50.11 MB/sec > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device > .~. # > > I can attach addition: dmesg, kernel.config, lspci, etc...
Arbitrary command execution is only supported in libata-dev tree for now.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |