public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Damian Kolkowski <damian@kolkowski.no-ip.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...)
Date: Wed, 02 Mar 2005 21:23:34 -0500	[thread overview]
Message-ID: <42267526.4000102@pobox.com> (raw)
In-Reply-To: <20050303015341.GENTOO-LINUX-ROX.B8468@kolkowski.no-ip.org>

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



      parent reply	other threads:[~2005-03-03  2:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03  1:53 [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) Damian Kolkowski
2005-03-03  2:11 ` Damian Kolkowski
2005-03-03  2:23 ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42267526.4000102@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=damian@kolkowski.no-ip.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox