![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
NdisMAllocateNetBufferSGList keeps failing.
Hi,
When I do large ftp xfers, I receive a huge request from NDIS (which it received from app). NdisMallocateNetBufferSGList consistently fails and the ftp connection ends up getting aborted. Questions: 1. How do I analyze the failures from NdisMallocateNetBufferSGList ().. The error return is NDIS_STATUS_RESOURCES. This does not change irrespective of whether I provide buffer to store the SGLIST or not.. 2. How do I find whether there are any real memory issues? 3. What reasons can the above call fail? Is it lack of kernel memory? Is it due to lack of non-paged pool memory? Thanks for your answers. -Praveen |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: NdisMAllocateNetBufferSGList keeps failing.
How big is the data and how many fragments is it?
How many outstanding xmits do you have at the point of failure? Is this 32 bit or 64 bit Vista? How much memory the system has? When you called NdisMRegisterScatterGatherDma, what did you set DmaDescription->MaximumPhysicalMapping to? Can your hardware do 64 bit DMA? If yes, did you set NDIS_SG_DMA_64_BIT_ADDRESS flag on DmaDescription->Flags? Are you sure the NET_BUFFER is formed properly (the MDL chain, the data length and data offset are not bogus)? -thanks, ali -- This posting is provided "AS IS" with no warranties, and confers no rights. "Praveen Kumar A" <apraveen.kumar@gmail.com> wrote in message news:ufbnpjaQHHA.1016@TK2MSFTNGP04.phx.gbl... > Hi, > > When I do large ftp xfers, I receive a huge request from NDIS (which it > received from app). > > NdisMallocateNetBufferSGList consistently fails and the ftp connection > ends up getting aborted. > > Questions: > > 1. How do I analyze the failures from NdisMallocateNetBufferSGList ().. > The error return is NDIS_STATUS_RESOURCES. > This does not change irrespective of whether I provide buffer to store > the SGLIST or not.. > > 2. How do I find whether there are any real memory issues? > > 3. What reasons can the above call fail? Is it lack of kernel memory? Is > it due to lack of non-paged pool memory? > > > Thanks for your answers. > -Praveen > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |