Code 39?????????

I developed a driver for a GPIO card that was working fine and released. I recently had to reload it on a platform where it was previously working. I now receive the following:

“Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)”

Any ideas what could cause this? Could it be a bug in my uninstall routine that was run previously?

The driver is not a registered driver. It has loaded successfully before. More info from the log files:

[2010/08/03 15:24:11 328.563 Driver Install]
#-198 Command line processed: “C:\WINDOWS.1\system32\rundll32.exe” C:\WINDOWS.1\system32\shell32.dll,Control_RunDLL “C:\WINDOWS.1\system32\hdwwiz.cpl”,Add Hardware
#I393 Modified INF cache “C:\WINDOWS.1\inf\INFCACHE.1”.
#-124 Doing copy-only install of “ROOT\UNKNOWN\0000”.
#E360 An unsigned or incorrectly signed file “e:\pcouio48gxp\pcouio48gxp.cat” for driver “PCO-UIO48G Digital I/O” will be installed (Policy=Ignore). Error 0x800b0003: The form specified for the subject is not one supported or known by the specified trust provider.
#W187 Install failed, attempting to restore original files.
#E360 An unsigned or incorrectly signed file “e:\pcouio48gxp\pcouio48gxp.cat” for driver “PCO-UIO48G Digital I/O” will be installed (Policy=Ignore). Error 0x800b0003: The form specified for the subject is not one supported or known by the specified trust provider.
#-024 Copying file “e:\pcouio48gxp.\PCOUIO48GXP.sys” to “C:\WINDOWS.1\System32\Drivers\PCOUIO48GXP.sys”.
#E360 An unsigned or incorrectly signed file “e:\pcouio48gxp.\PCOUIO48GXP.sys” for driver “PCO-UIO48G Digital I/O” will be installed (Policy=Ignore). Error 0x800b0003: The form specified for the subject is not one supported or known by the specified trust provider.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [UIO48Install.NTx86.Interfaces] from “e:\pcouio48gxp\pcouio48gxp.inf”.
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of “ROOT\UNKNOWN\0000”.
#E360 An unsigned or incorrectly signed file “e:\pcouio48gxp\PCOUIO48GXP.cat” for driver “WinSystems PCO-UIO48G Digital I/O” will be installed (Policy=Ignore). Error 0x800b0003: The form specified for the subject is not one supported or known by the specified trust provider.
#I163 Device not started: Device has problem: 0x27: CM_PROB_DRIVER_FAILED_LOAD.
#I121 Device install of “ROOT\UNKNOWN\0000” finished successfully.

No/wrong kmdf coinstaller?

On Aug 3, 2010 3:45 PM, wrote:

I developed a driver for a GPIO card that was working fine and released. I
recently had to reload it on a platform where it was previously working. I
now receive the following:

“Windows cannot load the device driver for this hardware. The driver may be
corrupted or missing. (Code 39)”

Any ideas what could cause this? Could it be a bug in my uninstall routine
that was run previously?


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

What is the kmdf coinstaller? I do not have one but the driver previously loaded successfully.

I verified that my policy is to ignore and load unsigned drivers.

Probably not it then.

On Aug 3, 2010 5:11 PM, wrote:

What is the kmdf coinstaller? I do not have one but the driver previously
loaded successfully.

I verified that my policy is to ignore and load unsigned drivers.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
h…

You’d better post basic info instead too many question marks. What OS?
What SP? What CPU?

I presume XP based on the log below.

#W187 Install failed, attempting to restore original files.

Above can be the key. OS decided to restore old installation and maybe
failed. Check if your driver binary is at the correct place, I presume
it isn’t and that’s why OS can’t start the driver. Enable more verbose
Setup API logging (GIYF) and you’d probably see why the new installation
failed.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]

On 08/03/2010 10:36 PM, xxxxx@winsystems.com wrote:

#I163 Device not started: Device has problem: 0x27: CM_PROB_DRIVER_FAILED_LOAD.

GIYF “CM_PROB_DRIVER_FAILED_LOAD”:
http://msdn.microsoft.com/en-us/library/ff538906(VS.85).aspx