This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 14 May 2012 21:36:12 +0100
- Subject: [Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM.
- Auto-submitted: auto-generated
- References: <bug-1001344-104@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001344
--- Comment #16 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-05-14 21:36:05 BST ---
(In reply to comment #15)
> (In reply to comment #14)
> > Here I am again after long time. It seem that buffers were too short
> > 8KiB and messages can be up to 10KiB. Now I fixed this and it is
> > stable. Unfortunately I can't test on synthetic target since newer
> > Linux kernel (3) doesn't seem to support ethertap (any suggestion?).
> > Sergei do u have some time to test on synthetic target pse?
> >
> > Note: The same bug with MAX_BUF seem to be present in BSD test too.
> > I'm going to open a bug for that.
[snip]
> I will test your newest patch on synthetic target for 2.6.32 kernel
Ilija, I have tested nc_test_{master,slave} for synthetic target and NET
template (all NC tests passed as I could expect). The eCos settings were
cdl_configuration eCos {
template net ;
};
cdl_option CYGPKG_NET_BUILD_HW_TESTS {
user_value 1
};
Hm, not patched lwip' NC test (slave) on synthetic target stalled when
background load is 30% (for BSD stack all loads passed on eCos synthetic
target)
Set background load = 30%
Request 18 from 192.168.1.1:7776
UDP echo - 2048 buffers, 1024 bytes
Packets out of sequence - recvd: 1, expected: 0
And patched one for 20% load (no 'Segmentation fault' anymore)
Set background load = 20%
Request 18 from 192.168.1.1:7776
UDP echo - 2048 buffers, 1024 bytes
Packets out of sequence - recvd: 1, expected: 0
So, it seems to me it is another issue with test itself. It would be
good to know, All the lwIP NC tests/loads passed on your real hardware?
For reference, I used the next eCos configs to build both lwIP' tests
cdl_configuration eCos {
template lwip_eth ;
};
cdl_option CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 {
user_value 1
};
cdl_option CYGFUN_LWIP_MODE_SIMPLE {
user_value 0
};
cdl_option CYGFUN_LWIP_MODE_SEQUENTIAL {
user_value 1
};
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.