devcon failure

I’m attempting to install a (heavily) modified toaster bus driver for
the first time on XP. It fails with the following errors in \windows
\setupapi.log. Can someone please take a look and offer some advice?

I started with the kmdf toaster example and modified both the source as
well as the .inx. I did create new guids for the driver as well.

Is there some other log file I need to look at as well?

THanks,
-PWM

[2009/10/23 09:19:40 2204.100]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon install vbus.inf root\vbus
#I060 Set selected driver.
#-019 Searching for hardware ID(s): root\vbus
#I022 Found “root\vbus” in c:\vbus\objchk_wxp_x86\i386\vbus.inf; Device:
“VBus Enumerator”; Driver: “VBus Enumerator”; Provider: “Novell Inc”;
Mfg: “(Standard system devices)”; Section name: “Vbus_Device”.
#I087 Driver node not trusted, rank changed from 0x00000000 to
0x00008000.
#I023 Actual install section: [Vbus_Device.NT]. Rank: 0x00008000.
Effective driver date: 10/23/2009.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [Vbus_Device] in “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I320 Class GUID of device remains:
{4D36E97D-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-024 Copying file “c:\vbus\objchk_wxp_x86\i386\vbus.sys” to “C:\WINDOWS
\system32\DRIVERS\vbus.sys”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
\WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
\WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.
#W178 SPFILENOTIFY_COPYERROR: returned 1 (is or is treated as
FILEOP_NEWPATH), ReturnBuffer=“C:\WinDDK\7600.16385.0\redist\wdf\x86”.
#-336 Copying file “C:\WinDDK\7600.16385.0\redist\wdf\x86
\WdfCoInstaller01009.dll” to “C:\WINDOWS\system32
\WdfCoInstaller01009.dll” via temporary file “C:\WINDOWS\system32
\SET16.tmp”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [Vbus_Device.NT.Interfaces] from “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#I121 Device install of “ROOT\SYSTEM\0003” finished successfully.
[2009/10/23 10:35:10 3896.91]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon remove root\vbus
#-166 Device install function: DIF_REMOVE.
#I289 Removing device “ROOT\SYSTEM\0003”.
#I048 Device removed.

have you run chkinf on your inf file???

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter W.
Morreale
Sent: Wednesday, October 28, 2009 1:10 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] devcon failure

I’m attempting to install a (heavily) modified toaster bus driver for
the first time on XP. It fails with the following errors in \windows
\setupapi.log. Can someone please take a look and offer some advice?

I started with the kmdf toaster example and modified both the source as
well as the .inx. I did create new guids for the driver as well.

Is there some other log file I need to look at as well?

THanks,
-PWM

[2009/10/23 09:19:40 2204.100]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon install vbus.inf root\vbus
#I060 Set selected driver.
#-019 Searching for hardware ID(s): root\vbus
#I022 Found “root\vbus” in c:\vbus\objchk_wxp_x86\i386\vbus.inf; Device:
“VBus Enumerator”; Driver: “VBus Enumerator”; Provider: “Novell Inc”;
Mfg: “(Standard system devices)”; Section name: “Vbus_Device”.
#I087 Driver node not trusted, rank changed from 0x00000000 to
0x00008000.
#I023 Actual install section: [Vbus_Device.NT]. Rank: 0x00008000.
Effective driver date: 10/23/2009.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [Vbus_Device] in “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I320 Class GUID of device remains:
{4D36E97D-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-024 Copying file “c:\vbus\objchk_wxp_x86\i386\vbus.sys” to “C:\WINDOWS
\system32\DRIVERS\vbus.sys”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
\WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
\WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.
#W178 SPFILENOTIFY_COPYERROR: returned 1 (is or is treated as
FILEOP_NEWPATH), ReturnBuffer=“C:\WinDDK\7600.16385.0\redist\wdf\x86”.
#-336 Copying file “C:\WinDDK\7600.16385.0\redist\wdf\x86
\WdfCoInstaller01009.dll” to “C:\WINDOWS\system32
\WdfCoInstaller01009.dll” via temporary file “C:\WINDOWS\system32
\SET16.tmp”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [Vbus_Device.NT.Interfaces] from “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#I121 Device install of “ROOT\SYSTEM\0003” finished successfully.
[2009/10/23 10:35:10 3896.91]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon remove root\vbus
#-166 Device install function: DIF_REMOVE.
#I289 Removing device “ROOT\SYSTEM\0003”.
#I048 Device removed.


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

On Wed, 2009-10-28 at 13:13 -0400, Mark Cariddi wrote:

have you run chkinf on your inf file???

Heh, obviously not. I am a complete noob to windows driver dev. Its
not in my path, where is it?

Thanks,
-PWM

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter W.
Morreale
Sent: Wednesday, October 28, 2009 1:10 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] devcon failure

I’m attempting to install a (heavily) modified toaster bus driver for
the first time on XP. It fails with the following errors in \windows
\setupapi.log. Can someone please take a look and offer some advice?

I started with the kmdf toaster example and modified both the source as
well as the .inx. I did create new guids for the driver as well.

Is there some other log file I need to look at as well?

THanks,
-PWM

[2009/10/23 09:19:40 2204.100]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon install vbus.inf root\vbus
#I060 Set selected driver.
#-019 Searching for hardware ID(s): root\vbus
#I022 Found “root\vbus” in c:\vbus\objchk_wxp_x86\i386\vbus.inf; Device:
“VBus Enumerator”; Driver: “VBus Enumerator”; Provider: “Novell Inc”;
Mfg: “(Standard system devices)”; Section name: “Vbus_Device”.
#I087 Driver node not trusted, rank changed from 0x00000000 to
0x00008000.
#I023 Actual install section: [Vbus_Device.NT]. Rank: 0x00008000.
Effective driver date: 10/23/2009.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [Vbus_Device] in “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I320 Class GUID of device remains:
{4D36E97D-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-024 Copying file “c:\vbus\objchk_wxp_x86\i386\vbus.sys” to “C:\WINDOWS
\system32\DRIVERS\vbus.sys”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
\WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
\WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.
#W178 SPFILENOTIFY_COPYERROR: returned 1 (is or is treated as
FILEOP_NEWPATH), ReturnBuffer=“C:\WinDDK\7600.16385.0\redist\wdf\x86”.
#-336 Copying file “C:\WinDDK\7600.16385.0\redist\wdf\x86
\WdfCoInstaller01009.dll” to “C:\WINDOWS\system32
\WdfCoInstaller01009.dll” via temporary file “C:\WINDOWS\system32
\SET16.tmp”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [Vbus_Device.NT.Interfaces] from “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not contain
digital signature information.
#I121 Device install of “ROOT\SYSTEM\0003” finished successfully.
[2009/10/23 10:35:10 3896.91]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon remove root\vbus
#-166 Device install function: DIF_REMOVE.
#I289 Removing device “ROOT\SYSTEM\0003”.
#I048 Device removed.


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


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

should be in the ddk\bin or tools directory. YOu need to install perl
if not already there. www.activeperl.com

–Mark Cariddi
OSR, Open Systems Resources, Inc

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter W.
Morreale
Sent: Wednesday, October 28, 2009 1:23 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] devcon failure

On Wed, 2009-10-28 at 13:13 -0400, Mark Cariddi wrote:

have you run chkinf on your inf file???

Heh, obviously not. I am a complete noob to windows driver dev. Its
not in my path, where is it?

Thanks,
-PWM

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter W.
Morreale
Sent: Wednesday, October 28, 2009 1:10 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] devcon failure

I’m attempting to install a (heavily) modified toaster bus driver for
the first time on XP. It fails with the following errors in \windows
\setupapi.log. Can someone please take a look and offer some advice?

I started with the kmdf toaster example and modified both the source
as
well as the .inx. I did create new guids for the driver as well.

Is there some other log file I need to look at as well?

THanks,
-PWM

[2009/10/23 09:19:40 2204.100]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon install vbus.inf root\vbus
#I060 Set selected driver.
#-019 Searching for hardware ID(s): root\vbus
#I022 Found “root\vbus” in c:\vbus\objchk_wxp_x86\i386\vbus.inf;
Device:
“VBus Enumerator”; Driver: “VBus Enumerator”; Provider: “Novell Inc”;
Mfg: “(Standard system devices)”; Section name: “Vbus_Device”.
#I087 Driver node not trusted, rank changed from 0x00000000 to
0x00008000.
#I023 Actual install section: [Vbus_Device.NT]. Rank: 0x00008000.
Effective driver date: 10/23/2009.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [Vbus_Device] in “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I320 Class GUID of device remains:
{4D36E97D-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#-024 Copying file “c:\vbus\objchk_wxp_x86\i386\vbus.sys” to
“C:\WINDOWS
\system32\DRIVERS\vbus.sys”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
\WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
\WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.
#W178 SPFILENOTIFY_COPYERROR: returned 1 (is or is treated as
FILEOP_NEWPATH), ReturnBuffer=“C:\WinDDK\7600.16385.0\redist\wdf\x86”.
#-336 Copying file “C:\WinDDK\7600.16385.0\redist\wdf\x86
\WdfCoInstaller01009.dll” to “C:\WINDOWS\system32
\WdfCoInstaller01009.dll” via temporary file “C:\WINDOWS\system32
\SET16.tmp”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [Vbus_Device.NT.Interfaces] from “c:\vbus
\objchk_wxp_x86\i386\vbus.inf”.
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of “ROOT\SYSTEM\0003”.
#E360 An unsigned or incorrectly signed file “c:\vbus\objchk_wxp_x86
\i386\vbus.inf” for driver “VBus Enumerator” will be installed
(Policy=Ignore). Error 0xe000022f: The third-party INF does not
contain
digital signature information.
#I121 Device install of “ROOT\SYSTEM\0003” finished successfully.
[2009/10/23 10:35:10 3896.91]
#-199 Executing “C:\WinDDK\7600.16385.0\tools\devcon\i386\devcon.exe”
with command line: devcon remove root\vbus
#-166 Device install function: DIF_REMOVE.
#I289 Removing device “ROOT\SYSTEM\0003”.
#I048 Device removed.


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


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


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

Peter W. Morreale wrote:

I’m attempting to install a (heavily) modified toaster bus driver for
the first time on XP. It fails with the following errors in \windows
\setupapi.log. Can someone please take a look and offer some advice?

I started with the kmdf toaster example and modified both the source as
well as the .inx. I did create new guids for the driver as well.

Is there some other log file I need to look at as well?

#-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
\WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
\WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.

Error 2 is ERROR_FILE_NOT_FOUND. Did you, in fact, copy
WdfCoInstaller01009.dll to your objchk_wxp_x86\i386 directory?

I’m always surprised when I see something like this. I would never
consider installing a driver directly from my build output directory, in
part because that directory then gets recorded as a driver install
source. It has always seemed better to me to copy the build results to
a “test install” directory somewhere else. That way, when it works, I
can just zip up that whole directory to ship it to my customers.

Also, I almost never test drivers on the same machine where I develop
them. I’m good, but I’m not that good, and I don’t want my development
machine crashing unexpectedly…


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

On Wed, 2009-10-28 at 10:26 -0700, Tim Roberts wrote:

Peter W. Morreale wrote:
> I’m attempting to install a (heavily) modified toaster bus driver for
> the first time on XP. It fails with the following errors in \windows
> \setupapi.log. Can someone please take a look and offer some advice?
>
> I started with the kmdf toaster example and modified both the source as
> well as the .inx. I did create new guids for the driver as well.
>
> Is there some other log file I need to look at as well?
> …
> #-175 SPFILENOTIFY_COPYERROR: Source = “c:\vbus\objchk_wxp_x86\i386
> \WdfCoInstaller01009.dll”, Target = “C:\WINDOWS\system32
> \WdfCoInstaller01009.dll”, Flags = 0x00000000, Error = 0x00000002.
>

Error 2 is ERROR_FILE_NOT_FOUND. Did you, in fact, copy
WdfCoInstaller01009.dll to your objchk_wxp_x86\i386 directory?

I did not. Just changed my logistics regarding dev and completely
forgot about this. Still on the up-slope of the learning curve wrt
Windows dev.

I’m always surprised when I see something like this. I would never
consider installing a driver directly from my build output directory, in
part because that directory then gets recorded as a driver install
source. It has always seemed better to me to copy the build results to
a “test install” directory somewhere else. That way, when it works, I
can just zip up that whole directory to ship it to my customers.

Also, I almost never test drivers on the same machine where I develop
them. I’m good, but I’m not that good, and I don’t want my development
machine crashing unexpectedly…

Excellent idea. As I was to the point of getting serious about
development, I changed my environment to maintain all src on a Linux
server export.

My ‘machine’ is a merely a kvm image running on a Linux host - should I
trash the machine, I merely delete that image and use a backup copy.

Best,
-PWM