When i run " NDISTest 6.5 ShortPackets " Test for windows hardware certification process ,my test failed . I took log file … but i got some error like this :
Shortpacket.htm log file ::
*************************************************************************
Send/Receive 40 packets from my Virtual Network Driver to myVirtual Network Driver, with packetsize 45.
CommunicationHelper::StartReceive
- Name: SuppDeviceSimpleCommHelper
- Type: SimpleCommunicationHelper
- Traffic Manager Type: NDT_SIMPLE_TRAFFIC_MGR
- Receive Process Mech: NDT_PROCESS_RECEIVE_AT_PASSIVE
- Configured NetBufferModuleStack:
- [1] NDT_SIMPLE_NDISTEST_PAYLOAD_MODULE
- [2] NDT_NDISTEST_HEADER_MODULE
- [3] NDT_LLC_SNAP_HEADER_MODULE
- [4] NDT_ETHERNET_MEDIA_HEADER_MODULE
- STATUS: NDIS_STATUS_SUCCESS
CommunicationHelper::StartSend
- Name: TestDeviceSimpleCommHelper
- Type: SimpleCommunicationHelper
- Traffic Manager Type: NDT_SIMPLE_TRAFFIC_MGR
- Send Mechanism: NDT_SEND_AT_PASSIVE
- Send Complete Mech: NDT_VERIFY_SEND_COMPLETE_AT_PASSIVE
- NDIS Send Flags: 0
- Send Latency (ms): 0
- Preallocated NBL Count: 2
- Configured NetBufferModuleStack:
- [0] NDT_SIMPLE_NB_ALLOCATOR_MODULE
- [1] NDT_SIMPLE_NDISTEST_PAYLOAD_MODULE
- [2] NDT_NDISTEST_HEADER_MODULE
- [3] NDT_LLC_SNAP_HEADER_MODULE
- [4] NDT_ETHERNET_MEDIA_HEADER_MODULE
- STATUS: NDIS_STATUS_SUCCESS
EndPoint::WaitForSendsToComplete
- Name: TestDeviceSimpleCommHelper_EndPoint
- Timeout (ms): 300000
EndPoint::StopReceive - Name: SuppDeviceSimpleCommHelper_EndPoint
- Timeout (ms): 5000
EndPoint::GetSendResults - Name: TestDeviceSimpleCommHelper_EndPoint
EndPoint::GetReceiveResults - Name: SuppDeviceSimpleCommHelper_EndPoint
EndPoint::GetReceiveResults - Name: SuppDeviceSimpleCommHelper_EndPoint
Packets sent: 40 (20 NBLs * 2 NBs/NBL)
Send Statistics
TotalNBLsSent 20
TotalCallsToSend 10
TotalNBLsSendCompleted 20
TotalNBLSendsSuccessful 20
Packets Received: 20
50013 Received less than the expected percentage of packets sent.
We expected 32 packets (80 percent of 40 packets sent).
NDISTest Payload Receive Statistics
TotalNetBuffersAccepted 20
TotalNetBuffersCorrupted 0
TotalBadlyPaddedPacketsReceived 20
50014 The miniport did not correctly pad all short packets. 20 incorrect packets.
This failure is hit for one of two reasons:
- The short packets being sent aren’t padded up to 60 bytes
- The padding used isn’t a repeating pattern of the same character
Check the NDISTest server (server.htm) log file to see if NDISTest protocol breakpoints were hit to determine the root cause.
NDISTest Header Receive Statistics
TotalNetBuffersReceived 20
TotalNetBuffersAccepted 20
TotalNetBuffersCorrupted 0
OutOfOrderNetBuffersReceived 0
DroppedNetBufferBursts 0
DuplicateNetBuffersReceived 0
Traffic Manager Receive Statistics :
TotalReceiveIndications 20
TotalReceiveIndicationsWithResources 20
TotalRecognizedRecvNBLs 20
TotalRecognizedRecvNBLsWithResources 20
EndPoint::CloseCommunicationChannel
- Name: TestDeviceSimpleCommHelper_EndPoint
EndPoint::CloseCommunicationChannel - Name: SuppDeviceSimpleCommHelper_EndPoint
*******************************************************************
and server.htm log :
88888 540 total breakpoints were hit in the protocol driver while this test was executing .
NDISTest Protocol driver breakpoints are usually hit when a serious error is detected. Please investigate and fix the issue causing the break to solve this failure.
There were 1 unique breakpoints hit:
NDISTest Source File Line HIT COUNT message
ndistestpacket.cpp 451 540
Badly padded packet in the NetBuffer received. Ethernet Packet size is less than the minimum size allowed.
Corrupt MDL = 88F24DE0 , Net Buffer List = 890C6018
Expected Size of packet = 60, Actual Size of packet received = 45