SRB_STATUS_DATA_OVERRUN question

I

igor

I am using IOCTL_SCSI_PASS_THROUGH call to send "SEND DVD STRUCTURE" CDB to
the DVD-writer(internal, IDE). Drive reports SRB_STATUS_DATA_OVERRUN (0x12)
SRB status but implements command successfully nevertheless. My intention is
to figure out more about this status - what does it exactly mean, when
devices report it and how to prevent it [in SPTI context]. Can anybody help
me with that?
Many thanks!
Igor.
P.S.
if you want to contact me by e-mail, replace "no-spam" part in the e-mail
address from this message with the following literal "iholodov"
 
I

igor

Are you sure you meant MMC-4 and not something else?
I've just made a search for "overrun" keyword through all the mmc4r04b.pdf
doc: 2 words encountered:
1) page 63, citing: "Overrun or other error that might be resolved by
repeating the command" , part of DDCD spec
2) page 248, citing "1h Overrun The Request Queue has overflowed, External
Request Events may be lost." , part of GET EVENT STATUS cmd and I am not
quite sure this "1h" overrun mentioned is quite the same as (x12) SRB Status
overrun.
MMC-5 [mmc5r01.pdf] contains only one "overrun" word, corresponding to case
2)
Overall, not much to read about :)
Many thanks!
Igor.

Maxim S. Shatskih said:
Read the MMC-4 spec on www.t13.org, this will explain a lot for you.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
(e-mail address removed)
http://www.storagecraft.com

igor said:
I am using IOCTL_SCSI_PASS_THROUGH call to send "SEND DVD STRUCTURE" CDB
to
the DVD-writer(internal, IDE). Drive reports SRB_STATUS_DATA_OVERRUN
(0x12)
SRB status but implements command successfully nevertheless. My intention
is
to figure out more about this status - what does it exactly mean, when
devices report it and how to prevent it [in SPTI context]. Can anybody
help
me with that?
Many thanks!
Igor.
P.S.
if you want to contact me by e-mail, replace "no-spam" part in the e-mail
address from this message with the following literal "iholodov"
 
H

heinz

I am using IOCTL_SCSI_PASS_THROUGH call to send "SEND DVD STRUCTURE"
CDB to
the DVD-writer(internal, IDE). Drive reports SRB_STATUS_DATA_OVERRUN (0x12)
SRB status but implements command successfully nevertheless.

Scsi pass through ioctl's do not report an srb status. So perhaps you
are interpreting something incorrectly. However, these ioctl's
typically do get mapped to a SRB internally at the low level, but your
code should never see, know, or assume anything about this.

For data out commands, SRB_STATUS_DATA_OVERRUN means the device
expected fewer or more bytes of data than was provided. Check the
length encoded in the cdb, programmed with the transfer, and any
lengths in the data sent. You can watch your scsi commands with
http:/www.perisoft.net/bushound if desired.
 
I

igor

Scsi pass through ioctl's do not report an srb status.
Yes. I am trying to keep my posts short and that lead to the fact that
sometimes I am missing important details :( Sorry for that! I am getting SRB
status not from SPTI but from SCSI sniffer [I am using BusHound]
For data out commands, SRB_STATUS_DATA_OVERRUN means the device
expected fewer or more bytes of data than was provided. Check the
length encoded in the cdb
Will look into it...
Many thanks for the hint!
Igor.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top