MS iSCSI software initiator

Discussion in 'Windows Vista Drivers' started by Gregory, Nov 14, 2003.

  1. Gregory

    Gregory Guest

    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
     
    Gregory, Nov 14, 2003
    #1
    1. Advertisements

  2. Looks like a bug.
    Use IOCTL_SCSI_GET_INQUIRY_DATA instead.
     
    Maxim S. Shatskih, Nov 15, 2003
    #2
    1. Advertisements

  3. Gregory

    Gregory Guest

    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
     
    Gregory, Nov 16, 2003
    #3
  4. For INQUIRY, use IOCTL_SCSI_GET_INQUIRY_DATA to work around this problem,
    at least on iSCSI port driver.
     
    Maxim S. Shatskih, Nov 17, 2003
    #4
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.