NDIS Mux IM Driver : 1c_Reset Test fail

Discussion in 'Windows Vista Drivers' started by Amit Dhaduk, Aug 29, 2003.

  1. Amit Dhaduk

    Amit Dhaduk Guest

    Hello,

    I am developing a NDIS Mux Intermediate Driver
    fdor winXp and win 2003 server. I implement this driver on
    the base of Mux sample code from 2003 DDk. I want to Pass
    1c_Reset test from Microsoft WHQL Test and for that want
    to implement new MpRest Routine in my driver. I had
    implement this one and sending some log of execution of my
    driver during reset test. But after Over MpRest routine
    the test wait for get status and it will fail. I did not
    implement any thing in send/receive routine. I call
    NdisReset in MpReset routine and AddressingReset=TRUE
    value. In ptResetcomplete if NDIS_STATUS_PENDING than call
    NdisMResetComplete. Not do anything in PtStatus for handle
    this NDIS_STATUS_RESET event. After some test it will rest
    result fail.



    So can you tell me what I have to do for pass my
    1c_reset test ?

    Can you tell me what exactly happen in this test
    for my greater understanding.



    Log of my 1c_Reset Test : Fail


    NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    MUX-IM: =====================> MpReset ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset start ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset end ....
    MUX-IM: <=====================Ptstatus reset end
    indicate ....
    MUX-IM: =========> PtResetComplete
    MUX-IM: ============ PtResetComplete : status not pending
    MUX-IM: <=============== PtResetComplete
    MUX-IM: ================ MpReset: Status Pending ....
    MUX-IM: <===================== MpReset ....
    MUX-IM: => MPSetPacketFilter VELAN FF92D2F0, Filter
    B,ADAPTER FF92D7E0
    MUX-IM: SetPacketFilter VELAN FF92D2F0, ADAPTERfILTER B
    MUX-IM:
    MPSetPacketFilter::packetFilter==MUX_ADAPTER_PACKET_FILTER
    MUX-IM: <= MPSetPacketFilter VELAN FF92D2F0, adpt Filter
    2B Velan Filter B
    MUX-IM: MPSetInformation: PacketFilter=B
    NdisTest: NdtDispatch: request PENDING in handler.
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_END [0x40010005]
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_END [0x40010005]
    NdisTest:
    NdtDispatch: IRP_MJ_DEVICE_CONTROL.
    NdisTest: Command = ulRESET.
    OpenHandle = FF720D98
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    MUX-IM: =====================> MpReset ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset start ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset end ....
    MUX-IM: <=====================Ptstatus reset end
    indicate ....
    MUX-IM: =========> PtResetComplete
    MUX-IM: ============ PtResetComplete : status not pending
    MUX-IM: <=============== PtResetComplete
    MUX-IM: ================ MpReset: Status Pending ....
    MUX-IM: <===================== MpReset ....
    MUX-IM: => MPSetPacketFilter VELAN FF92D2F0, Filter
    B,ADAPTER FF92D7E0
    MUX-IM: SetPacketFilter VELAN FF92D2F0, ADAPTERfILTER B
    MUX-IM:
    MPSetPacketFilter::packetFilter==MUX_ADAPTER_PACKET_FILTER
    MUX-IM: <= MPSetPacketFilter VELAN FF92D2F0, adpt Filter
    2B Velan Filter B
    MUX-IM: MPSetInformation: PacketFilter=B
    NdisTest: NdtDispatch: request PENDING in handler.
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_END [0x40010005]
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_END [0x40010005]
    NdisTest:
    NdtDispatch: IRP_MJ_DEVICE_CONTROL.
    NdisTest: Command = ulRESET.
    OpenHandle = FF720D98
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    NdisTest: NdisTestProtocolStatus: Status = NdisTest:
    NDIS_STATUS_RESET_START [0x40010004]
    MUX-IM: =====================> MpReset ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset start ....
    MUX-IM: -------> PtStatus: Adapt FF92D7E0, VElan
    FF92D2F0, KIRQL 2
    MUX-IM: <=====================Ptstatus reset end ....
    MUX-IM: <=====================Ptstatus reset end
    indicate ....
    MUX-IM: =========> PtResetComplete
    MUX-IM: ============ PtResetComplete : status not pending
    MUX-IM: <=============== PtResetComplete
    MUX-IM: ================ MpReset: Status Pending ....
    MUX-IM: <===================== MpReset ....
    MUX-IM: => MPSetPacketFilter VELAN FF92D2F0, Filter
    B,ADAPTER FF92D7E0
    MUX-IM: SetPacketFilter VELAN FF92D2F0, ADAPTERfILTER B
    MUX-IM:
    MPSetPacketFilter::packetFilter==MUX_ADAPTER_PACKET_FILTER
    MUX-IM: <= MPSetPacketFilter VELAN FF92D2F0, adpt Filter
    2B Velan Filter B
    MUX-IM: MPSetInformation: PacketFilter=B
    NdisTest: NdtDispatch: request PENDING in handler.
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    MUX-IM: PtCompleteForwardedReq: pVElan FF92D2F0, OID
    fd010103, Status c0000001
    [429207]NdtCore: NDTCore: lNdtLibDeviceIO() :
    NDT_STATUS_TIMEDOUT, NOT freeing OVERLAPPED
    LOG: FAILED: [0] Reset failed: NdisStatus = 1073872893
    [429247]NdtCore: NDTCore: DoReset() : NDT_STATUS_TIMEDOUT,
    NOT freeing RECEIVE_BUFFER

    LOG: FAILED: [20958] Unable to query media connect status
    NdisTest:
    NdtDispatch: IRP_MJ_DEVICE_CONTROL.
    NdisTest: Command = ulRESET.
    OpenHandle = FF720D98
    NdisTest: NdtReset: reset handle not null on entry!
    pNdtReqHandle = 811D6C48
    NdisTest: NdtDispatch: request COMPLETED by handler.
    LOG: FAILED: [0] Reset failed: NdisStatus = -1073741823
    LOG: FAILED: [20958] Unable to query media connect status


    thankyou
     
    Amit Dhaduk, Aug 29, 2003
    #1
    1. Advertisements

  2. Amit Dhaduk

    Stephan Wolf Guest

    Hmm, not sure if it's a good idea to call NdisReset(). See how the
    netvmini sample in the 2003 DDK implements MiniportReset().

    Stephan
     
    Stephan Wolf, Aug 29, 2003
    #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.