w2K Scsi Filter

Hi All !
I want to write an upper filter driver for Scsi Bus and I am new to 2K, My driver loads without any problem and its AddDevice routine gets hit without any errors, I am getting proper inquiry result when I send IOCTL_SCSI_GET_INQUIRY_DATA.
The problem is when I do any I/O Operations on SCSI disk, I get no IRP_MJ_SCSI calls in my driver.
I have seen many NTDEV mails regarding this and what I understood of them is that I have to be an Upper PDO Bus Filter driver, instead of an upper FDO Filter as all the IRP_MJ_SCSI calls are directed to the PDO exported by the SCSI bus.
It would be much nice if anyone can help me out as to how one can ensure that .In registry I have registered my driver as an upper filter of Class {4D36E97B-E325-11CE-BFC1-08002BE10318}. i.e SCSI Adapter Class.

Looking forward to your valuable suggestions.Thanks in advance

Regards
Tony
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Change the way you talk. Indiatimes presents Valufon, Your PC to Phone service with clear voice at rates far less than the normal ISD rates. Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.

Well that is step one.

You have to attach device objects to each PDO enumerated by the scsi bus
driver, and you have to do this BEFORE FDO device objects are attached.
Your FDO filter driver should monitor query bus relations operations and
use this information to attach to the PDOs. Unfortunately bus fitler
drivers are neither trivial nor documented. Browse this list and the
newsgroups for a lot of good stuff about how to implement a bus filter
driver.

===========================
Mark Roddy
Consultant, Microsoft DDK MVP
Hollis Technology Solutions
xxxxx@hollistech.com
www.hollistech.com
603-321-1032

-----Original Message-----
From: “asng”
To: “NT Developers Interest List”
Date: Mon, 30 Sep 2002 08:44:36 +0530
Subject: [ntdev] w2K Scsi Filter

> Hi All !
> I want to write an upper filter driver for Scsi Bus and I am new
to
> 2K, My driver loads without any problem and its AddDevice routine gets
> hit without any errors, I am getting proper inquiry result when I send
> IOCTL_SCSI_GET_INQUIRY_DATA.
> The problem is when I do any I/O Operations on SCSI disk, I get no
> IRP_MJ_SCSI calls in my driver.
> I have seen many NTDEV mails regarding this and what I understood
of
> them is that I have to be an Upper PDO Bus Filter driver, instead of an
> upper FDO Filter as all the IRP_MJ_SCSI calls are directed to the PDO
> exported by the SCSI bus.
> It would be much nice if anyone can help me out as to how one can
> ensure that .In registry I have registered my driver as an upper filter
> of Class {4D36E97B-E325-11CE-BFC1-08002BE10318}. i.e SCSI Adapter
> Class.
>
> Looking forward to your valuable suggestions.Thanks in advance
>
> Regards
> Tony
> Get Your Private, Free E-mail from Indiatimes at
> http://email.indiatimes.com
>
> Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
> http://www.planetm.co.in
>
> Change the way you talk. Indiatimes presents Valufon, Your PC to Phone
> service with clear voice at rates far less than the normal ISD rates.
> Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hollistech.com
> To unsubscribe send a blank email to %%email.unsub%%

win2k & XP scsiport do not support filter drivers above the FDO. You
need to put your filter driver on as a lower filter for each of the PDOs
instead.

in scsiport IO requests are dispatched internally from the logical unit
device object (the PDO) to the device object for the adapter. There
wasn’t really a good way to let a filter get in between these two steps
without a significant amount of performance pain.

-p

-----Original Message-----
From: asng [mailto:xxxxx@indiatimes.com]
Sent: Sunday, September 29, 2002 8:15 PM
To: NT Developers Interest List
Subject: [ntdev] w2K Scsi Filter

Hi All !
I want to write an upper filter driver for Scsi Bus and I am new
to 2K, My driver loads without any problem and its AddDevice routine
gets hit without any errors, I am getting proper inquiry result when I
send IOCTL_SCSI_GET_INQUIRY_DATA.
The problem is when I do any I/O Operations on SCSI disk, I get
no IRP_MJ_SCSI calls in my driver.
I have seen many NTDEV mails regarding this and what I
understood of them is that I have to be an Upper PDO Bus Filter driver,
instead of an upper FDO Filter as all the IRP_MJ_SCSI calls are directed
to the PDO exported by the SCSI bus.
It would be much nice if anyone can help me out as to how one
can ensure that .In registry I have registered my driver as an upper
filter of Class {4D36E97B-E325-11CE-BFC1-08002BE10318}. i.e SCSI Adapter
Class.

Looking forward to your valuable suggestions.Thanks in advance

Regards
Tony
Get Your Private, Free E-mail from Indiatimes at
http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
http://www.planetm.co.in

Change the way you talk. Indiatimes presents Valufon, Your PC to Phone
service with clear voice at rates far less than the normal ISD rates. Go
to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%