Tech Support > Microsoft Windows > Drivers > CoNDIS 6.0 - send and receive hang
CoNDIS 6.0 - send and receive hang
Posted by vistawarrior on August 17th, 2007


Hello,

We are porting a Windows XP CoNDIS miniport (MCM) driver from NDIS 5.x to
NDIS 6.0 and are getting a driver hang in the send and receive code.

We are porting using guidelines from the following MSDN URL:
http://msdn2.microsoft.com/en-us/library/aa503536.aspx

Are there any NDIS 6.0 driver samples available for send and receive
operations? Any other resources or debugging tips from the experts, which can
help us with debugging this driver hang?

We suspect this hangs because an IO request is not getting completed, but we
are unclear on the usage of the following new NDIS 6.0 APIs:
NdisMCoSendNetBufferListsComplete
NdisMCoIndicateReceiveNetBufferLists

How do we find out which code causes the hang?

Thanks in advance,
VISTAwarrior

Posted by Eliyas Yakub [MSFT] on August 17th, 2007


What do you mean by hang? Is the thread that called this function hangs or
the whole system freezes? Why not turn on NDIS tracing with checked build
NDIS and find out what's going on? Search MSDN on how to turn on NDIS debug
tracing.

Break into the debugger and show us the stack trace of threads that are
stuck.

kd> !stacks 2 ndis!

will give you list of all threads that has ndis functions in its call stack.

-Eliyas



Similar Posts