Disk Integrity Checking
The Disk Integrity Checking feature of Driver Verifier monitors all hard disk access to determine whether the disk accurately stores information. If the data on the disk appears to change, a bug check is issued.
This Driver Verifier option was introduced in Windows Server 2003 and was removed as an option starting with Windows 7.
When you activate Disk Integrity Checking, you can choose to verify any or all of the physical disks attached to your computer.
As soon as Windows and its drivers are loaded, Driver Verifier begins to monitor all read and write actions made to these drives. Driver Verifier calculates a CRC (cyclic redundancy check) checksum value for each sector that is accessed and saves this value. The next time this sector is accessed, Driver Verifier recalculates this checksum and compares it to the previous value.
If the checksum value changes, this indicates a disk integrity problem -- either the read operation is returning faulty information, or the disk medium has altered its contents since the last access was made. When this happens, Driver Verifier issues bug check 0xC4 with Parameter 1 equal to 0xA0. The other parameters identify the IRP making the request, the device object of the lower device, and the sector in which the error occurred. For details, see Bug Check 0xC4 (DRIVER_VERIFIER_DETECTED_VIOLATION).
The Disk Integrity Checking feature makes hard disk access perceptibly slower. If the computer is low on RAM, this performance decrease is even more significant. Use Disk Integrity Checking to investigate disk problems, but do not activate whenever when you are running Driver Verifier to test drivers.
In addition, there are some circumstances that might lead to false bug checks on systems with non-clustered disks. These circumstances include:
Memory writes to in-flight write buffers
Concurrent in-flight reads and writes to the same sector
You can activate the Disk Integrity Checking option by using Driver Verifier Manager or the Verifier.exe command line. Driver Verifier Manager lets you determine which disks are verified. If you use the command line, all disks are verified. For details, see Selecting Driver Verifier Options.
- At the command line
At the command line, the Disk Integrity Checking option is represented by the /disk parameter. For example:
verifier /disk /driver MyDriver.sys
The feature will be active after the next boot. You cannot activate the Disk Integrity Checking option without rebooting the computer on any version of Windows.
- Using Driver Verifier Manager
- Select Create custom settings (for code developers) and then click Next.
- Select Select individual settings from a full list.
- Select (check) Disk integrity checking.