smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

netuio driver shows warning when loaded #3

Open williamtu opened 3 years ago

williamtu commented 3 years ago

Screen Shot 2021-06-22 at 8 49 36 PM

Screen Shot 2021-06-23 at 5 49 08 AM

Property shows PCI Slot 224 (PCI bus 19, device 0, function 0) This device cannot start. (Code 10) The I/O device is configured incorrectly or the configuration parameters to the driver are incorrect.

williamtu commented 3 years ago

From Dmitry No, this is not OK, device manager must not show a warning sign. Please open its properties and send the status message text. Also please locate setupapi.log in C:/Windows and send it, too.

williamtu commented 3 years ago

setupapi.dev.log

>>>  [SetupCopyOEMInf - C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.inf]
>>>  Section start 2021/06/22 19:53:31.451
      cmd: "C:\Windows\system32\pnputil.exe" /add-driver .\x64\Debug\netuio\netuio.inf /install
     inf: Copy style: 0x00000000
     sto: {Setup Import Driver Package: C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.inf} 19:53:31.496
     inf:      Provider: Vendor
     inf:      Class GUID: {78912BC1-CB8E-4B28-A329-F322EBADBE0F}
     inf:      Driver Version: 06/22/2021,0.6.1.0
     inf:      Catalog File: netuio.cat
     sto:      {Copy Driver Package: C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.inf} 19:53:31.504
     sto:           Driver Package = C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.inf
     sto:           Flags          = 0x00000007
     sto:           Destination    = C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}
     sto:           Copying driver package files to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}'.
     flq:           Copying 'C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.inf' to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.inf'.
     flq:           Copying 'C:\dpdk-kmods\windows\netuio\x64\Debug\netuio\netuio.sys' to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.sys'.
     sto:      {Copy Driver Package: exit(0x00000000)} 19:53:31.567
     pol:      {Driver package policy check} 19:53:31.583
     pol:      {Driver package policy check - exit(0x00000000)} 19:53:31.584
     sto:      {Stage Driver Package: C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.inf} 19:53:31.585
     inf:           {Query Configurability: C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.inf} 19:53:31.590
     inf:                Driver package 'netuio.inf' is configurable.
     inf:           {Query Configurability: exit(0x00000000)} 19:53:31.593
     flq:           Copying 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.inf' to 'C:\Windows\System32\DriverStore\Temp\{f49216f7-ef3d-9b46-8f60-b71a9e93cfe2}\netuio.inf'.
     flq:           Copying 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{8208d8f8-adf6-b34c-8791-2978b6c96c38}\netuio.sys' to 'C:\Windows\System32\DriverStore\Temp\{f49216f7-ef3d-9b46-8f60-b71a9e93cfe2}\netuio.sys'.
     sto:           {DRIVERSTORE IMPORT VALIDATE} 19:53:31.623
!!!  sig:                Driver package does not contain a catalog file, and Code Integrity is in Test Signing mode.
!!!  sig:                Driver package failed signature validation. Error = 0xE000022F
     sto:           {DRIVERSTORE IMPORT VALIDATE: exit(0xe000022f)} 19:53:31.626
!!!  sig:           Driver package failed signature verification. Error = 0xE000022F
!!!  sto:           Failed to import driver package into Driver Store. Error = 0xE000022F
     sto:      {Stage Driver Package: exit(0xe000022f)} 19:53:31.629
     sto: {Setup Import Driver Package - exit (0xe000022f)} 19:53:31.632
!!!  inf: Failed to import driver package into driver store
!!!  inf: Error 0xe000022f: The third-party INF does not contain digital signature information.
<<<  Section end 2021/06/22 19:53:31.865
<<<  [Exit status: FAILURE(0xe000022f)]
williamtu commented 3 years ago

now the netuio driver is signed, but still shows warning


>>>  [SetupCopyOEMInf - C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.inf]
>>>  Section start 2021/06/23 19:45:18.587
      cmd: "C:\Windows\system32\pnputil.exe" /add-driver .\netuio\x64\Release\netuio\netuio\netuio.inf /install
     inf: Copy style: 0x00000000
     sto: {Setup Import Driver Package: C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.inf} 19:45:18.602
     inf:      Provider: Vendor
     inf:      Class GUID: {78912BC1-CB8E-4B28-A329-F322EBADBE0F}
     inf:      Driver Version: 06/23/2021,0.6.1.0
     inf:      Catalog File: netuio.cat
     sto:      {Copy Driver Package: C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.inf} 19:45:18.602
     sto:           Driver Package = C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.inf
     sto:           Flags          = 0x00000007
     sto:           Destination    = C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}
     sto:           Copying driver package files to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}'.
     flq:           Copying 'C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.cat' to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.cat'.
     flq:           Copying 'C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.inf' to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.inf'.
     flq:           Copying 'C:\dpdk-kmods\windows\netuio\x64\Release\netuio\netuio\netuio.sys' to 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.sys'.
     sto:      {Copy Driver Package: exit(0x00000000)} 19:45:18.681
     pol:      {Driver package policy check} 19:45:18.696
     pol:      {Driver package policy check - exit(0x00000000)} 19:45:18.696
     sto:      {Stage Driver Package: C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.inf} 19:45:18.696
     inf:           {Query Configurability: C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.inf} 19:45:18.712
     inf:                Driver package 'netuio.inf' is configurable.
     inf:           {Query Configurability: exit(0x00000000)} 19:45:18.712
     flq:           Copying 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.cat' to 'C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.cat'.
     flq:           Copying 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.inf' to 'C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.inf'.
     flq:           Copying 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{90f48ab3-ccb3-3b49-b843-da2c9fce1e5e}\netuio.sys' to 'C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.sys'.
     sto:           {DRIVERSTORE IMPORT VALIDATE} 19:45:18.743
     sig:                {_VERIFY_FILE_SIGNATURE} 19:45:18.759
     sig:                     Key      = netuio.inf
     sig:                     FilePath = C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.inf
     sig:                     Catalog  = C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.cat
!    sig:                     Verifying file against specific (valid) catalog failed.
!    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)} 19:45:18.774
     sig:                {_VERIFY_FILE_SIGNATURE} 19:45:18.774
     sig:                     Key      = netuio.inf
     sig:                     FilePath = C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.inf
     sig:                     Catalog  = C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}\netuio.cat
!    sig:                     Verifying file against specific Authenticode(tm) catalog failed.
!    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)} 19:45:18.774
!    sig:                Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
     sto:           {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 19:45:21.055
     sig:           Signer Score  = 0x80000000 (Unsigned)
     sto:           {DRIVERSTORE IMPORT BEGIN} 19:45:21.055
     bak:                Create system restore point:
     bak:                     Description = Device Driver Package Install: Vendor Windows UIO
     bak:                     Time        = 0ms
     bak:                     Status      = 0x8007007E (FAILURE)
     sto:           {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 19:45:21.071
     cpy:           {Copy Directory: C:\Windows\System32\DriverStore\Temp\{eb743cae-ee22-574f-bb36-9a859aa817a3}} 19:45:21.071
     cpy:                Target Path = C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55
     cpy:           {Copy Directory: exit(0x00000000)} 19:45:21.071
     idb:           {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf} 19:45:21.071
     idb:                Created driver package object 'netuio.inf_amd64_57e293cbdc2e0a55' in DRIVERS database node.
     idb:                Created driver INF file object 'oem10.inf' in DRIVERS database node.
     idb:                Registered driver package 'netuio.inf_amd64_57e293cbdc2e0a55' with 'oem10.inf'.
     idb:           {Register Driver Package: exit(0x00000000)} 19:45:21.087
     idb:           {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf} 19:45:21.087
     idb:                Activating driver package 'netuio.inf_amd64_57e293cbdc2e0a55'.
     cpy:                Published 'netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf' to 'oem10.inf'.
     idb:                Indexed 24 device IDs for 'netuio.inf_amd64_57e293cbdc2e0a55'.
     sto:                Flushed driver database node 'DRIVERS'. Time = 0 ms
     sto:                Flushed driver database node 'SYSTEM'. Time = 0 ms
     idb:           {Publish Driver Package: exit(0x00000000)} 19:45:21.102
     sto:           {DRIVERSTORE IMPORT END} 19:45:21.102
     dvi:                Flushed all driver package files to disk. Time = 0 ms
     sig:                Installed catalog 'netuio.cat' as 'oem10.cat'.
     sto:           {DRIVERSTORE IMPORT END: exit(0x00000000)} 19:45:21.118
     sto:      {Stage Driver Package: exit(0x00000000)} 19:45:21.134
     sto: {Setup Import Driver Package - exit (0x00000000)} 19:45:21.134
     inf: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf
     inf: Published Inf Path: C:\Windows\INF\oem10.inf
<<<  Section end 2021/06/23 19:45:21.134
<<<  [Exit status: SUCCESS]

>>>  [Device Install (DiInstallDriver) - C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf]
>>>  Section start 2021/06/23 19:45:21.149
      cmd: "C:\Windows\system32\pnputil.exe" /add-driver .\netuio\x64\Release\netuio\netuio\netuio.inf /install
     ndv: Flags: 0x00000000
     ndv: INF path: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf
     inf: {SetupCopyOEMInf: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf} 19:45:21.149
     inf:      Copy style: 0x00000000
     inf:      Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\netuio.inf_amd64_57e293cbdc2e0a55\netuio.inf
     inf:      Published Inf Path: C:\Windows\INF\oem10.inf
     inf: {SetupCopyOEMInf exit (0x00000000)} 19:45:21.149
<<<  Section end 2021/06/23 19:45:21.165
<<<  [Exit status: SUCCESS]
williamtu commented 3 years ago

enable debug log

PS C:\dpdk\build2\examples> .\dpdk-l2fwd.exe --log-level=*:8

EAL: lib.eal log level changed from info to debug EAL: lib.malloc log level changed from info to debug EAL: lib.ring log level changed from info to debug EAL: lib.mempool log level changed from info to debug EAL: lib.timer log level changed from info to debug EAL: pmd log level changed from info to debug EAL: lib.hash log level changed from info to debug EAL: lib.lpm log level changed from info to debug EAL: lib.kni log level changed from info to debug EAL: lib.acl log level changed from info to debug EAL: lib.power log level changed from info to debug EAL: lib.meter log level changed from info to debug EAL: lib.sched log level changed from info to debug EAL: lib.port log level changed from info to debug EAL: lib.table log level changed from info to debug EAL: lib.pipeline log level changed from info to debug EAL: lib.mbuf log level changed from info to debug EAL: lib.cryptodev log level changed from info to debug EAL: lib.efd log level changed from info to debug EAL: lib.eventdev log level changed from info to debug EAL: lib.gso log level changed from info to debug EAL: user1 log level changed from info to debug EAL: user2 log level changed from info to debug EAL: user3 log level changed from info to debug EAL: user4 log level changed from info to debug EAL: user5 log level changed from info to debug EAL: user6 log level changed from info to debug EAL: user7 log level changed from info to debug EAL: user8 log level changed from info to debug EAL: pmd.net.vmxnet3.driver log level changed from notice to debug EAL: pmd.net.vmxnet3.init log level changed from notice to debug EAL: pmd.net.ice.driver log level changed from notice to debug EAL: pmd.net.ice.init log level changed from notice to debug EAL: pmd.net.i40e.driver log level changed from notice to debug EAL: pmd.net.i40e.init log level changed from notice to debug EAL: bus.vdev log level changed from notice to debug EAL: pmd.common.iavf log level changed from notice to debug EAL: lib.rcu log level changed from error to debug EAL: lib.net log level changed from info to debug EAL: lib.ethdev log level changed from info to debug EAL: lib.cfgfile log level changed from info to debug EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process support is requested, but not available. EAL: Found 3013 hugepages of 2097152 bytes on socket 0 EAL: Found virt2phys device: \?\root#kernel_bypass#0000#{539c2135-793a-4926-afec-d3a1b61bbc8a} EAL: Ask a virtual area of 0x2e000 bytes EAL: Virtual area found at 00000000001c0000 (size = 0x2e000) EAL: Setting up physically contiguous memory... EAL: Detected memory type: socket_id:0 hugepage_sz:2097152 EAL: Creating 4 segment lists: n_segs:8192 socket_id:0 hugepage_sz:2097152 EAL: Ask a virtual area of 0x61000 bytes EAL: Virtual area found at 00000000026f0000 (size = 0x61000) EAL: Memseg list allocated at socket 0, page size 0x800kB EAL: Ask a virtual area of 0x400000000 bytes EAL: Virtual area found at 0000000080000000 (size = 0x400000000) EAL: VA reserved for memseg list at 0000000080000000, size 400000000 EAL: Ask a virtual area of 0x61000 bytes EAL: Virtual area found at 0000000002760000 (size = 0x61000) EAL: Memseg list allocated at socket 0, page size 0x800kB EAL: Ask a virtual area of 0x400000000 bytes EAL: Virtual area found at 0000000480000000 (size = 0x400000000) EAL: VA reserved for memseg list at 0000000480000000, size 400000000 EAL: Ask a virtual area of 0x61000 bytes EAL: Virtual area found at 00000000027d0000 (size = 0x61000) EAL: Memseg list allocated at socket 0, page size 0x800kB EAL: Ask a virtual area of 0x400000000 bytes EAL: Virtual area found at 0000000880000000 (size = 0x400000000) EAL: VA reserved for memseg list at 0000000880000000, size 400000000 EAL: Ask a virtual area of 0x61000 bytes EAL: Virtual area found at 0000000002840000 (size = 0x61000) EAL: Memseg list allocated at socket 0, page size 0x800kB EAL: Ask a virtual area of 0x400000000 bytes EAL: Virtual area found at 0000000c80000000 (size = 0x400000000) EAL: VA reserved for memseg list at 0000000c80000000, size 400000000 EAL: Windows: register_mp_requests() is a stub EAL: WARNING: TSC frequency estimated roughly - clock timings may be less accurate. EAL: TSC frequency is ~2910000 KHz EAL: rte_mp_action_register() is not implemented EAL: GetLastError()=259: SetupDiEnumDeviceInterfaces: no device interface EAL: Could not retrieve device info for PCI device 0000:13:00.0EAL: PCI scan found 3 devices EAL: Windows: request_sync() is a stub EAL: Heap on socket 0 was expanded by 2MB EAL: lcore 2 is ready (tid=1af4;cpuset=[]) EAL: lcore 3 is ready (tid=3e8;cpuset=[]) EAL: lcore 1 is ready (tid=80;cpuset=[]) EAL: PCI device 0000:1b:00.0 on NUMA socket 0 EAL: probe driver: 15ad:7b0 net_vmxnet3 EAL: Requested device 0000:1b:00.0 cannot be used MAC updating enabled EAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye PS C:\dpdk\build2\examples>

CP3164094 commented 1 year ago

So,how to dealwith this question?Sorry,i am a green hand.Can u help me detailed?Thank u

CP3164094 commented 1 year ago

image

image

CP3164094 commented 1 year ago

I need help.3q