Re: Problem with KMDF 1.1 driver installation
- From: "Beverly Brown" <bbucetrap@xxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 21:53:25 -0400
Does your INF file install more than one driver? i.e does it install a FDO
and a fileter driver? If so, you will see a problem upgrading from KMDF 1.0
to KMDF 1.1. The reason is that it installs the upgrade for the lower river
in the stack and then when it does the higher driver, it checks for an
upgrade, finds the current WDF file to be 1.1 already and says it can't
upgrade it. If you reboot at this point and do the upgrade again, it will
work.
Alternatively, I was told that you can tell it to use 1.1 for only the
lowest driver in the stack. the right version will get installed and it will
be used for both drivers. I havent' ried this because it feels like lying to
the OS and I'm afraid I'll get bitten by it later.
Beverly
"Gennady Mayko" <GMayko@xxxxxxxxx> wrote in message
news:1152529787.598198.91580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a KMDF 1.0 driver that I can successfully install for my board.
I decided to move to the KMDF 1.1 and face some problems during it's
installation.
I change information in my *.inf file to use WdfCoInstaller01001.dll
and also change the version in the [*_WdfSelect] section to 1.1:
---
[*_WdfSect]
KmdfLibraryVersion = 1.1
---
During installation of the driver I got an error 39 and found the
following line in the setuapi.log file:
---
@ 12:02:02.281 #I163 Device not started: Device has problem: 0x27:
CM_PROB_DRIVER_FAILED_LOAD.
---
I remembered that somehow Doron Holon explained the process KMDF driver
installation and binding with the proper WDF version using 2 drivers
(wdfldr.sys and wdfXXYYY.sys). I copied them from the
Kmdf11\bin\debug\x86 directory and after this I have error 37 and this
line in the setupapi.log:
---
@ 13:34:47.328 #I163 Device not started: Device has problem: 0x25:
CM_PROB_FAILED_DRIVER_ENTRY.
---
and also the following lines in the debug output:
---
WdfLdr: DllInitialize: enter
WdfLdr: DllInitialize: OsVersion(5.1)
WdfLdr: DllInitialize: exit
WdfLdr: WdfVersionBind: enter
WdfLdr: Component path
\Registry\Machine\System\CurrentControlSet\Control\Wdf\Kmdf\KmdfLibrary\Versions
WdfLdr: ZwOpenKey(1) failed: C0000034
WdfLdr: GetVersionServicePath() failed: C0000034
WdfLdr: WdfVersionBind: exit C0000034
---
As far as I understand, now wdfldr is started and trying to get the
version of the WDF and failed (error 0xC0000034 is probably
STATUS_OBJECT_NAME_NOT_FOUND).
I do find this registry key but in my case it is empty. So my questions
are:
1. Who is responsible for this registry key initialization?
2. What is the format of this key for the WDF 1.1 version?
3. Is it wdfldr.sys which looks for the KmdfLibraryVersion entry in the
*.inf file to bind to the correct version of the KMDF library?
4. In the WDF 1.1 we still have wdf01000.sys - is it OK?
Regards,
Gennady Mayko.
.
- Follow-Ups:
- Re: Problem with KMDF 1.1 driver installation
- From: Gennady Mayko
- Re: Problem with KMDF 1.1 driver installation
- References:
- Problem with KMDF 1.1 driver installation
- From: Gennady Mayko
- Problem with KMDF 1.1 driver installation
- Prev by Date: Re: Mounting on a directory
- Next by Date: Re: How do I install NDIS intermediate mode driver ?
- Previous by thread: Re: Problem with KMDF 1.1 driver installation
- Next by thread: Re: Problem with KMDF 1.1 driver installation
- Index(es):
Relevant Pages
|