This WEB page comes from the busTRACE 9.0 User's Manual. (Table of Contents)
When you choose the Simulate a check condition option, from within busFAULT, you will receive a display similar to the following:
CDBs to fail
You can configure busFAULT to only fail those Command Descriptor Blocks (CDBs) that you specify.
SRB status to return
You specify exactly which SrbStatus to return in the SCSI_REQUEST_BLOCK structure. The available return codes are:
Please refer to Microsoft's Windows Driver Kit (WDK) for details on SCSI_REQUEST_BLOCK structures and the SrbStatus value.
You can specify how many I/Os to fail before busFAULT will stop failing CDBs on the selected device. If you select the Unlimited option, busFAULT will fail every CDB request it is configured to fail until you click on the Clear Device Fault button.
If you place a checkmark on the Random Failures option, you can configure busFAULT to generate a fault at random times. You can adjust the frequency of the random fault by adjusting the Random Frequency setting that appears.
Set Device Fault
Once you have configured which CDBs to fail, the SRB Status to return, and the number of I/O requests to fail, you simply click on the Set Device Fault button. When you do, busFAULT is immediately activated on that device and any matching CDBs sent to that device object will fail with the specified settings. You can force busFAULT to stop generating faults for the device by selecting the Clear Device Fault button.
Whenever a simulated fault is active, on any device, a red error indicator will flash in the upper right of the display. This is a visual cue, regardless of which device is selected, that busFAULT is currently active on one or more devices.