[ofw] Status of support for sense data in WinOF SRP initiator ?

Bart Van Assche bvanassche at acm.org
Tue Jan 5 12:26:38 PST 2010


Hello,

Can anyone tell me what the status is of support for sense data in the
WinOF initiator ? It looks like the WinOF SRP initiator strips sense
data from SRP responses. Below you can find an example of an SRP
response as it was sent by the target but that arrived without sense
data at the Windows SCSI tool that issued an INQUIRY command:

00000000: c1 00 00 00 00 00 00 01 d0 01 00 00 00 00 00 00
00000010: 00 00 02 02 00 00 00 00 00 00 00 00 00 00 00 60
00000020: 00 00 00 00 70 00 05 00 00 00 00 1c 00 00 00 00
00000030: 24 00 30 cf 00 02 00 00 00 04 20 20 20 20 20 20
00000040: 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000080: 00 00 00 00

The interpretation of the above SRP packet is as follows:
TYPE = 0xc1 (SRP_RSP)
SOLNT = 0
REQUEST LIMIT DELTA = 0x00000001
TAG = 0xd001000000000000
DIUNDER, DIOVER, DOUNDER, DOOVER, SNSVALID, RSPVALID = 0, 0, 0, 0, 1, 0
STATUS = 0x02 (CHECK CONDITION)
DATA-OUT RESIDUAL COUNT = 0x00000000
DATA-IN RESIDUAL COUNT = 0x00000000
SENSE DATA LIST LENGTH = 0x00000060
RESPONSE DATA LIST LENGTH = 0x00000000
RESPONSE DATA = (empty)
SENSE DATA =
70 00 05 00 00 00 00 1c 00 00 00 00 24 00 30 cf
00 02 00 00 00 04 20 20 20 20 20 20 20 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Bart.



More information about the ofw mailing list