Hi,
Is there any patch to correct libata working with ioctl()?
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...
take care.
--
### Damian Ko?kowski (dEiMoS) ## http://kolkowski.no-ip.org/ ###
# echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ #
* Damian Ko?kowski <[email protected]> [2005-03-03 03:07]:
> Is there any patch to correct libata working with ioctl()?
Probably hdparm is not the right software for this test, so sorry for bother
;-)
--
### Damian Ko?kowski (dEiMoS) ## http://kolkowski.no-ip.org/ ###
# echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ #
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