lkml.org 
[lkml]   [2005]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.097 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site