G
Guest
I am having a problem when I attempt to run the driver verifier tests on an NDIS IM driver. During the NDIS tester portion of the driver verifier, I am getting a blue screen in the 1c-Reset.wsf test script. The blue screen is occurring during a SetInformation call and the OID is the OID_PNP_ADD_WAKE_UP_PATTERN. In our driver, we forward this OID to the underlying NIC miniport (as we are supposed to do according to the DDK documentation). The underlying NIC always returns a NDIS_STATUS_PENDING and then later finishes the call. Usually this call succeeds without any problems, but occasionally, we are getting a return value of NDIS_STATUS_RESOURCES (according to the documentation on this OID, this is normal) when our PtRequestComplete function is called by NDIS. Since we are doing nothing with this information, we just make sure that all the necessary information is set properly (BytesRead, BytesNeeded, OutstandingRequests, etc.) and then call NdisMSetInformationComplete(...) with the returned Status set to NDIS_STATUS_RESOURCES (the value that was indicated to us from the underlying NIC, and according to the DDK docs, what we are supposed to do). Unfortunately, when we pass up the status NDIS_STATUS_RESOURCES, we get a blue screen from the checked version of the ndis.sys file when an assertion fails -- the assertion we are seeing is Status == NDIS_STATUS_SUCCESS and according to SoftIce is coming from a file requestm.c at line 1058 (I think). Also, if in our PtRequestComplete function, we force the return status to be NDIS_STATUS_SUCCESS, the test completes with no problems. Finally, this problem only is occurring with this one particular OID
We are running the tests with HCT 11.2 on an XP Pro system and the underlying NICs are Intel gigabit cards that are signed. Does anyone have any suggestions as to what may be happening and/or how to fix the problem.
We are running the tests with HCT 11.2 on an XP Pro system and the underlying NICs are Intel gigabit cards that are signed. Does anyone have any suggestions as to what may be happening and/or how to fix the problem.