Antw: RE: KMDF Driver couldn't be loaded

Thanks for your help.

I’ve figured out, that the coinstaller doesn’t copy the WdfCoInstaller01000…dll to the system32 dir. The DLL isn’t even noticed in the setupapi.log. It seem as if the Coinstaller-section of my INF File is completely ignored.

Do I need more files than WdfCoInstaller01000.dll in my directory from which I want to install the driver?
Is it possible to install the DLL by hand?

The System is Windows XP SP2 (all updates) Free Build

Here’s the listing of my CoInstaller Section of my INF File

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[SercosPCI.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoinstaller01000.dll

[SourceDisksFiles]
WdfCoinstaller01000.dll=1

[CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “WdfCoinstaller01000.dll,WdfCoInstaller”

[SercosPCI.Wdf]
KmdfService = SercosPCI, SercosPCI_wdfsect
[SercosPCI_wdfsect]
KmdfLibraryVersion = 1.0

;---------------------------------------------------------------;

>> xxxxx@microsoft.com 03/31 9:02 >>>
\windows\setupact.log will have KMDF logging as well. BTW, setupapi.log
is massively improved in Vista, logging was completely overhauled and is
now much more intelligible.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Friday, March 31, 2006 6:10 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KMDF Driver couldn’t be loaded

Are you including the KMDF co-installer stuff in your INF? What OS is
the install failing on?

You can check \Windows\SetupAPI.log for more info (though, I must say, I
almost never find the information in that file very helpful).

Peter
OSR


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Have you run your INF against CHKINF?

Gary G. Little

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthias Wander
Sent: Monday, April 03, 2006 4:34 AM
To: Windows System Software Devs Interest List
Subject: Antw: RE: [ntdev] KMDF Driver couldn’t be loaded

Thanks for your help.

I’ve figured out, that the coinstaller doesn’t copy the
WdfCoInstaller01000…dll to the system32 dir. The DLL isn’t even noticed
in the setupapi.log. It seem as if the Coinstaller-section of my INF File
is completely ignored.

Do I need more files than WdfCoInstaller01000.dll in my directory from
which I want to install the driver?
Is it possible to install the DLL by hand?

The System is Windows XP SP2 (all updates) Free Build

Here’s the listing of my CoInstaller Section of my INF File

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[SercosPCI.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoinstaller01000.dll

[SourceDisksFiles]
WdfCoinstaller01000.dll=1

[CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “WdfCoinstaller01000.dll,WdfCoInstaller”

[SercosPCI.Wdf]
KmdfService = SercosPCI, SercosPCI_wdfsect
[SercosPCI_wdfsect]
KmdfLibraryVersion = 1.0

;---------------------------------------------------------------;

>> xxxxx@microsoft.com 03/31 9:02 >>>
\windows\setupact.log will have KMDF logging as well. BTW, setupapi.log
is massively improved in Vista, logging was completely overhauled and is
now much more intelligible.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Friday, March 31, 2006 6:10 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KMDF Driver couldn’t be loaded

Are you including the KMDF co-installer stuff in your INF? What OS is
the install failing on?

You can check \Windows\SetupAPI.log for more info (though, I must say, I
almost never find the information in that file very helpful).

Peter
OSR


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks for your help. But I’ve fixed the problem by myself.
It was an error in the INF file, so that the CoInstaller wasn’t executed.

If someone has similar problems loading a WDF KMDF driver (error code 39), then check your INF file with chkinf to see wether the coinstaller section is executed or not. In my case it wasn’t even referenced.

Greets Matthias Wander

>> xxxxx@seagate.com 04/03 4:57 >>>
Have you run your INF against CHKINF?

Gary G. Little

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthias Wander
Sent: Monday, April 03, 2006 4:34 AM
To: Windows System Software Devs Interest List
Subject: Antw: RE: [ntdev] KMDF Driver couldn’t be loaded

Thanks for your help.

I’ve figured out, that the coinstaller doesn’t copy the
WdfCoInstaller01000…dll to the system32 dir. The DLL isn’t even noticed
in the setupapi.log. It seem as if the Coinstaller-section of my INF File
is completely ignored.

Do I need more files than WdfCoInstaller01000.dll in my directory from
which I want to install the driver?
Is it possible to install the DLL by hand?

The System is Windows XP SP2 (all updates) Free Build

Here’s the listing of my CoInstaller Section of my INF File

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[SercosPCI.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoinstaller01000.dll

[SourceDisksFiles]
WdfCoinstaller01000.dll=1

[CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “WdfCoinstaller01000.dll,WdfCoInstaller”

[SercosPCI.Wdf]
KmdfService = SercosPCI, SercosPCI_wdfsect
[SercosPCI_wdfsect]
KmdfLibraryVersion = 1.0

;---------------------------------------------------------------;

>> xxxxx@microsoft.com 03/31 9:02 >>>
\windows\setupact.log will have KMDF logging as well. BTW, setupapi.log
is massively improved in Vista, logging was completely overhauled and is
now much more intelligible.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Friday, March 31, 2006 6:10 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KMDF Driver couldn’t be loaded

Are you including the KMDF co-installer stuff in your INF? What OS is
the install failing on?

You can check \Windows\SetupAPI.log for more info (though, I must say, I
almost never find the information in that file very helpful).

Peter
OSR


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer