Hi,
We have successfully setup NDK stack on am335x platform. The NDK tests have passed successfully(except the flood ping issue which has been acknowledged). Now we are trying to bring in our application on top of NDK. It's an Industrial protocol Ethernet/IP which requires a robust network. While doing a few tests on the stack, we found that one of these tests trigger the issue we saw with flood ping. Currently waiting for inputs from the NDK team on this(See here : http://e2e.ti.com/support/embedded/bios/f/355/p/238538/856030.aspx#856030 and here http://e2e.ti.com/support/embedded/bios/f/355/p/223029/855984.aspx#855984)
However, in our tests, the NDK randomly shuts down with an error of mmBulkAlloc(). Here is what we see on CCS console.
[CortxA8] Phy: 30, NegMode 01E1, NWAYadvertise 01E1, NWAYREadvertise 45E1
[CortxA8] Negotiated connection: FullDuplex 100 Mbs
[CortxA8] 01985.519 mmBulkAlloc(): could not allocate memory.
[CortxA8] 01985.520 out of memory: handle=0xa, size=2148253152
[CortxA8] Network Removed: If-1:192.168.0.2
[CortxA8]
[CortxA8] 56:48 ( 87%) 16:96 ( 50%) 1:128 ( 4%) 52:256 ( 86%)
[CortxA8] 2:512 ( 33%) 0:1536 0:3072
[CortxA8] (27648/49152 mmAlloc: 170067796/0/170067713, mmBulk: 47/1/38)
[CortxA8]
[CortxA8] 1 blocks alloced in 512 byte page
[CortxA8] (0000)
[CortxA8] 41 blocks alloced in 48 byte page
[CortxA8] (8004C8B4) (296ABC00) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B)
[CortxA8] (000B) (000B) (000B) (000B) (000B) (0003) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000B) (000
[CortxA8] B) (000B) (000B)
[CortxA8] 1 blocks alloced in 96 byte page
[CortxA8] (1008)
[CortxA8] 3 blocks alloced in 256 byte page
[CortxA8] (000A) (000A) (000A)
[CortxA8] 12 blocks alloced in 256 byte page
[CortxA8] (0000) (000A) (8004F7C4) (000A) (8004F9C4) (000A) (8004FBC4) (000A) (8004FDC4) (000A) (8004FFC4) (000A)
[CortxA8] 12 blocks alloced in 256 byte page
[CortxA8] (800501C4) (000A) (800503C4) (000A) (800505C4) (000A) (800507C4) (000A) (800509C4) (000A) (80050BC4) (000A)
[CortxA8] 12 blocks alloced in 256 byte page
[CortxA8] (80050DC4) (000A) (80050FC4) (000A) (800511C4) (000A) (800513C4) (000A) (800515C4) (000A) (800517C4) (000A)
[CortxA8] 1 blocks alloced in 256 byte page
[CortxA8] (800519C4)
[CortxA8]
[CortxA8] 01985.548 mmAlloc: PIT Used Sync
[CortxA8] 01985.549 fdOpenSession: OOM
[CortxA8] 01985.550 mmAlloc: PIT Used Sync
[CortxA8] 01985.551 fdOpenSession: OOM
This happens often, but I'm afraid I'm not sure on what scenario it does. Can you provide some inputs on how to go about this issue? Or what debug information I can get from these logs?
Thanks,
Vinesh