Maxim
Tue Jul 20 01:58:03 CDT 2004
No need in ever sending REQUEST SENSE.
REQUEST SENSE is used only to get the error description after the failed
another command, and is issued either automatically by SCSIPORT or
automatically by the miniport hardware after a failed command.
So, send the real command, and then examine SenseInfoBuffer if SrbStatus is
ERROR and ScsiStatus is CHECK_CONDITION.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Boswell" <boswellz@263.net> wrote in message
news:uI$%233hhbEHA.4092@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I may post this message to a wrong place but I think I can get the answer
> here.
> I tried to send a SCSI command, Request Sense, to a SCSI disk logic unit,
> but there are two buffers, one is the data buffer and the other is the sense
> data buffer. Which buffer should be used for this command? I red in the
> document of SPC-2 and is still puzzled at it. It seems that the sense buffer
> is used only for autosense situation. As a result, I think I should use the
> data buffer. However, I could not make sure.
> Please help me. Thanks!
>
>
>