V
vv75vv
Guest
To replicate my issue clean, I tried with ndislwf from WDK samples.
My dev machine is Win7-64, test target machine Win10 (insider previews from the fast ring). Both 64bit. Visual studio 2019 Preview 4, latest 18342 Insider WDK and SDK.
Provisioning goes fine except creating a restore point at the very end. I thought it is sufficient, then tried to deploy the wdk's ndislwf to the target.
I get the following in Visual Studio:
Deploying driver files for project "C:\Users\vv\workspace\passthru\ndislwf.vcxproj". Deployment may take a few minutes...
[12:51:58:078]: Remove Existing Remote Package
[12:51:58:388]: Task "Remove Existing Remote Package" completed successfully
[12:51:58:399]: Copy Driver Package
[12:51:59:706]: Task "Copy Driver Package" completed successfully
[12:51:59:711]: Driver Removal
[12:51:59:711]: Removing any existing files from test execution folder.
[12:52:00:022]: Copying required files for "Driver Removal".
[12:52:04:488]: [Driver Removal] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverRemoval'" /p:"InfFile=netlwf.inf" /p:"ImportDriver=1" /p:"RemoveDriver=1" /p:"CertificateFile=ndislwf.cer" /p:"PackageGuid=x64" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Removal_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:14:592]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:14:593]: Task "Driver Removal" completed successfully
[12:53:15:052]: Driver Preparation
[12:53:15:053]: Removing any existing files from test execution folder.
[12:53:15:366]: Copying required files for "Driver Preparation".
[12:53:20:010]: [Driver Preparation] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverPreparation'" /p:"InfFile=netlwf.inf" /p:"ImportDriver=1" /p:"RemoveDriver=1" /p:"CertificateFile=ndislwf.cer" /p:"PackageGuid=x64" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Preparation_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:25:099]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:25:100]: Task "Driver Preparation" completed successfully
[12:53:25:551]: Default Driver Package Installation Task
[12:53:25:551]: Removing any existing files from test execution folder.
[12:53:25:861]: Copying required files for "Default Driver Package Installation Task".
[12:53:30:290]: [Default Driver Package Installation Task] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DefaultDriverPackageInstallationTask.dll" /select:"@Name='Microsoft.DriverKit.DefaultDriverPackageInstallationClass.PerformDefaultDriverPackageInstallation'" /p:"AbsoluteDriverPackagePath=%SystemDrive%\DriverTest\Drivers\netlwf.inf" /p:"DQ=%SystemDrive%\DriverTest\Drivers\netlwf.inf" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Default_Driver_Package_Installation_Task_00017.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:35:244]: Result Summary: Total=2, Passed=0, Failed=2, Blocked=0, Warned=0, Skipped=0
[12:53:35:245]: ERROR: Task "Default Driver Package Installation Task" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
[12:53:35:742]: Driver Post Install Actions
[12:53:35:742]: Removing any existing files from test execution folder.
[12:53:36:070]: Copying required files for "Driver Post Install Actions".
[12:53:40:581]: [Driver Post Install Actions] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverPostInstall'" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Post_Install_Actions_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:43:226]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:43:227]: Task "Driver Post Install Actions" completed successfully
Driver Deployment Task Failed: Default Driver Package Installation Task
On the remote machine, by the last run script, in red, it says something along the lines of "hardware not found" error, and disappears quickly so i cannot capture it.
Q: how to correctly deploy a NDIS LWF for debugging? The required hardware is obviously in place (two NICs on the remote: the usual LAN and one local with the dev machine).
Continue reading...
My dev machine is Win7-64, test target machine Win10 (insider previews from the fast ring). Both 64bit. Visual studio 2019 Preview 4, latest 18342 Insider WDK and SDK.
Provisioning goes fine except creating a restore point at the very end. I thought it is sufficient, then tried to deploy the wdk's ndislwf to the target.
I get the following in Visual Studio:
Deploying driver files for project "C:\Users\vv\workspace\passthru\ndislwf.vcxproj". Deployment may take a few minutes...
[12:51:58:078]: Remove Existing Remote Package
[12:51:58:388]: Task "Remove Existing Remote Package" completed successfully
[12:51:58:399]: Copy Driver Package
[12:51:59:706]: Task "Copy Driver Package" completed successfully
[12:51:59:711]: Driver Removal
[12:51:59:711]: Removing any existing files from test execution folder.
[12:52:00:022]: Copying required files for "Driver Removal".
[12:52:04:488]: [Driver Removal] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverRemoval'" /p:"InfFile=netlwf.inf" /p:"ImportDriver=1" /p:"RemoveDriver=1" /p:"CertificateFile=ndislwf.cer" /p:"PackageGuid=x64" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Removal_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:14:592]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:14:593]: Task "Driver Removal" completed successfully
[12:53:15:052]: Driver Preparation
[12:53:15:053]: Removing any existing files from test execution folder.
[12:53:15:366]: Copying required files for "Driver Preparation".
[12:53:20:010]: [Driver Preparation] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverPreparation'" /p:"InfFile=netlwf.inf" /p:"ImportDriver=1" /p:"RemoveDriver=1" /p:"CertificateFile=ndislwf.cer" /p:"PackageGuid=x64" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Preparation_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:25:099]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:25:100]: Task "Driver Preparation" completed successfully
[12:53:25:551]: Default Driver Package Installation Task
[12:53:25:551]: Removing any existing files from test execution folder.
[12:53:25:861]: Copying required files for "Default Driver Package Installation Task".
[12:53:30:290]: [Default Driver Package Installation Task] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DefaultDriverPackageInstallationTask.dll" /select:"@Name='Microsoft.DriverKit.DefaultDriverPackageInstallationClass.PerformDefaultDriverPackageInstallation'" /p:"AbsoluteDriverPackagePath=%SystemDrive%\DriverTest\Drivers\netlwf.inf" /p:"DQ=%SystemDrive%\DriverTest\Drivers\netlwf.inf" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Default_Driver_Package_Installation_Task_00017.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:35:244]: Result Summary: Total=2, Passed=0, Failed=2, Blocked=0, Warned=0, Skipped=0
[12:53:35:245]: ERROR: Task "Default Driver Package Installation Task" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
[12:53:35:742]: Driver Post Install Actions
[12:53:35:742]: Removing any existing files from test execution folder.
[12:53:36:070]: Copying required files for "Driver Post Install Actions".
[12:53:40:581]: [Driver Post Install Actions] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_DriverPostInstall'" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Post_Install_Actions_00020.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[12:53:43:226]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
[12:53:43:227]: Task "Driver Post Install Actions" completed successfully
Driver Deployment Task Failed: Default Driver Package Installation Task
On the remote machine, by the last run script, in red, it says something along the lines of "hardware not found" error, and disappears quickly so i cannot capture it.
Q: how to correctly deploy a NDIS LWF for debugging? The required hardware is obviously in place (two NICs on the remote: the usual LAN and one local with the dev machine).
Continue reading...