one question about driver verifier

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I test my usb driver by driver verifier, I find the system will crash when I remove device.I trace the driver and find the crash will happen after the irp of removal has been finished. The bugcheckcode of Numega driverworkbench is 0xc4 .It means driver verifier detect violation.

I can transfer the data by the driver .

Here is the Driver Verifier setting for Windows 2000.

1). Install the driver via INF.
2). Click Run -> type verifier
3). Click on Settings Tab
4). In the Verification Type, check "Special Pool", "Force IRQL checking", Pool Tracking", "I/O Verification" (Level 1)
5). Select the Driver files that belongs to your test device.
6). Click "Verify" button below.
7). Click "Apply" button.
8). Modify the boot.ini and put /debug to enable the debug mode.
9). Reboot the system.
 
Dear all:
When I select only one item "pool tracking", the crash will happen.
But I look through the code.IoDetachDevice and IoDeleteDevice are all used .And the pool and nonpool memory are all freeed.How can I locate and solve the problem ?

Thanks a lot
 
Back
Top