From: Kota on
Hi,

I am having signed driver installation trouble in Vista 64 & server 2008-64
bit.
Unsigned driver using windbg works fine for above OS.

It is working fine xp-32,64, Server 2003-32,64, Win7-32,64, Vista-32 &
server 2008-32.

Single binary is used for all 32 bit OS, using WDK-600 xp-32 free build env
Single binary is used for all 64 bit OS, using WDK-600 Server2003-64 free
build env

Err: Device manager shows Code-39.

I looked at the setupapi.dev file, Comparing to the working old release to
the
non working new release, I have observed below stuff in non working
installation:
----------------------------------------Setupapidev Log
file----------------------------------------------------
1 inf: Opened INF:
'C:\Windows\system32\DriverStore\Temp\{8f30edd9-bd6b-4471-bc86-701b751a2fdf}\Pack
age\pmc55xx.inf' ([strings] <src = normal>)
2! sto: The Driver Package signer is unknown but user trusts the
signer.
3 sto: Driver Package Certificate was successfully installed
---------------------------------------------------------------
3rd line is added in non working package, not sure what is this.
---------------------------------------------------------------------------------
---
4 dvi: {Restarting Devices} 13:16:30.960
5 dvi: Restart:
PCI\VEN_114A&DEV_5565&SUBSYS_00801556&REV_00\4&3608EBF2&0&2010
6 dvi: Restart complete.
7 dvi: Restart:
PCI\VEN_114A&DEV_5565&SUBSYS_00801556&REV_00\4&3608EBF2&0&4810
8 dvi: Restart complete.
9!!! dvi: Device not started: Device has problem:
0x27: CM_PROB_DRIVER_FAILED_LOAD.
10 dvi: {Restarting Devices exit} 13:16:31.022

---------------------------------------------------------------
Lines 7,8,9 are added in non working installation
---------------------------------------------------------------
11 dvi: Install Device: Restarting device.
13:16:36.397
12 dvi: Install Device: Restarting device completed.
13:16:36.491
13!!! dvi: Device not started: Device has problem: 0x27:
CM_PROB_DRIVER_FAILED_LOAD.
14 dvi: Default installer: Exit

---------------------------------------------------------------
Line 13 are added in non working installation
---------------------------------------------------------------

15 ndv: Performing device install final cleanup...
16! ndv: Queueing up error report since device has a PnP
problem...
17 ndv: {Core Device Install - exit(0x00000000)}

---------------------------------------------------------------
Line 16 are added in non working installation
---------------------------------------------------------------

Development Tools used:
--------------------------
WDK-6000 driver development
WDF-xxx15 coinstaller dll ==> so that, I don't need to restart in lower OS
instead of WDF-xxx19.

Inf2Cat(driver signing--generating cat) ---WDK7600 Inf2cat is used for
generating the catalogue file, because 7600 supports Win-7.

Below is the only specifying individual OS for catalogue file generation:

-----------------------bat file for generating catalogue file------
stampinf -f pmc55xx.inf -v %VERSION%
pause
cls

pause

INF2CAT /driver:%CURDIR%\ForSigning\xp-32
/os:XP_X86,Server2003_X86,Vista_X86,Server2008_X86,7_X86

popd
pause

pushd ForSigning\xp-64
Pause
cls

stampinf -f pmc55xx.inf -v %VERSION%
pause
cls

pause
INF2CAT /driver:%CURDIR%\ForSigning\xp-64
/os:XP_X64,Server2003_X64,Vista_X64,Server2008_X64,Server2008R2_X64,7_X64

---------------------------------------------------------------

Since i am building for xp-32, server 2003-64 bit and supporting the binary
for other OS, for driver signing, should i need to provide all OS info like
above or, just xp-32 & server-2003-64 bit is sufficient?


Let me know, if you need more info.

Thanks,
Kota
From: Kota on
Hi,

This problem is solved after fresh installation of our new signing
certificate on a new PC, it is working fine.

It earlier didnt worked on a PC, where Our old certificate was installed
earlier and it is expired now. Old certificate was removed and installed the
new certificate.
On this PC, it didnt worked.

On a fresh PC, no previous certificate was installed, we followed the same
procedure, which we did earlier, it is working.

Not sure, when we remove the old certificate, why it is not working only for
server 2008-64 & vista-64, where as it working for all, including win-7 64
bit.

Thanks
Prafulla