Do you have a kernel debugger attached? If not, you should get one.
Is the driver actually running? Check with “sc query ndislwf” from an elevated command prompt. If it’s not running, you need to figure out why not. Try starting it with “net start ndislwf”.
The most likely reason that you are seeing that the network is down, is because the sample filter driver is marked as a mandatory filter, so NDIS will not let the NIC start until the filter is loaded and successfully attaches to the NIC. So you should figure out why the filter hasn’t loaded yet.
A reboot isn’t normally necessary. If it’s prompting you for reboot, then something might wrong. It commonly prompts for reboot in two cases:
- Some other unrelated piece of software needed a reboot, set the global “needs reboot” flag, and you haven’t rebooted yet; or
- Installing the adapter failed, and the network installer is going to try again after a reboot.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Tuesday, August 03, 2010 2:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS 6.0 LWF problems
Hello everyone,
I am new to developing with the DDK, and I have encountered a problem.
I am running on the 64 bit version of windows 7 Pro, and wanted to test the Sample Driver of NDIS LWF that came with DDK.
Now, I have successfully built the driver that came with the kit and installed it following the instructions on this MSDN page: http://msdn.microsoft.com/en-us/library/ff570732(v=VS.85).aspx
Now after installing, and the required reboot, windows tells me that there are no connections available When I uncheck the NDIS service from the LAN adapter everything works fine again…
Am I missing something here? I have test-signed the driver as far as I know, but I don’t exactly know what is supposed to happen with the .cat file.
Any help would be appreciated!
Thanks.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer