Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > KMDF driver fails to load on XP

Reply
Thread Tools Display Modes

KMDF driver fails to load on XP

 
 
Abhijit Mmirajkar
Guest
Posts: n/a

 
      05-16-2011
Hi,

I have built a KMDF driver with Win7 x86 Free Build environment of
WINDDK 7600.16385.0
This driver installs properly on Vista and Win 7, but when I try to
install it on WinXP SP3 I get an error code 39.
I have the WinDbg hooked and it shows no prints in my driver entry,
which means my driver is not yet loaded.
I have also run the chkinf on my INF and it gave no errors.

The XP system is a fresh one and its setupact.log gives this info:
---------------------->>
WdfCoInstaller: [05/16/2011 13:14.28.453] DIF_INSTALLDEVICE: Pre-
Processing
WdfCoInstaller: [05/16/2011 13:14.28.484] ReadComponents: WdfSection
for Driver Service MYDRV using KMDF lib version Major 0x1, minor 0x9
WdfCoInstaller: [05/16/2011 13:14.28.515] DIF_INSTALLDEVICE:
Coinstaller version: 1.9.7600
WdfCoInstaller: [05/16/2011 13:14.28.531] GetControlKey:
RegOpenKeyEx(HKEY_LOCAL_MACHINE\System\CurrentCont rolSet\Control\Wdf
\Kmdf\KmdfLibrary\Versions) failed: error(2) The system cannot find
the file specified.
WdfCoInstaller: [05/16/2011 13:14.28.546] KMDF control key was not
found
WdfCoInstaller: [05/16/2011 13:14.28.578] Using default name for KMDF
service: Wdf01000
WdfCoInstaller: [05/16/2011 13:14.28.609] GetInMemoryVersionUlong: No
information about in-memory KMDF version
WdfCoInstaller: [05/16/2011 13:14.28.656] DIF_INSTALLDEVICE: KMDF in-
memory version: 0.0.0
WdfCoInstaller: [05/16/2011 13:14.28.687] GetLatestInstalledVersion:
KMDF was not previously installed in the system
WdfCoInstaller: [05/16/2011 13:14.28.703] DIF_INSTALLDEVICE: No need
for reboot, because KMDF was not found in the system
WdfCoInstaller: [05/16/2011 13:14.28.906] VerifyMSRoot: exit: error(0)
The operation completed successfully.
WdfCoInstaller: [05/16/2011 13:14.29.531] Invoking "C:\WINDOWS\Temp
\WdfTemp\Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-
WinXP-Win2k3.exe /quiet /norestart /o /ER".
WdfCoInstaller: [05/16/2011 13:14.42.203] The package was installed
successfully: error(0) The operation completed successfully.
WdfCoInstaller: [05/16/2011 13:14.42.250] InstallComponents: KMDF
installed successfully
WdfCoInstaller: [05/16/2011 13:14.44.921] DIF_INSTALLDEVICE: Post-
Processing
<<------------------------

The coinstaller section in my INF file is as below:
------------------------>>
[MyDrv.NT.CoInstallers]
AddReg=MyDrv_CoInstaller_AddReg
CopyFiles=MyDrv_CoInstaller_CopyFiles

[MyDrv_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,
"WdfCoInstaller01009.dll,WdfCoInstaller"

[MyDrv_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[MyDrv.NT.Wdf]
KmdfService = MOSUMAC, MOSUMAC_wdfsect

[MOSUMAC_wdfsect]
KmdfLibraryVersion = 1.9
<<------------------------

I am using the WdfCoInstaller01009.dll file with timestamp 7/14/2009
12.27 PM present in the WINDDK.
Any suggestions are welcome.
Thanks,

Regards,
Abhijit

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmdf USB driver install on XP stops WDM driver install of other de Ken Spikowski Windows Vista Drivers 4 02-18-2010 02:17 AM
Help, NDIS BSOD Steve Cheng Windows Vista Drivers 2 01-15-2010 09:06 AM
Re: Driver "update" during development cycle and WHQL certification Don Burn Windows Vista Drivers 0 11-20-2009 06:10 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59