Re: [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...)
From: Jeff Garzik
Date: Wed Mar 02 2005 - 21:43:41 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/