linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kantor Zsolt <kantorzsolt@yahoo.com>
To: linux-ide@vger.kernel.org
Subject: can't read sectors with SG_IO
Date: Mon, 8 Oct 2007 23:42:52 -0700 (PDT)	[thread overview]
Message-ID: <297662.13489.qm@web35404.mail.mud.yahoo.com> (raw)

Hi,I want to read for instance 1 sector from my ATA hard
disk with the SG_IO ioctl.I havecreated,set the fields for
the SG_IO ioctl,it returns 0 but no data in the buffer.I
even used the hdparm 7.7 sg16 function to read sectors from
the ATA device but no data came back.After the ioctl is
executed the sense buffer,status,device_status contains
data so there is a problem but I don't know what kind.For
instance the identify command works,so I can not read,and
probably write sectors.It is not possible to read sectors 
with SG_IO ? and how ?

Thanks
  Kantor


      ____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

                 reply	other threads:[~2007-10-09  6:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=297662.13489.qm@web35404.mail.mud.yahoo.com \
    --to=kantorzsolt@yahoo.com \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).