Hi,
I am trying to load a filter driver over a disk. I am doing this using
the addfilter command.
As soon as I had the filter driver, the drive disappears. Windows
Admin shows it as corrupt and I have to re-format it. I tried to add
the diskperf(included in WDF) and I got the same issue.
I just compile the driver and issue addfilter /drive \HarddiskVolume2
/add diskperf.
Can anyone tell me if I am missing anything here?
Regards,
Asim
Is it an upper filter for a class or a device? If you build a device filter but install as a class filter you will have a problem and vice versa.
Igor Sharovar
Hewlett-Packard
It is a filter for a device. I beleive addfilter also adds it as a
device filter.
Regards,
Asim
On Wed, Jun 17, 2009 at 2:32 PM, <igor.sharovar> wrote:
> Is it an upper filter for a class or a device? If you build a device filter but install as a class filter you will have a problem and vice versa.
>
> Igor Sharovar
> Hewlett-Packard
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
></igor.sharovar>
I never use a device filter for disk but I used a class filter which I install manually.
I would suggest to debug your filter driver. Probably it is not properly handle some of Irps.
Igor Sharovar
Hewlett-Packard
Well, i am just trying to load “diskperf” for now that comes with the
WinDDK kit using the addfilter command. Doing so just destroys my
drive…
My OS is vista and driver kit version is 6001.18002
On Thu, Jun 18, 2009 at 11:44 AM, <igor.sharovar> wrote:
> I never use a device filter for disk but I used a class filter which I install manually.
> I would suggest to debug your filter driver. Probably it is not properly handle some of Irps.
>
> Igor Sharovar
> Hewlett-Packard
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
></igor.sharovar>
I just found out that add filter is not the way to go. I created an
install application using the non-pnp driver and I get an error 1062.
Is this documented somewhere, how to install filter drivers? any link
would be useful.
Regards,
Asim
On Thu, Jun 18, 2009 at 3:39 PM, Asim wrote:
> Well, i am just trying to load “diskperf” for now that comes with the
> WinDDK kit using the addfilter command. Doing so just destroys my
> drive…
> My OS is vista and driver kit version is 6001.18002
>
> On Thu, Jun 18, 2009 at 11:44 AM, <igor.sharovar> wrote:
>> I never use a device filter for disk but I used a class filter which I install manually.
>> I would suggest to debug your filter driver. Probably it is not properly handle some of Irps.
>>
>> Igor Sharovar
>> Hewlett-Packard
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>
></igor.sharovar>
You could look at toaster sample from WDK. It includes samples for both device and class filters which you could use to filter disk IRPs too. You could probably find in toaster samples an installation program too.
Igor Sharovar
Hewlett-Packard