From: Rafael Machado <rafaelrodrigues.machado@gmail.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Sending command to SAS devices
Date: Thu, 13 Oct 2016 14:28:24 +0000 [thread overview]
Message-ID: <CACgnt789nFMJ43V7NmYSYv1VXiwvq3p6m3Rk1ZbWjBEt_9Kgww@mail.gmail.com> (raw)
Hi everyone
I'm trying to send a command to a SAS (serial attached scsi) storage device
to retrieve some SMART information, but I'm facing some problems that maybe
you can give me some light.
During a research about how does the SAS devices work I faced this
specification: http://www.t10.org/members/w_sat4.htm.
My hope was to have a SCSI or ATA protocol attached to this device /
controller, so I could create a SAT library and would be able to end a ATA
command over the SCSI protocol, or a SCSI command over a ATA protocol (not
sure about the correct option yet).
After checking the handles created on this device I had a terrible surprise.
No ATA_PASS_THRU protocol instance was created to it, and no
SCSI_EXT_PASS_THRU protocol instance was created too.
My questions are:
Does anyone ever worked with SAS devices and had success with it?
In case I really need to do that, seems I would need to create a SAS
controller driver so I could send the command to the correct device. Am I
right about this?
Any other idea?
Thanks and Regards
Rafael R. Machado
reply other threads:[~2016-10-13 14:28 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-list 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=CACgnt789nFMJ43V7NmYSYv1VXiwvq3p6m3Rk1ZbWjBEt_9Kgww@mail.gmail.com \
--to=devel@edk2.groups.io \
/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