Installing PCI bus filter driver

Hello All,
Following is the inf file I am using to install an Upper PCI bus filter
driver. I am doing it because I want to catch IRPs going to the PCI bus.
Installation goes fine but when I reboot the machine I get the blue screen
even before it loads my driver pciufilter.sys.
Ashish

*** Fatal System Error: 0x0000007b

(0xF402384C,0xC0000034,0x00000000,0x00000000)

[Version]
Signature=“$WINDOWS NT$”
Class= System
ClassGUID= {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%XYZ%
DriverVer=04/30/2002,1.00.00.00
;CatalogFile=toaster.cat

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%XYZ%=xyz

[xyz]
; DisplayName Section DeviceId
; ----------- ------- --------
%PciUfilter.DeviceDesc%= PciUfilter, *PNP0A03
;=====================================================================
[PciUfilter.NT]
Include=machine.inf
Needs=PCI_DRV_ROOT
CopyFiles=PciUfilter.NT.Copy

[PciUfilter.NT.Copy]
PciUfilter.sys

[PciUfilter.NT.HW]
AddReg = HKR,“UpperFilters”,0x00010000,“PciUfilter”

[PciUfilter.NT.Services]
AddService = PciUfilter, filter_Service_Inst
Include=machine.inf
Needs=PCI_DRV_ROOT.Services

[filter_Service_Inst]
DisplayName = %filter.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\PciUfilter.sys
LoadOrderGroup= PNP Filter

;*************************
; Source file information
;*************************

[SourceDisksNames]
1 = %DiskId1%,“”

[SourceDisksFiles]
PciUfilter.sys = 1,

[Strings]

XYZ = “XYZ”
DiskId1 = " Filter Installation Disk #1"
PciUfilter.DeviceDesc = “PCI Bus Upper filter”
filter.SvcDesc = “PCI Bus Upper filter Driver”

what does the devnode for the PCI bus look like when the system has
crashed (!devnode 0 1 pci)? 7B implies that we couldn’t find your boot
disk which (in this case) is probably because the PCI bus wasn’t
started.

-p

-----Original Message-----
From: xxxxx@Itronix.com [mailto:xxxxx@Itronix.com]
Sent: Monday, May 06, 2002 7:13 PM
To: NT Developers Interest List
Cc: xxxxx@Itronix.com
Subject: [ntdev] Installing PCI bus filter driver

Hello All,
Following is the inf file I am using to install an Upper PCI bus filter
driver. I am doing it because I want to catch IRPs going to the PCI bus.
Installation goes fine but when I reboot the machine I get the blue
screen even before it loads my driver pciufilter.sys. Ashish

*** Fatal System Error: 0x0000007b

(0xF402384C,0xC0000034,0x00000000,0x00000000)

[Version]
Signature=“$WINDOWS NT$”
Class= System
ClassGUID= {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%XYZ%
DriverVer=04/30/2002,1.00.00.00
;CatalogFile=toaster.cat

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%XYZ%=xyz

[xyz]
; DisplayName Section DeviceId
; ----------- ------- --------
%PciUfilter.DeviceDesc%= PciUfilter, *PNP0A03
;=====================================================================
[PciUfilter.NT]
Include=machine.inf
Needs=PCI_DRV_ROOT
CopyFiles=PciUfilter.NT.Copy

[PciUfilter.NT.Copy]
PciUfilter.sys

[PciUfilter.NT.HW]
AddReg = HKR,“UpperFilters”,0x00010000,“PciUfilter”

[PciUfilter.NT.Services]
AddService = PciUfilter, filter_Service_Inst
Include=machine.inf
Needs=PCI_DRV_ROOT.Services

[filter_Service_Inst]
DisplayName = %filter.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\PciUfilter.sys
LoadOrderGroup= PNP Filter

;*************************
; Source file information
;*************************

[SourceDisksNames]
1 = %DiskId1%,“”

[SourceDisksFiles]
PciUfilter.sys = 1,

[Strings]

XYZ = “XYZ”
DiskId1 = " Filter Installation Disk #1"
PciUfilter.DeviceDesc = “PCI Bus Upper filter”
filter.SvcDesc = “PCI Bus Upper filter Driver”


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

Try setting StartType to 0. It worked for me.

Robin
wrote in message news:xxxxx@ntdev…
>
> Hello All,
> Following is the inf file I am using to install an Upper PCI bus filter
> driver. I am doing it because I want to catch IRPs going to the PCI bus.
> Installation goes fine but when I reboot the machine I get the blue screen
> even before it loads my driver pciufilter.sys.
> Ashish
> =====================================
> Fatal System Error: 0x0000007b
>
> (0xF402384C,0xC0000034,0x00000000,0x00000000)
> ======================================
>
> [Version]
> Signature=“$WINDOWS NT$”
> Class= System
> ClassGUID= {4D36E97D-E325-11CE-BFC1-08002BE10318}
> Provider=%XYZ%
> DriverVer=04/30/2002,1.00.00.00
> ;CatalogFile=toaster.cat
>
> [DestinationDirs]
> DefaultDestDir = 12
>
>
> [Manufacturer]
> %XYZ%=xyz
>
> [xyz]
> ; DisplayName Section DeviceId
> ; ----------- ------- --------
> %PciUfilter.DeviceDesc%= PciUfilter, PNP0A03
> ;=====================================================================
> [PciUfilter.NT]
> Include=machine.inf
> Needs=PCI_DRV_ROOT
> CopyFiles=PciUfilter.NT.Copy
>
> [PciUfilter.NT.Copy]
> PciUfilter.sys
>
> [PciUfilter.NT.HW]
> AddReg = HKR,“UpperFilters”,0x00010000,“PciUfilter”
>
> [PciUfilter.NT.Services]
> AddService = PciUfilter, filter_Service_Inst
> Include=machine.inf
> Needs=PCI_DRV_ROOT.Services
>
> [filter_Service_Inst]
> DisplayName = %filter.SvcDesc%
> ServiceType = 1 ; SERVICE_KERNEL_DRIVER
> StartType = 3 ; SERVICE_DEMAND_START
> ErrorControl = 1 ; SERVICE_ERROR_NORMAL
> ServiceBinary = %12%\PciUfilter.sys
> LoadOrderGroup= PNP Filter
>
> ;
*********************
> ; Source file information
> ; *************************
>
>
> [SourceDisksNames]
> 1 = %DiskId1%,“”
>
> [SourceDisksFiles]
> PciUfilter.sys = 1,
>
>
> [Strings]
>
> XYZ = “XYZ”
> DiskId1 = " Filter Installation Disk #1"
> PciUfilter.DeviceDesc = “PCI Bus Upper filter”
> filter.SvcDesc = “PCI Bus Upper filter Driver”
>
>
>
>