Re: File System Filter Won't Load



On Tue, 1 May 2007 17:07:02 -0700, Dakota Ridge
<DakotaRidge@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

This is a mini filter driver? <<

Nope - full scale filter driver.


Well why? For new fs filter development you really should be using the
minifilter package. It is vastly simpler and will reduce your
development effort considerably.

Your inf file is messed up. Why is your service binary diskperf.sys?
How come you are not ServiceType 2? Why are you attempting to install
yourself as the upper filter of class
{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}?

Here is a suggestion: start with filespy.inf. Replace all references
to filespy.sys with your driver SATAtrieve.sys. Get that to work. Then
whatever else it is that you think you are doing here, try adding that
functionality in.

What is in the rest of the inf file? <<


;*******************************************************************************
;
; SATAtrieve INF file
;
; Copyright (c) 2007
; by Chris Malcheski
; All Rights Reserved

;*******************************************************************************
;
; VERSION section

[Version]

Signature = "$CHICAGO$"
Class = ActivityMonitor
ClassGUID =
{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}
Provider = %tas%
DriverVer = 04/30/2007,1.0.0.0


;*******************************************************************************
;
; DefaultInstall section

[DefaultInstall.NT]

CopyFiles = @SATAtrieve.sys
AddReg = ST.AddReg


;*******************************************************************************
;
; DestinationDirs section

[DestinationDirs]

DefaultDestDir = 12


;*******************************************************************************
;
; AddReg section

[ST.AddReg]

HKLM,
System\CurrentControlSet\Control\Class\{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}, UpperFilters, 0x00010008, SATAtrieve


;*******************************************************************************
;
; Services section

[Default.NT.Services]

AddService = SATAtrieve, , SATAtrieve.Service.Install


;*******************************************************************************
;
; SATAtrieve.Services.Install section

[SATAtrieve.Service.Install]

DisplayName = %service_desc%
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\diskperf.sys
LoadOrderGroup = "FSFilter Activity Monitor"

[SourceDisksFiles]
diskperf.sys=1


;*******************************************************************************
;
; SourceDisksNames section

[SourceDisksNames]

1 = "SATAtrieve Installation"

;*******************************************************************************
;
; Strings section

[Strings]

tas = "Tensor ASM Software"
ServiceDesc = "SATAtrieve Filter Driver"
ServiceName = "SATAtrieve"


How are you installing the driver? <<

Per the WDK documentation: in Windows Explorer, right click the file and
click "Install" - not "FastInstall." Reboot. Nothing. Verified driver is
copied to \Windows\System32\Drivers, verified my driver is added to the
UpperFilters registry entry for the ActivityFilter class.

The exact same driver through the exact same .INF file loads perfectly, IF I
add it to the DiskDrive class.

Are you using fltmc to start/stop your driver? <<

I'm still fighting my way through the learning curve; very new at all this.
What is fltmc?


=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP Consulting
Device and Filesystem Drivers
Broken Driver Code? Call us.
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.



Relevant Pages

  • Re: WDF Class Filter Driver Installation
    ... I've installed the driver as a boot time ... WdfLdr: DllInitialize - OsVersion ... It seems that making the driver an upper filter of the System Setup ... what right clicking on the inf file -> Install would do for non-Wdf ...
    (microsoft.public.development.device.drivers)
  • Re: system monitoring
    ... load the driver. ... I would be curious to see a reference to this WHQL ... because you used the term "legacy filter", especially since if he did want ... the new file system mini-filter model and KMDF ...
    (microsoft.public.win32.programmer.kernel)
  • Re: How to define IKsObject from ksproxy.h ?
    ... If you are keen on getting the scheme with the service - kernel driver to ... In the driver queue incoming buffers in device object not per filter because ... > can show only real web camera or ks minidriver it their hw camera list. ... > error code 50 in user mode. ...
    (microsoft.public.development.device.drivers)
  • Re: kbfiltr question
    ... I am afraid usbhub is COMPLETELY irrelevant in this discussion -it just ... Therefore, it is more of a bus driver, rather than FDO..... ... how would you describe the filter in between Usbstor.sys ... [device lower filters] ...
    (microsoft.public.development.device.drivers)
  • Re: Working example of class filter driver for keyboards and mice???
    ... My personal keyboard filter is derived from Ctrl2Cap. ... modifying an .inf file I had lying around (eg, ... Then I use DevCon and ... > I would be very glad to get such a driver... ...
    (microsoft.public.development.device.drivers)

Loading