A few questions about DTM tests on an FX2-sample based umdf driver.
The tests I run are the 7 driver reliability tests (premium).
Two of them fail:
- “Common Scenario Stress with IO” – when the device is disabled and then enabled, the system sometimes hangs. If Selective Suspend is disabled, it does not hang.
- “Plug and Play Driver test” – “Run Remove PNPD test” (also “Surprise” and “Rebalance”) – fails because “Checking DeviceID String” results in “Device string is NULL”. I don’t know if I need to add something in the driver’s code, inf or in the firmware, or maybe it’s a DTM issue, because in the previous version of the DTM I had this issue too, I installed the QFE011 and QFE015 updates, and it disappeared. I can’t install these updates on the latest DTM (from WLK 1c) because they are incompatible (also, I would assume these updates are built-in in the latest release).
Any ideas what could be causing these issues and how to resolve them?
Thanks,
Gadi
Hello,
I am also facing the same issue as “Plug and Play Driver test” ??? “Run Remove PNPD test” (also “Surprise” and “Rebalance”) fails when I tried running DTM for my RNDIS enabled USB device. The host side RNDIS driver is the same there in system32/drivers of XP machine.
The error says like “Task is Marked Failed as it had non-zero Fail Counts in the LogFile” in the “View Errors” option and “Device string is NULL” in the “View Task Log” option.
Could you please enlighten me with some idea how I can resolve this issue and where I can find the QFE011 and QFE015 updates.
Thanks for your help…
Regards,
Joji
Gadi,
Could you provide me with more information related to #1. What test application does “Common Scenario Stress with IO” job invoke. If you can give me some more information I can look into it.
PnPd test complaints “Device string is NULL” if the “/device” parameter is not passed to PnPdtest.exe. If you can pass this parameter over from DTM you should be able to go past this. If you would like to get more information related to this run “pnpdtest.exe /?” from your WDK installation under “tools\pnpdtest” .
Joji,
You are probably seeing the error in DTM because of the same reason as above- missing “/device” parameter.
Hope that helps.
Thanks for the reply.
I’ve run it locally, and the test passes.
Now I need to know how to run it from the server.
The thing is that the “Device Instance Path” is different from one machine to another, so I don’t know if setting a parameter in the server will resolve the issue.
To make my questions clear:
- Was I missing something when I built the “New Submission”? Or maybe my inf is missing something?
- How can the /device parameter be entered into the default cmd line of the DTM server? Where do I add this parameter in the DTM studio?
- What’s common with all systems running the test is the “USB\VID_XXXX_&PID_XXXX”. If I put this parameter as is (or with &MI_XX for a specific interface) , I get a “Device not found” failure. Only if I put the full “Device Instance Path” (USB\VID_XXXX&PID_XXXX_&MI_XX\y&yyyyyyyy&yyyy) the device is found and the test passes. But the device instance path is different from one machine to another. So what should be the parameter?
Thanks,
Gadi
Addition -
When I prepare a new submission, after I load the inf, I get an error message saying “No devices using the specified driver were found in the machine pool. Running jobs with no with no devices will most likely result in failure. Continue…?”.
All tests pass besides pnp, with the problem specified above.
The infs install the device ok, but I guess there is a corrlation between this error message and the device ID being NULL.
I can’t change the tests of the DTM, because then the submission won’t be valid, and on the other hand, they do pass when I run them manually (with the full instance path) on the client.
Also, when I open the PnPDTest UI, I see that my device, in the STATUS_INFORMATION, “reports false information”.
What could be the cause of this? Is something missing\wrong with the inf?
I did a passing submission with the previous version of the DTM. Could this be a DTM issue? Maybe the DTM is not parsing the inf correctly?
Thanks,
Gadi
----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Tuesday, July 31, 2007 8:47 AM
Subject: RE:[ntdev] DTM on UMDF driver questions
> Addition -
> When I prepare a new submission, after I load the inf, I get an error
> message saying “No devices using the specified driver were found in the
> machine pool. Running jobs with no with no devices will most likely result
> in failure. Continue…?”.
Sometimes it happens to me too. The workaround I use is closing DTM studio,
reopening it and reloading the previously created submission. In the left
pane of the device console if the device under test is associated with a
machine (i.e. it tells you “DeviceName (MachineWithTheDeviceInstalled)”),
then the tests will run properly.
Hope it helps
GV
–
Gianluca Varenni, Windows DDK MVP
CACE Technologies
http://www.cacetech.com
> All tests pass besides pnp, with the problem specified above.
> The infs install the device ok, but I guess there is a corrlation between
> this error message and the device ID being NULL.
> I can’t change the tests of the DTM, because then the submission won’t be
> valid, and on the other hand, they do pass when I run them manually (with
> the full instance path) on the client.
> Also, when I open the PnPDTest UI, I see that my device, in the
> STATUS_INFORMATION, “reports false information”.
> What could be the cause of this? Is something missing\wrong with the inf?
> I did a passing submission with the previous version of the DTM. Could
> this be a DTM issue? Maybe the DTM is not parsing the inf correctly?
>
> Thanks,
> Gadi
>
> —
> 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
Thanks!
I have managed to create a submission without the inf problem,
but now I encounter 2 other issues:
- After the second restart, the device “Cannot Start - Code 10”, and the tests fail.
To resolve this, i’ve uninstalled it and installed it again before the tests run.
This time most of the tests passed, besides the last one - Rebalance PNPD.
And this is the second issue:
- This one got the error “Timeout occured - atleast one of the IRPs didn’t complete on time”.
About issue number one - does it has anything to do with the new DTM or premium submission? Because my driver passed basic submission with the old DTM.
And is there a way to avoid the workaround?
About the second issue: what could be causing it? How can it be resolved?
Thanks,
Gadi
Hi,
Thanks Shyamal for your reply and help.
I was trying to run the PNPD test directly from DTM client machine, especially PnpdRemoveTest.
My device is a RNDIS USB device and I am using already existing RNDIS driver at the host side by customising the INF file.
Now I am seeing the behavior of the pnpd as its waiting for long time and not getting finished with its process.
Since I am a beginner in DDK and host side RNDIS driver code is not available, I am not able to debug this from the host side.
Also, I am not able to see any further packet exchange in the USB analyser after I receive REMOTE_NDIS_HALT_MSG and a few packets.
Could you please help me out in finding this?
Regards,
Joji
This is definitely not my thing, as I try to avoid inf based
installation like the plague, and am completely unwilling except under
threat of direct force to get anywhere near DTM, but I believe “Cannot
Start - Code 10” is a very common error message that may occur during
installation. All sorts of things can cause this, or that is way it
seems to me, at least, but it has nothing specific to do with DTM. If
you wish to figure out why it is happening, take a look in the
%SystemRoot%\setupapi.log (on XP; Longhorn renamed it, I think).
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@n-trig.com
Sent: Tuesday, July 31, 2007 14:18
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] DTM on UMDF driver questions
Thanks!
I have managed to create a submission without the inf problem,
but now I encounter 2 other issues:
- After the second restart, the device “Cannot Start - Code 10”, and
the tests fail.
To resolve this, i’ve uninstalled it and installed it again before the
tests run.
This time most of the tests passed, besides the last one - Rebalance
PNPD.
And this is the second issue:
- This one got the error “Timeout occured - atleast one of the IRPs
didn’t complete on time”.
About issue number one - does it has anything to do with the new DTM or
premium submission? Because my driver passed basic submission with the
old DTM.
And is there a way to avoid the workaround?
About the second issue: what could be causing it? How can it be
resolved?
Thanks,
Gadi
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