lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Porting/memory/connect issues


From: Sathya Thammanur
Subject: Re: [lwip-users] Porting/memory/connect issues
Date: Wed, 21 Jun 2006 09:49:51 -0700

Hello,
Can you change your lwip setting for the parameter memp_num_sys_timeout to be set to 3? This was an issue that got fixed in the latest release of Xilinx EDK.

Sathya



On 6/21/06, Hampus Thorell <address@hidden> wrote:
Hello!

I am trying to port LwIP to a Xilinx v2p system with an external mac and
no external memory. I have basically used the echoserver on Xilinx homepage.

I have managed to get the server up and running and I can ping it.
However I can't seem to get an echo client to connect to it. When using
the LwIP debug switch I get the following errors during startup:
"sys_sem_new: Error --  Out of semaphore resources" - This error message
repeats itself three times

Then I get the following error message:

"memp_malloc: out of memory in pool 10"

This message also appears when trying to connect with the echo-client.
It then looks like this:

******************************************************************************
tcpip_thread: IP packet
ip_input: iphdr->dest 0x96E320F1 netif->ip_addr 0x96E320F1 (0x96E30000,
0x96E30000, 0x20F1)
ip_input: packet accepted on interface e0
ip_input:
IP header:
+-------------------------------+
| 4 | 5 |  0x00 |          | (v, hl, tos, len)
+-------------------------------+
|          ||       | (id, flags, offset)
+-------------------------------+
|    |    |    0x0080     | (ttl, proto, chksum)
+-------------------------------+
|  150  |  227  |   32  |  187  | (src)
+-------------------------------+
|  150  |  227  |   32  |  241  | (dest)
+-------------------------------+
ip_input: p->len 48 p->tot_len 48
TCP header:
+-------------------------------+
|          |          | (src port, dest port)
+-------------------------------+
|                     | (seq no)
+-------------------------------+
|                     | (ack no)
+-------------------------------+
|  |   ||          | (hdrlen, flags (SYNpbuf_alloc(length=) ), win)
+-------------------------------+
|    0xFC3F     |          | (chksum, urgp)
+-------------------------------
pbuf_alloc: allocated pbuf
pbuf_alloc(length=) ==
pbuf_header: old  new  (-106608)
+
pbuf_header: old  new  (-111250)
pbuf_header: old  new  (-111230)
tcp_input: packed for LISTENing connection.
TCP connection request  -> .
memp_malloc: out of memory in pool 10

******************************************************************************

Does anyone know if this is the reason I can't connect with the client
and possibly how it can be solved?

Best regards,

Hampus



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]