SPTI and CDB's on win2000

Hi,
Im wondering cany anyone help, im usin windows 2000 and im trying to send some cdb’s to raid device on scsi2: #define IOCTL_SCSI_GET_INQUIRY_DATA and IOCTL_SCSI_GET_CAPABILITIES work fine with devieioconrol, however IOCTL_SCSI_PASS_THROUGH or IOCTL_SCSI_PASS_THROUGH_DIRECT always return an error 1 or 87, so i cant send my cdb’s to teh device, im guessing this is because the device is claimed, so how can i send the cdb’s to the device? it’s on pathid 0 and and targetid 0 lun’s 0 -> 7 . An help at all would be great im getting desperate here.

regards,
Steve


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I have been working recently with the SPTI sample from the DDK as well (
although I have been talking to a SCSI tape device ). On NT 4.0 I was able
to get a scsi Read Block Limits, Rewind ( using IOCTL_SCSI_PASS_THROUGH ),
and Write commands ( using IOCTL_SCSI_PASS_THROUGH_DIRECT ) to work. I have
tried the sample on W2k and it works but I get a permission denied when I
try the same things but there may be a suble code difference that I have not
noticed ( I have not spent much time on it ). Note that the W2k spti must
be built under the Win2k DDK environment. I did run into the error 87 you
are talking about ( Invalid parameter ) on NT 4.0. For some reason the
system did not allow me to write anything larger than about 64K. If I tried
I got that invalid parameter error code. ???

Sean O’Connor
Spectra Logic
Boulder, Colorado

-----Original Message-----
From: Stephen Farrell [mailto:xxxxx@tcd.ie]
Sent: Friday, January 12, 2001 7:24 AM
To: NT Developers Interest List
Subject: [ntdev] SPTI and CDB’s on win2000

Hi,
Im wondering cany anyone help, im usin windows 2000 and im trying to
send some cdb’s to raid device on scsi2: #define IOCTL_SCSI_GET_INQUIRY_DATA
and IOCTL_SCSI_GET_CAPABILITIES work fine with devieioconrol, however
IOCTL_SCSI_PASS_THROUGH or IOCTL_SCSI_PASS_THROUGH_DIRECT always return an
error 1 or 87, so i cant send my cdb’s to teh device, im guessing this is
because the device is claimed, so how can i send the cdb’s to the device?
it’s on pathid 0 and and targetid 0 lun’s 0 -> 7 . An help at all would be
great im getting desperate here.

regards,
Steve


You are currently subscribed to ntdev as: xxxxx@spectralogic.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com