I do not think you have KMDF v1.7 on your machine. Here is what my vista sp1 machine says
C:\Windows\System32\drivers>filever Wdf01000.sys
–a-- W32i DRV ENU 1.7.6001.0 shp 503,864 01-18-2008 wdf01000.sys
C:\Windows\System32\drivers>c:\debuggers\symchk.exe /v Wdf01000.sys
[SYMCHK] Searching for symbols to C:\Windows\System32\drivers\Wdf01000.sys in path SRV*C:\Windows\SYMBOLS*http://msdl.microsoft.com/download/symbols
DBGHELP: Symbol Search Path: SRV*C:\Windows\SYMBOLS*http://msdl.microsoft.com/download/symbols
DBGHELP: No header for C:\Windows\System32\drivers\Wdf01000.sys. Searching forimage on disk
DBGHELP: C:\Windows\System32\drivers\Wdf01000.sys - OK
DBGHELP: Wdf01000 - public symbols
C:\Windows\SYMBOLS\Wdf01000.pdb\0E5C347DFB5A4B1DB1606D336048C5D11\Wdf01000.pdb
[SYMCHK] MODULE64 Info ----------------------
[SYMCHK] Struct size: 1672 bytes
[SYMCHK] Base: 0x00010000
[SYMCHK] Image size: 507904 bytes
[SYMCHK] Date: 0x47919015
[SYMCHK] Checksum: 0x000831d4
[SYMCHK] NumSyms: 0
[SYMCHK] SymType: SymPDB
[SYMCHK] ModName: Wdf01000
[SYMCHK] ImageName: C:\Windows\System32\drivers\Wdf01000.sys
[SYMCHK] LoadedImage: C:\Windows\System32\drivers\Wdf01000.sys
[SYMCHK] PDB: “C:\Windows\SYMBOLS\Wdf01000.pdb\0E5C347DFB5A4B1DB1606D336048C5D11\Wdf01000.pdb”
[SYMCHK] CV: RSDS
[SYMCHK] CV DWORD: 0x53445352
[SYMCHK] CV Data: Wdf01000.pdb
[SYMCHK] PDB Sig: 0
[SYMCHK] PDB7 Sig: {0E5C347D-FB5A-4B1D-B160-6D336048C5D1}
[SYMCHK] Age: 1
[SYMCHK] PDB Matched: TRUE
[SYMCHK] DBG Matched: TRUE
[SYMCHK] Line nubmers: FALSE
[SYMCHK] Global syms: FALSE
[SYMCHK] Type Info: TRUE
[SYMCHK] ------------------------------------
SymbolCheckVersion 0x00000001
Result 0x00130001
DbgFilename
DbgTimeDateStamp 0x47919015
DbgSizeOfImage 0x0007c000
DbgChecksum 0x000831d4
PdbFilename C:\Windows\SYMBOLS\Wdf01000.pdb\0E5C347DFB5A4B1DB1606D336048C5D11\Wdf01000.pdb
PdbSignature 0x00000000
PdbDbiAge 0x00000001
[SYMCHK] [0x00000000 - 0x00130001] Checked “C:\Windows\System32\drivers\Wdf01000.sys”
Note that my PDB marker is 0E5C347DFB5A4B1DB1606D336048C5D11 while yours is E9B826BC2A964585B4A2CCD799EEB1711
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Stra Ficchio
Sent: Monday, July 14, 2008 2:43 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] IRP Cancelation of a Queued Request: what should I expect?
regarding the symbols, I have the sympath correctly set on the symbol
server and other symbols load fine.
I’m using WDK 6001.18001 and here is the outcome of the commands you
suggested:
0: kd> !lmi wdf01000
Loaded Module Info: [wdf01000]
Module: wdf01000
Base Address: f5080000
Image Name: wdf01000.sys
Machine Type: 332 (I386)
Time Stamp: 46eb7936 Sat Sep 15 08:18:30 2007
Size: 7c000
CheckSum: 869f3
Characteristics: 102
Debug Data Dirs: Type Size VA Pointer
CODEVIEW 25, 6db50, 6c950 RSDS - GUID:
{E9B826BC-2A96-4585-B4A2-CCD799EEB171}
Age: 1, Pdb: Wdf01000.pdb
Symbol Type: DEFERRED - No error - symbol load deferred
Load Report: no symbols loaded
and then, when I attempt to load my kmdf driver (with !sym noisy)
[…]
SYMSRV: C:\Program Files\Debugging Tools for
Windows\sym\Wdf01000.pdb\E9B826BC2A964585B4A2CCD799EEB1711\Wdf01000.pdb
not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/Wdf01000.pdb/E9B826BC2A964585B4A2CCD799EEB1711/Wdf01000.pdb
not found
DBGHELP: Wdf01000.pdb - file not found
*** ERROR: Module load completed but symbols could not be loaded for
wdf01000.sys
[…]
Actually, from what I can see, the time stamp of wdf01000 is sep 15,
2007 which may be in fact old. I deleted the driver from the drivers32
directory and made sure I’m installing using the latest coinstaller.
Does it make any sense?
Thanks,
Stra
Doron Holan wrote:
This should work, otherwise the sample is fundamentally broken ;).
Unfortunately EvtReleaseHardware would be called only after hidclass has
canceled the ping pongs. One thing you could do is set a wdm preprocess
for internal IOCTL which set a completion routine, copied to the next
stack location and then dispatched it back to the framework. This way
you can see when the queue is completing the request when canceled.
Perhaps there is a weird interaction with the NTSTATUS value being
returned or something like that.
As for the symbols, we checked last week and they are on the public
symbol server. Are you sure that
“srv*http://msdl.microsoft.com/download/symbols” is a part of you sym
path? What is the output of !lmi wdf01000? Perhaps you have a
prerelease version on your machine. Also, try !sym noisy and then
reloading wdf01000 symbols to see what is happening.
d
*From:* xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] *On Behalf Of *Mark Roddy
*Sent:* Monday, July 14, 2008 6:29 AM
*To:* Windows System Software Devs Interest List
*Subject:* Re: [ntdev] IRP Cancelation of a Queued Request: what should
I expect?
Perhaps one of the msft kmdf people will respond. The fact that you
tried setting an /EvtIoCanceledOnQueue /notification callback and that
did not get called is odd.
One thought I had would be to add an EvtReleaseHardware handler, which
should be invoked on the dispatch remove processing, and purge your
queue yourself.
Also - does remove processing work outside of shutdown? (disable device
from dev manager or simulate surprise removal).
On Sun, Jul 13, 2008 at 5:25 PM, > mailto:xxxxx> wrote:
>
> Hi Mark,
>
> yes I’m actually using the same model as the hidusbfx2 sample. The only
> difference (which should actually make things simpler) is that my driver
> doesn’t deal with any physical device and it’s root-enumerated.
> At some point I thought that this problem had something to do with pnp
> management but I pretty much tried everything possible but nothing
> really worked.
> Anyway I’ll dig a little more… one way or the other I’m sure I’ll make
> it work ![:slight_smile: :slight_smile:](/images/emoji/twitter/slight_smile.png?v=12)
>
> As for the symbols, the symbol server seems to work for everything else
> but wdf01000. One thing I really don’t understand is that at some point,
> apparently (from very old posts), some symbols were available for
> download with some distribution of WDF. From what I can see from
> “microsoft connect” there’s only the latest version available and no
> symbols come with it which I think as a non sense in itself since the
> same person who is going to need the WDK will be likely going to need
> the symbols…
> May be they are available from MSDN… I don’t know.
>
> Thank you guys for your reply,
> Stra.
>
>
> —
> 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
>
>
>
>
> –
> Mark Roddy — 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</mailto:xxxxx>