none
why umdf install failed in the win8 CP RRS feed

  • 问题

  • I use vs2011 create a new umdf driver in the win8 CP, but install failed.  But in the win8 build 8102, I can install success.

    below is log:

    [Device Install Log]
         OS Version = 6.2.8250
         Service Pack = 0.0
         Suite = 0x0100
         ProductType = 1
         Architecture = amd64

    [BeginLog]

    [Boot Session: 2012/03/13 17:54:44.498]

    >>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - Root\umdf]
    >>>  Section start 2012/03/14 11:25:09.338
          cmd: devcon.exe  install umdf.inf Root\umdf
         dvi: {Build Driver List} 11:25:09.345
         dvi:      Searching for hardware ID(s):
         dvi:           root\umdf
         cpy:      Policy is set to make all digital signatures equal.
         sig:      {_VERIFY_FILE_SIGNATURE} 11:25:09.368
         sig:           Key      = umdf.inf
         sig:           FilePath = d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf
         sig:           Catalog  = d:\work\umdf\x64\win8betadebug\umdf package\umdf.cat
    !    sig:           Verifying file against specific (valid) catalog failed! (0x800b0109)
    !    sig:           Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:      {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 11:25:09.479
         sig:      {_VERIFY_FILE_SIGNATURE} 11:25:09.481
         sig:           Key      = umdf.inf
         sig:           FilePath = d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf
         sig:           Catalog  = d:\work\umdf\x64\win8betadebug\umdf package\umdf.cat
    !    sig:           Verifying file against specific Authenticode(tm) catalog failed! (0x800b0109)
    !    sig:           Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:      {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 11:25:09.496
         dvi:      Created Driver Node:
         dvi:           HardwareID   - Root\umdf
         dvi:           InfName      - d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf
         dvi:           DevDesc      - umdf Device
         dvi:           Section      - MyDevice_Install.NT
         dvi:           Rank         - 0x80ff0000
         dvi:           Signer Score - Not digitally signed
         dvi:           DrvDate      - 03/13/2012
         dvi:           Version      - 6.2.8250.0
         dvi: {Build Driver List - exit(0x00000000)} 11:25:09.513
         dvi: {DIF_SELECTBESTCOMPATDRV} 11:25:09.514
         dvi:      No class installer for '未知驱动程序软件程序包'
         dvi:      No CoInstallers found
         dvi:      Default installer: Enter 11:25:09.519
         dvi:           {Select Best Driver}
         dvi:                Class GUID of device changed to: {78a1c341-4539-11d3-b88d-00c04fad5171}.
         dvi:                Selected:
         dvi:                     Description - [umdf Device]
         dvi:                     InfFile     - [d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf]
         dvi:                     Section     - [MyDevice_Install]
         dvi:           {Select Best Driver - exit(0x00000000)}
         dvi:      Default installer: Exit
         dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 11:25:09.532
         inf: {SetupCopyOEMInf: d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf} 11:25:09.570
         sto:      {Import Driver Package: d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf} 11:25:09.574
         sto:           Driver Store   = C:\Windows\System32\DriverStore [Online] (6.2.8250)
         sto:           Driver Package = d:\work\umdf\x64\win8betadebug\umdf package\umdf.inf
         sto:           Architecture   = amd64
         sto:           Flags          = 0x00000000
         inf:           Class GUID     = {78a1c341-4539-11d3-b88d-00c04fad5171}
         inf:           Driver Version = 03/13/2012,6.2.8250.0
         inf:           Catalog File   = umdf.cat
         inf:           Version Flags  = 0x00000011
         flq:           Copying 'd:\work\umdf\x64\win8betadebug\umdf package\WudfUpdate_01011.dll' to 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\WudfUpdate_01011.dll'.
         flq:           Copying 'd:\work\umdf\x64\win8betadebug\umdf package\umdf.cat' to 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.cat'.
         flq:           Copying 'd:\work\umdf\x64\win8betadebug\umdf package\umdf.dll' to 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.dll'.
         flq:           Copying 'd:\work\umdf\x64\win8betadebug\umdf package\umdf.inf' to 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.inf'.
         pol:           {Driver package policy check} 11:25:09.974
         pol:           {Driver package policy check - exit(0x00000000)} 11:25:09.974
         sto:           {Stage Driver Package: C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.inf} 11:25:09.975
         inf:                {Query Configurability: C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.inf} 11:25:09.980
         inf:                     Driver package 'umdf.inf' is configurable.
         inf:                {Query Configurability: exit(0x00000000)} 11:25:09.984
         flq:                Copying 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\WudfUpdate_01011.dll' to 'C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\WudfUpdate_01011.dll'.
         flq:                Copying 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.cat' to 'C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.cat'.
         flq:                Copying 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.dll' to 'C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.dll'.
         flq:                Copying 'C:\Users\zzheng\AppData\Local\Temp\{1f2197c7-211c-2343-853a-82430f59c500}\umdf.inf' to 'C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.inf'.
         sto:                {DRIVERSTORE IMPORT VALIDATE} 11:25:10.129
         sig:                     {_VERIFY_FILE_SIGNATURE} 11:25:10.136
         sig:                          Key      = umdf.inf
         sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.inf
         sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.cat
    !    sig:                          Verifying file against specific (valid) catalog failed! (0x800b0109)
    !    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 11:25:10.146
         sig:                     {_VERIFY_FILE_SIGNATURE} 11:25:10.146
         sig:                          Key      = umdf.inf
         sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.inf
         sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{29b44f77-e732-3840-b996-951ef00a034a}\umdf.cat
    !    sig:                          Verifying file against specific Authenticode(tm) catalog failed! (0x800b0109)
    !    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
         sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 11:25:10.149
    !!!  sig:                     Driver package catalog file certificate does not belong to Trusted Root Certificates, and Code Integrity is enforced.
    !!!  sig:                     Driver package failed signature validation. Error = 0xE0000247
         sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0xe0000247)} 11:25:10.150
    !!!  sig:                Driver package failed signature verification. Error = 0xE0000247
    !!!  sto:                Failed to import driver package into Driver Store. Error = 0xE0000247
         sto:           {Stage Driver Package: exit(0xe0000247)} 11:25:10.168
         sto:      {Import Driver Package: exit(0xe0000247)} 11:25:10.193
    !!!  inf:      Failed to import driver package into driver store
    !!!  inf:      Error 0xe0000247: A problem was encountered while attempting to add the driver to the store.
         inf: {SetupCopyOEMInf exit (0xe0000247)} 11:25:10.321
    !!!  ndv: Driver Package import failed for new device...installing NULL driver.
    !!!  ndv: Error 0xe0000247: A problem was encountered while attempting to add the driver to the store.
         dvi: {Plug and Play Service: Device Install for ROOT\SAMPLE\0000}
    !    ndv:      Installing NULL driver!
         dvi:      {DIF_ALLOW_INSTALL} 11:25:10.349
         dvi:           No class installer for '未知驱动程序软件程序包'
         dvi:           No CoInstallers found
         dvi:           Default installer: Enter 11:25:10.350
         dvi:           Default installer: Exit
         dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 11:25:10.351
         dvi:      {DIF_REGISTER_COINSTALLERS} 11:25:10.351
         dvi:           No class installer for '未知驱动程序软件程序包'
         dvi:           Default installer: Enter 11:25:10.369
         dvi:           Default installer: Exit
         dvi:      {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 11:25:10.370
         dvi:      {DIF_INSTALLDEVICE} 11:25:10.370
         dvi:           No class installer for '未知驱动程序软件程序包'
         dvi:           No CoInstallers found
         dvi:           Default installer: Enter 11:25:10.371
    !    dvi:                Installing NULL driver!
         dvi:                Install Device: Restarting device. 11:25:10.443
         dvi:                Install Device: Restarting device completed. 11:25:10.528
         dvi:           Default installer: Exit
         dvi:      {DIF_INSTALLDEVICE - exit(0x00000000)} 11:25:10.528
         ump: {Plug and Play Service: Device Install exit(00000000)}
    <<<  Section end 2012/03/14 11:25:10.532
    <<<  [Exit status: SUCCESS]

     

    2012年3月13日 3:55

答案

  • 应该是驱动程序没有数字签名的问题。

    是x64系统吗? 建议使用sysdev网站的测试签名试一下。


    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com

    2012年4月13日 9:43
    版主

全部回复

  • I use VS2011 create a umdf in win8 CP and build OK. But when i install the umdf driver, devcon.exe return a error. Why?

    Note: the same operation is OK in the preview build 8102.

    2012年3月13日 2:27
  • 似乎就是没有数字签名造成的。

    是在x64下安装吗?

    可以在sysdev网站上申请测试签名,再试一试。


    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com

    2012年4月13日 9:31
    版主
  • 应该是驱动程序没有数字签名的问题。

    是x64系统吗? 建议使用sysdev网站的测试签名试一下。


    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com

    2012年4月13日 9:43
    版主