what the BSOD issue of lower filter for disk.sys?

Hi all ,
I have a lower filter driver that I would like to attach
to the DiskDrive device class ({4D36E967-E325-11CE-BFC1-
08002BE10318}). Unfortunately, when I try to load it on
this device class, the system will crash during the boot
process. The stack trace indicates the fault occurs in nt!
IopMarkBootPartition. It does not seem that any code in
the driver itself, even DriverEntry, is ever getting
called. Is there some trick to loading lower
filters on DiskDrive device that I don’t know about?or the code of the
driver is wrong.

Thanks in advanced.

Sounds to me that your install is slightly wrong. This type of BSOD
generally has one of two similar causes.

  1. The filter name in the LowerFilters registry value does not have
    the equivalent device name installed in the registry.

  2. Or, the file path to the filter device is bad.

In either case the system can not find the named filter driver and so
can not construct the stack as specified in the system registry. At
which point it gives up and crashes at the point you have noted.

Check your install. Use the INF from the Diskperf sample as a reference.

Mark.

At 10:42 02/07/2009, lazyworm wrote:

Hi all ,
I have a lower filter driver that I would like to attach
to the DiskDrive device class ({4D36E967-E325-11CE-BFC1-
08002BE10318}). Unfortunately, when I try to load it on
this device class, the system will crash during the boot
process. The stack trace indicates the fault occurs in nt!
IopMarkBootPartition. It does not seem that any code in
the driver itself, even DriverEntry, is ever getting
called. Is there some trick to loading lower
filters on DiskDrive device that I don’t know about?or the code of the
driver is wrong.

Thanks in advanced.

I think the main problem is that your driver installation. How did you
install your class filter driver? and the target OS is?

thanks - wayne

lazyworm wrote:

Hi all ,
I have a lower filter driver that I would like to attach
to the DiskDrive device class ({4D36E967-E325-11CE-BFC1-
08002BE10318}). Unfortunately, when I try to load it on
this device class, the system will crash during the boot
process. The stack trace indicates the fault occurs in nt!
IopMarkBootPartition. It does not seem that any code in
the driver itself, even DriverEntry, is ever getting
called. Is there some trick to loading lower
filters on DiskDrive device that I don’t know about?or the code of the
driver is wrong.

In addition to the other suggestions, for these types of filters your
start value MUST be set to BOOT start (0) not demand start (3).

Pete


Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295

Be sure that you build a right type of filter driver. A device filter must be installed as a device filter. For example, if you a build a class filter but install as a device filter could cause such problem.

Igor Sharovar
Hewlett-Packard