Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 5  
05 Oct 17 07:51
Balaji vasudevan
xxxxxx@gmail.com
Join Date: 05 Oct 2017
Posts To This List: 5
NDIS65 test for PM requirements and Generic miniport requirements.

Hi All, I am trying to get this test case to executed for a SDIO based wireless card. While executing this test case the test suite tries to " Attach all OS filter drivers" This step fails with following error: - Instance ID: SD\VID_0271&PID_0701\5&13199BF9&0&0 PnpManager::DoPropertyChange: Failed either SetupDiCallClassInstaller or SetupDiSetClassInstallParams. NT_STATUS (0xE000020B) PnpManager::StartDriver: Driver enable failed NT_STATUS (0xE000020B) WLanAdapter::AttachOSFilters: Unable to reenable miniport after attaching filter NT_STATUS (0xE000020B) I can see that the driver was unloaded while this step was being tried out. I checked setupapi.h and the error seems to be #define ERROR_NO_SUCH_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B) At this point i am unsure where the error could be. INF or elsewhere?. Any help is welcome. Regards, Balaji.
  Message 2 of 5  
05 Oct 17 12:10
Pavel A
xxxxxx@fastmail.fm
Join Date: 21 Jul 2008
Posts To This List: 2401
NDIS65 test for PM requirements and Generic miniport requirements.

> At this point i am unsure where the error could be. INF or elsewhere?. Is this the same driver as in your other question, for device SD\VID_0271&PID_0701 ? The installation problem should be fixed before running ndistest. From provided details, it's hard to tell why the installation stops and the driver gets unloaded. It may be the INF or something in the characteristics passed to NDIS. Are you sure that MniportInitialize is not called? -- pa
  Message 3 of 5  
06 Oct 17 02:26
Balaji vasudevan
xxxxxx@gmail.com
Join Date: 05 Oct 2017
Posts To This List: 5
NDIS65 test for PM requirements and Generic miniport requirements.

Hi Pavel, Thanks for replying. The driver i am working with is based on WDI model (newer one for WiFi drivers) so it does not have MiniportInitialize. This is replaced by AllocateAdapterHandler. I can see both using breakpoints and prints that this function is not called. Yes the other query is also for the same device and driver. I am not sure if somehow both are related. I probably didn't come across this issue or didn't look enough during development, but it is creating issues while running HLK. I have also posted the INF if you'd like to take a look. https://pastebin.com/Pc9VBNtn Regards, Balaji.
  Message 4 of 5  
07 Oct 17 17:10
Pavel A
xxxxxx@fastmail.fm
Join Date: 21 Jul 2008
Posts To This List: 2401
NDIS65 test for PM requirements and Generic miniport requirements.

The bus type in the INF is 1 (NdisInterfaceIsa). Why? Does this really work with SDIO? -- pa
  Message 5 of 5  
09 Oct 17 02:58
Balaji vasudevan
xxxxxx@gmail.com
Join Date: 05 Oct 2017
Posts To This List: 5
NDIS65 test for PM requirements and Generic miniport requirements.

Hi Pavel, Thanks for pointing this out. I tried changing this to 0 - internal once and didn't see any change in behavior. Tried using 15 - PNPBus and didn't see any difference either. I just moved the driver over to a different system and it seems to work on that, not sure if things are platform related.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 02:16.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license