xxxxx@gmail.com wrote:
Just now I work on a driver of PLX9054 by DriverStudio3.2. When I begin the DMA part, I encounter a big problem , though All my code consult to the help of DriverStudio3.2.
The prolbem is when the DMA interupt occurs , the DPC runs, in it , the impletion of this sentence "m_CurrentTransfer->Continue(UseTransferSize) " would bring a reset of my PC.
I used two type of method to exchange data between the APP and the driver. First is the IRP’s MDL , the second is a common buffer. But both the same .
…The winDbg told the problem is accessed nonpageable memory in a wrong IRQL , I don’t why ,because the sentence lead to the problem is recommendated by the DS3.2.
You need to read the whole message. It is EITHER accessing pageable
memory at a wrong IRQL, OR it is accessing a completely invalid
address. It’s hard to tell exactly which one is the case here because
it’s only a minidump. You need to hook winbg up to this machine and
catch it live so you can see which it is.
This is one reason why people dislike DriverStudio; you have to debug
the tool as well as debugging your own code.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.