Problem talking to the new 1394ohci.sys driver in Windows 7

Hi!

We have problem talking to the new 1394ohci.sys driver in Windows 7
(32-bit and 64-bit).
In our AddDevice function we call 1394ohci driver via IoCallDriver()
with IRB function set to REQUEST_GET_ADDR_FROM_DEVICE_OBJECT.
We get STATUS_PENDING and get STATUS_TIMEOUT after 20 s on
KeWaitForSingleObject() call.
Our CompletionRoutine is never call, except when we cancel the IRP.
It’s our first call to the MS driver. Other call seems to do the same
thing.
I get no more information running driver verifier on our driver and
using Windows 7 64-bit checked build.

Our driver work well under Windows XP (32-bit and 64-bit), Vista (32-bit
and 64-bit) and with the 1394 legacy driver ship with Windows 7.

I generated 2 *.etl trace file (like Don Miller from Microsoft suggest
in previous discussion
http://www.osronline.com/ShowThread.cfm?link=166737), one in Windows 7
64-bit and the other with the checked build, but I cannot open this file
using traceview.exe ship within the DDK and the 1394ohci.PDB in MS
symstore.

Any clue?

Thank you!


Michel Archambault, ing. M.Sc.A.

>In our AddDevice function we call 1394ohci driver via IoCallDriver()

with IRB function set to REQUEST_GET_ADDR_FROM_DEVICE_OBJECT.

Do this in MN_START_DEVICE instead.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

Thank you!
It works now.