CoNDIS 6.0 - send and receive hang

Discussion in 'Windows Vista Drivers' started by vistawarrior, Aug 17, 2007.

  1. vistawarrior

    vistawarrior Guest

    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
     
    vistawarrior, Aug 17, 2007
    #1
    1. Advertisements

  2. 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
     
    Eliyas Yakub [MSFT], Aug 17, 2007
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.