Hi All

I am developing a SCSI port filter driver. This driver
works fine with other SCSI ports but there are some
problems when used with MS iSCSI software initiator.

When we send an SRB with SCSIOP_INQUIRY request to a SCSI
device through the port device, the port returns
STATUS_UNSUCCESSFUL (which does not explain the problem).
When we send the same request through the PDO that was
created for that specific SCSI device, it never returns.
It also does not return IOCTL_SCSI_PASS_THROUGH /
SCSIOP_INQUIRY requests.

Does the iSCSI initiator support SCSIOP_INQUIRY requests?
Why does it fail our requests?


Thanks,
Gregory

Re: MS iSCSI software initiator by Maxim

Maxim
Sat Nov 15 17:30:23 CST 2003

Looks like a bug.
Use IOCTL_SCSI_GET_INQUIRY_DATA instead.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Gregory" <anonymous@discussions.microsoft.com> wrote in message
news:3e9101c3aaaf$9fc3e4c0$a601280a@phx.gbl...
> Hi All
>
> I am developing a SCSI port filter driver. This driver
> works fine with other SCSI ports but there are some
> problems when used with MS iSCSI software initiator.
>
> When we send an SRB with SCSIOP_INQUIRY request to a SCSI
> device through the port device, the port returns
> STATUS_UNSUCCESSFUL (which does not explain the problem).
> When we send the same request through the PDO that was
> created for that specific SCSI device, it never returns.
> It also does not return IOCTL_SCSI_PASS_THROUGH /
> SCSIOP_INQUIRY requests.
>
> Does the iSCSI initiator support SCSIOP_INQUIRY requests?
> Why does it fail our requests?
>
>
> Thanks,
> Gregory
>
>



Re: MS iSCSI software initiator by Gregory

Gregory
Sun Nov 16 04:08:03 CST 2003

Hi Maxim
Thanks for your reply.
Why is it a bug? The problem is that I use
IOCTL_SCSI_EXECUTE_X with SRB_FUNCTION_EXECUTE_SCSI and
different SCSIOP commands for a lot of things, not only
for the basic inquiry, and I could not find any other way
to do it.
Thanks,
Gregory

>-----Original Message-----
> Looks like a bug.
> Use IOCTL_SCSI_GET_INQUIRY_DATA instead.
>
>--
>Maxim Shatskih, Windows DDK MVP
>StorageCraft Corporation
>maxim@storagecraft.com
>http://www.storagecraft.com
>
>
>"Gregory" <anonymous@discussions.microsoft.com> wrote in
message
>news:3e9101c3aaaf$9fc3e4c0$a601280a@phx.gbl...
>> Hi All
>>
>> I am developing a SCSI port filter driver. This driver
>> works fine with other SCSI ports but there are some
>> problems when used with MS iSCSI software initiator.
>>
>> When we send an SRB with SCSIOP_INQUIRY request to a
SCSI
>> device through the port device, the port returns
>> STATUS_UNSUCCESSFUL (which does not explain the
problem).
>> When we send the same request through the PDO that was
>> created for that specific SCSI device, it never returns.
>> It also does not return IOCTL_SCSI_PASS_THROUGH /
>> SCSIOP_INQUIRY requests.
>>
>> Does the iSCSI initiator support SCSIOP_INQUIRY
requests?
>> Why does it fail our requests?
>>
>>
>> Thanks,
>> Gregory
>>
>>
>
>
>.
>

Re: MS iSCSI software initiator by Maxim

Maxim
Mon Nov 17 05:13:09 CST 2003

For INQUIRY, use IOCTL_SCSI_GET_INQUIRY_DATA to work around this problem,
at least on iSCSI port driver.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


"Gregory" <anonymous@discussions.microsoft.com> wrote in message
news:050e01c3ac29$85f5a210$a101280a@phx.gbl...
> Hi Maxim
> Thanks for your reply.
> Why is it a bug? The problem is that I use
> IOCTL_SCSI_EXECUTE_X with SRB_FUNCTION_EXECUTE_SCSI and
> different SCSIOP commands for a lot of things, not only
> for the basic inquiry, and I could not find any other way
> to do it.
> Thanks,
> Gregory
>
> >-----Original Message-----
> > Looks like a bug.
> > Use IOCTL_SCSI_GET_INQUIRY_DATA instead.
> >
> >--
> >Maxim Shatskih, Windows DDK MVP
> >StorageCraft Corporation
> >maxim@storagecraft.com
> >http://www.storagecraft.com
> >
> >
> >"Gregory" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:3e9101c3aaaf$9fc3e4c0$a601280a@phx.gbl...
> >> Hi All
> >>
> >> I am developing a SCSI port filter driver. This driver
> >> works fine with other SCSI ports but there are some
> >> problems when used with MS iSCSI software initiator.
> >>
> >> When we send an SRB with SCSIOP_INQUIRY request to a
> SCSI
> >> device through the port device, the port returns
> >> STATUS_UNSUCCESSFUL (which does not explain the
> problem).
> >> When we send the same request through the PDO that was
> >> created for that specific SCSI device, it never returns.
> >> It also does not return IOCTL_SCSI_PASS_THROUGH /
> >> SCSIOP_INQUIRY requests.
> >>
> >> Does the iSCSI initiator support SCSIOP_INQUIRY
> requests?
> >> Why does it fail our requests?
> >>
> >>
> >> Thanks,
> >> Gregory
> >>
> >>
> >
> >
> >.
> >